37 Commits (7e7b0f77153973694306ca8b8639e8fdac751d1b)

Author SHA1 Message Date
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
Colin McMillen 096f577e61 change namespace to SemiColinGames 4 years ago
Colin McMillen 569a330e89 move Jumpy.Shared -> Shared directory 4 years ago
Colin McMillen 37e3a8baba add keyboard controls for Player & toggling debug info 4 years ago
Colin McMillen 7ed88960a5 gate toasts behind Debug.Enabled, rearrange their position & color 4 years ago
Colin McMillen 010424f43f anchor the background images at the top 4 years ago
Colin McMillen 22db0ee696 basic scrolling world! 4 years ago
Colin McMillen 67e952d64f only draw FPS when debug enabled 4 years ago
Colin McMillen 1c7e058cb9 rm spurious printout 4 years ago
Colin McMillen 6c5c7d4992 add Debug class for displaying rects on-screen 4 years ago
Colin McMillen 9c8f8b70df enumerate and show collision targets 4 years ago
Colin McMillen fb2d0e8a6d add World class & refactor other things appropriately 4 years ago
Colin McMillen 3af02981c4 add rock-y ground tiles 4 years ago
Colin McMillen 9ed2021039 add background layers 4 years ago