68 Commits (main)

Author SHA1 Message Date
Colin McMillen 899b17d955 comment out MonoGame platform printing 3 years ago
Colin McMillen fb0fee59ad back to SneakScene as default 3 years ago
Colin McMillen 1fd19f14dc add Spider* files to project and SneakGame 3 years ago
Colin McMillen 7f7da206c9 add whitespace line 3 years ago
Colin McMillen db01dcea28 generate Shots on user input & reap them once offscreen 3 years ago
Colin McMillen 7695f45cc0 clamp player movement to world 3 years ago
Colin McMillen fd4bf85d1c add basic shmup game 3 years ago
Colin McMillen 39ac88b60a switch back to Sneak as the default game 3 years ago
Colin McMillen df436f8c32 TreeScene: draw a triangle 4 years ago
Colin McMillen 987c86fae9 mv World & Scene to SneakWorld & SneakScene. 4 years ago
Colin McMillen 56bc1abe06 Add TreeScene & TreeWorld. 4 years ago
Colin McMillen 9b25a8a6e0 Add new IScene interface. 4 years ago
Colin McMillen 811df57950 Make new IWorld interface. 4 years ago
Colin McMillen c08defc656 Keep Update() from advancing by very large chunks; use more double math 4 years ago
Colin McMillen 37c679b704 move Camera into World 4 years ago
Colin McMillen 66ce866b12 move LinesOfSight into World 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 9672fabcfd Add Sprite class & load sprite metadata from JSON. 4 years ago
Colin McMillen d270efe643 move Player into World 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 de8ca4a374 Add sword-swing sound effects. 4 years ago
Colin McMillen f4581ecaf8 Player now takes damage from spikes. 4 years ago
Colin McMillen f8fa66385d Display "Paused" message when paused. 4 years ago
Colin McMillen 026623ac82 Fix memory leaks of graphics resources. 4 years ago
Colin McMillen b858c45b7e Cycle through levels when player hits the "restart level" button. 4 years ago
Colin McMillen 57d15cbbd9 Load all textures & fonts in one place. 4 years ago
Colin McMillen 02aba3ad84 Game objects now take in a ContentManager & load their own textures. 4 years ago
Colin McMillen f0ea8d8ef2 Reorganize Content/ into multiple subdirectories. 4 years ago
Colin McMillen 7e7b0f7715 Move most of the drawing code into a Scene class 4 years ago
Colin McMillen 43f6bded70 draw backgrounds as partially transparent 4 years ago
Colin McMillen e2ea2e1d3f Add ability to restart the level. Fixes #9. 4 years ago
Colin McMillen 1ffe1444b2 Debug: draw rects as 4 GPU-accelerated lines. 4 years ago
Colin McMillen 48a9297a57 draw Debug stuff on top of everything (after lighting) 4 years ago
Colin McMillen 5d21ff2a0f Debug.DrawLines: use GPU to draw lines. 4 years ago
Colin McMillen 4d64d6fa12 Initialize and dispose of whiteTexture in SneakGame. 4 years ago
Colin McMillen f01efcde01 Split LinesOfSight into separate Draw() and Update() functions. 4 years ago
Colin McMillen 93a5d477bb New FOV algorithm that works pretty well. 4 years ago
Colin McMillen ff0c9ddc26 Add a transformation matrix to spriteBatch.Draw(). 4 years ago
Colin McMillen 80746ecaed Use world definition from Levels file 4 years ago
Colin McMillen 9e4d863bcf add performance counters to SneakGame. Fixes #33. 4 years ago
Colin McMillen 0e363de306 change player sprite to ninja 4 years ago
Colin McMillen 76dbdc6913 Bound camera by right edge of World. 4 years ago
Colin McMillen 50479bac3c while paused, don't clear the list of Debug rects & lines 4 years ago
Colin McMillen 793b292a29 pass in AABBs instead of Rectangles to Player.Update 4 years ago
Colin McMillen 61b50efa40 make CollisionTargets an array, and don't recompute it every frame 4 years ago
Colin McMillen 8c6b0e3c92 set vsync = true; setting it false seems to cause crashes on UWP 4 years ago
Colin McMillen 84fa044675 more readability fixed via Visual Studio suggestions 4 years ago