50 Commits (b2583677bf547f0a1b4b9c20e6ed663aba184a32)

Author SHA1 Message Date
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
Colin McMillen 4b14aef1b5 make a bunch of fields readonly 4 years ago
Colin McMillen 0c7c15c047 set target framerate back to 60 4 years ago
Colin McMillen f5ca85264f Add Clock class & use it from Player and SneakGame 4 years ago
Colin McMillen 1ea4d6c39b don't vsync; set target FPS to 120-ish 4 years ago
Colin McMillen 87100eaa67 Player.Update now takes a float which is the model time elapsed. 4 years ago
Colin McMillen 83839c92ac add Pause functionality 4 years ago
Colin McMillen 63aa190afe move Debug.Enabled check into DrawToasts 4 years ago
Colin McMillen 34e7ab3ee1 make Toasts a list & implement FPS counter as a toast 4 years ago
Colin McMillen bee17a99af create Debug.AddLine() function [currently does nothing] 4 years ago
Colin McMillen 938a38bd77 Camera.Update: remove unused time parameter 4 years ago
Colin McMillen ae8fa0d21d Revert "Add .gitignore and .gitattributes." 4 years ago
Colin McMillen cb1b78b875 Add .gitignore and .gitattributes. 4 years ago
Colin McMillen bbdc3c3053 SneakGame: remove History<GamePadState> & History<KeyboardState>. 4 years ago
Colin McMillen db6f3e1425 Add Input class to group gamepad & keyboard inputs together. 4 years ago
Colin McMillen cc37561076 run dos2unix on all source files 4 years ago
Colin McMillen 660d163119 converted all TODOs into Issues 4 years ago
Colin McMillen f0630d1679 go back to just a single RenderTarget 4 years ago
Colin McMillen d75a469acc Move JumpyGame -> SneakGame & fix references 4 years ago