388 Commits (c82bce200e03a34c16b3f9fcb35051cc75bf377c)
 

Author SHA1 Message Date
Colin McMillen a1bc44296a Add "ProfilingList" to debug printout 4 years ago
Colin McMillen 5ebc61015b ProfilingList: make a DEBUG-only CheckCapacity() function 4 years ago
Colin McMillen a6c297196a Add ProfilingList & use it in Player. 4 years ago
Colin McMillen 70308a5d84 make fields readonly 4 years ago
Colin McMillen 8ca79a1875 degrees aren't radians 4 years ago
Colin McMillen 0bb6f22f3d Geometry cleanups / TODO removal. 4 years ago
Colin McMillen 90ca6c4b58 LinesOfSight: draw outline separately, with a different color 4 years ago
Colin McMillen 2aef0e26f5 Player: stop making a List<AABB> every frame. 4 years ago
Colin McMillen de01b04873 Player: stop creating a new Point[] via Line.Rasterize every frame. 4 years ago
Colin McMillen 67550a789b move History.ToArray() into test code. 4 years ago
Colin McMillen 63a2645814 Timer: suppress printouts when not in DEBUG mode 4 years ago
Colin McMillen 7625339d4c add TODOs for places where "new" is used during per-frame code 4 years ago
Colin McMillen fb3538cea9 Add ability to move by a single pixel in DEBUG builds. 4 years ago
Colin McMillen b10e03857f add more sfx 4 years ago
Colin McMillen 0c7fa95711 new sfx file names 4 years ago
Colin McMillen e4a4754ace fix comment to match new Xbox UI 4 years ago
Colin McMillen 36a7f70fef make NPCs a pixel less thicc 4 years ago
Colin McMillen 9bd33a406a remove unused Crouching & Stretching poses 4 years ago
Colin McMillen 393e9d14b9 Player: track position with a Vector2. 4 years ago
Colin McMillen dfb80c9fde NPC: Position is now a Vector2, not a Point 4 years ago
Colin McMillen e97ff479d0 Sprite: keep track of Width and Height 4 years ago
Colin McMillen b4e644c2d4 calculate spriteCenter more rigorously 4 years ago
Colin McMillen 36a72b938f calculate NPC physics-box correctly 4 years ago
Colin McMillen f7567686b3 Debug.AddLine(): make the 4-ints version the default 4 years ago
Colin McMillen 4c2437e1ac add Debug.AddPoint() 4 years ago
Colin McMillen c08defc656 Keep Update() from advancing by very large chunks; use more double math 4 years ago
Colin McMillen 4346f20024 remove World.TileSize constant 4 years ago
Colin McMillen a4802031d5 World: load size directly from JSON. 4 years ago
Colin McMillen b85661e2c4 add support for 8x8 obstacles 4 years ago
Colin McMillen a93076419d Debug: turn functions into noops if not compiled with DEBUG. 4 years ago
Colin McMillen 3d1de388b8 remove jumpTime / jumpElapsed 4 years ago
Colin McMillen 127693e2af make Camera & NPC fields readonly 4 years ago
Colin McMillen 8f79bb8680 add a little screen-shake 4 years ago
Colin McMillen 37c679b704 move Camera into World 4 years ago
Colin McMillen 536af82beb make NPCs stop at the edge of platforms 4 years ago
Colin McMillen 275e535eac LinesOfSight: draw outlines around the vision cones. 4 years ago
Colin McMillen 06eac128c2 LinesOfSight: make vision cones red 4 years ago
Colin McMillen 437130ab55 Scene: always draw LinesOfSight 4 years ago
Colin McMillen 9504c2236c LinesOfSight: support multiple NPCs 4 years ago
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