349 Commits (master)
 

Author SHA1 Message Date
Colin McMillen 473256d105 make some classes static and some fields readonly 4 years ago
Colin McMillen 8f2fec053d Pull out the "Paused" string into a file. 4 years ago
Colin McMillen 4870964cc5 attach LinesOfSight to the first NPC 4 years ago
Colin McMillen 8720896e87 make top-level classes public 4 years ago
Colin McMillen 66ce866b12 move LinesOfSight into World 4 years ago
Colin McMillen 3fc8b49636 World: move Tile to bottom of file 4 years ago
Colin McMillen bb910fbe58 World: rearrange a bunch of code to be in a more sensible order 4 years ago
Colin McMillen 36e70989af rename "tiles" to "obstacles" 4 years ago
Colin McMillen fa4784fc49 IsHarmful -> IsHazard 4 years ago
Colin McMillen 299ab41ec2 add hazards layer 4 years ago
Colin McMillen 9aa0d05eb2 add the background layer 4 years ago
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