388 Commits (c82bce200e03a34c16b3f9fcb35051cc75bf377c)
 

Author SHA1 Message Date
Colin McMillen 983a02b364 remove old Levels file 4 years ago
Colin McMillen 5121f6d775 World: load levels by parsing a JSON level description. 4 years ago
Colin McMillen 28ef337691 make field readonly 4 years ago
Colin McMillen 0a37453dbd switch to sourcing all tiles from Grassland 4 years ago
Colin McMillen 392495a61e remove unneeded timeInState calc & redundant "string?" annotation 4 years ago
Colin McMillen 0f8d9c2814 FSM / Player / NPCs now get World as an argument to Update() 4 years ago
Colin McMillen 1b124f84df FSM now takes a type parameter so that we can use FSM with other classes. 4 years ago
Colin McMillen 08091106ea Terrain: use optional arguments for IsObstacle / IsHarmful 4 years ago
Colin McMillen b2583677bf Terrain now takes an IsHarmful param in constructor. 4 years ago
Colin McMillen f756780660 NPCs should start in "run" state. 4 years ago
Colin McMillen b574a5a702 change Sprite / Animation times to double (sec) instead of int (ms). 4 years ago
Colin McMillen 53083818c0 Add a TODO and fix a smol cleanup. 4 years ago
Colin McMillen 3c4e63ada0 Add basic FSM & use it from NPC. 4 years ago
Colin McMillen 53c6d8483f include multiple NPCs, have them turn around based on platforms. 4 years ago
Colin McMillen 5b82f4d646 handle PingPong animations 4 years ago
Colin McMillen 0b8eb3e3f1 Player: start using Sprite data to calculate texture source / animations. 4 years ago
Colin McMillen 77f1d73097 remove convert_sprite_json (no longer needed) 4 years ago
Colin McMillen 654bb7fe97 load JSON files directly instead of embedding in XML. 4 years ago
Colin McMillen 4bcb0d9b95 fix SharedTests references to JSON library. 4 years ago
Colin McMillen bc369fcbc4 add convert_sprite_json script 4 years ago
Colin McMillen 9672fabcfd Add Sprite class & load sprite metadata from JSON. 4 years ago
Colin McMillen 4299a009b7 use auto property 4 years ago
Colin McMillen d270efe643 move Player into World 4 years ago
Colin McMillen 602a8297e6 add .gitattributes 4 years ago
Colin McMillen 9633bcca35 lint.py: one more .. to find sneak_root 4 years ago
Colin McMillen f801f95551 move to a root LICENSE.txt 4 years ago
Colin McMillen e5c6811ef9 remove copybara (no longer needed) 4 years ago
Colin McMillen 9e33207850 add .gitignore 4 years ago
Colin McMillen 65fe870a9a let Scene decide when to draw itself & when to play music 4 years ago
Colin McMillen 29cf5eb0c9 add short music loop to demo stage 4 years ago
Colin McMillen 02b1dd4874 Add simple NPC. 4 years ago
Colin McMillen d9e9fcf9a2 remove trailing whitespace 4 years ago
Colin McMillen de8ca4a374 Add sword-swing sound effects. 4 years ago
Colin McMillen f4581ecaf8 Player now takes damage from spikes. 4 years ago
Colin McMillen a431ad094b smush hearts together a smidge 4 years ago
Colin McMillen c189cfcc09 Add player health & a heart sprite. 4 years ago
Colin McMillen c213009134 Add Text.DrawOutlined() function & other text helpers. 4 years ago
Colin McMillen 830fc1ee9a set font to be PointClamped 4 years ago
Colin McMillen c2fa12db9b Stop printing out jumpTime. 4 years ago
Colin McMillen f8fa66385d Display "Paused" message when paused. 4 years ago
Colin McMillen 544b8d2464 lint: print # errors and return 1 if any errors found 4 years ago
Colin McMillen 6b95a66859 lint: require const field names to be in ALL_CAPS 4 years ago
Colin McMillen 5549f15029 rename numEdgeVertices -> NUM_EDGE_VERTICES 4 years ago
Colin McMillen 3a8defcf3f Letterbox the scene if the aspect ratio is out-of-whack. 4 years ago
Colin McMillen 0a64d17db5 fix lint errors 4 years ago
Colin McMillen efccefa5b1 Add lint script. 4 years ago
Colin McMillen 3e8b438b0f change copybara config to use new domain 4 years ago
Colin McMillen bd78586a1d rm newline 4 years ago
Colin McMillen 74b5e1ec2d Debug rects: pull in top & left sides by a 1-pixel margin. 4 years ago
Colin McMillen a0ea63f96b make Input readonly 4 years ago