171 Commits (b2583677bf547f0a1b4b9c20e6ed663aba184a32)

Author SHA1 Message Date
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 654bb7fe97 load JSON files directly instead of embedding in XML. 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 f801f95551 move to a root LICENSE.txt 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 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 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
Colin McMillen 4e4c2cccb3 Input: process debugging commands first & exit early if any are pressed. 4 years ago
Colin McMillen 6802b3f162 Make separate ExtensionMethods file. 4 years ago
Colin McMillen f081a3db4e Apply VS suggestion for refactoring TextureRef.Get 4 years ago
Colin McMillen 26649ce20d Draw debug output within the TV-safe area. 4 years ago
Colin McMillen ed7afd2fa1 TextureRef: make Get a property rather than a function 4 years ago
Colin McMillen e72b8999e4 Make TextureRef class for holding textures. 4 years ago
Colin McMillen 0e164f7b75 mark field readonly 4 years ago
Colin McMillen 0ee671c8b1 fix how the first line of World is parsed 4 years ago
Colin McMillen c4e211e750 more level decorations 4 years ago
Colin McMillen f1b71ca87d Tiles can now be obstacles (in the foreground) or decorations (in the background). 4 years ago
Colin McMillen 08a31231e9 Draw LinesOfSight behind most other things. 4 years ago
Colin McMillen 2fe8e53e77 Call GC.SuppressFinalize() from Dispose(). 4 years ago
Colin McMillen af9a48bc5d small cleanups suggested by VS 4 years ago
Colin McMillen 026623ac82 Fix memory leaks of graphics resources. 4 years ago
Colin McMillen 1eb4d7a7d2 Debug off by default 4 years ago
Colin McMillen 44bd3c6896 Show lines of sight only when Debug enabled 4 years ago
Colin McMillen b858c45b7e Cycle through levels when player hits the "restart level" button. 4 years ago
Colin McMillen 6b9aa0844c Update demo level. 4 years ago
Colin McMillen 0df153581c Add new terrain types to World 4 years ago