|
e0d5385350
|
camera now tracks player y-position too
|
2020-03-24 14:41:07 -04:00 |
|
|
3be37740f7
|
Geometry: add equality operators & GetHashCode for structs
|
2020-03-24 13:57:15 -04:00 |
|
|
a1bc44296a
|
Add "ProfilingList" to debug printout
|
2020-03-20 13:23:47 -04:00 |
|
|
5ebc61015b
|
ProfilingList: make a DEBUG-only CheckCapacity() function
|
2020-03-20 13:22:32 -04:00 |
|
|
a6c297196a
|
Add ProfilingList & use it in Player.
|
2020-03-20 13:12:12 -04:00 |
|
|
70308a5d84
|
make fields readonly
|
2020-03-20 11:00:52 -04:00 |
|
|
8ca79a1875
|
degrees aren't radians
|
2020-03-18 16:26:55 -04:00 |
|
|
0bb6f22f3d
|
Geometry cleanups / TODO removal.
|
2020-03-18 16:18:39 -04:00 |
|
|
90ca6c4b58
|
LinesOfSight: draw outline separately, with a different color
|
2020-03-18 15:56:33 -04:00 |
|
|
2aef0e26f5
|
Player: stop making a List<AABB> every frame.
|
2020-03-18 14:52:28 -04:00 |
|
|
de01b04873
|
Player: stop creating a new Point[] via Line.Rasterize every frame.
|
2020-03-18 14:34:47 -04:00 |
|
|
67550a789b
|
move History.ToArray() into test code.
|
2020-03-18 14:03:37 -04:00 |
|
|
63a2645814
|
Timer: suppress printouts when not in DEBUG mode
Debug: add "using System.Diagnostics"
|
2020-03-18 11:13:06 -04:00 |
|
|
7625339d4c
|
add TODOs for places where "new" is used during per-frame code
Fixes #12.
|
2020-03-18 11:11:40 -04:00 |
|
|
fb3538cea9
|
Add ability to move by a single pixel in DEBUG builds.
Fixes #15.
Also enables the LeftShoulder + RightShoulder + [BUTTON] combos only while
we're in DEBUG mode.
|
2020-03-16 15:36:46 -04:00 |
|
|
b10e03857f
|
add more sfx
|
2020-03-16 15:04:26 -04:00 |
|
|
0c7fa95711
|
new sfx file names
|
2020-03-16 14:57:24 -04:00 |
|
|
e4a4754ace
|
fix comment to match new Xbox UI
|
2020-03-16 14:57:02 -04:00 |
|
|
36a7f70fef
|
make NPCs a pixel less thicc
|
2020-03-16 14:56:32 -04:00 |
|
|
9bd33a406a
|
remove unused Crouching & Stretching poses
|
2020-03-11 16:12:46 -04:00 |
|
|
393e9d14b9
|
Player: track position with a Vector2.
Fixes #10 (mostly).
|
2020-03-11 16:04:22 -04:00 |
|
|
dfb80c9fde
|
NPC: Position is now a Vector2, not a Point
|
2020-03-11 15:07:00 -04:00 |
|
|
e97ff479d0
|
Sprite: keep track of Width and Height
|
2020-03-11 14:42:10 -04:00 |
|
|
b4e644c2d4
|
calculate spriteCenter more rigorously
|
2020-03-11 14:19:27 -04:00 |
|
|
36a72b938f
|
calculate NPC physics-box correctly
|
2020-03-11 13:56:33 -04:00 |
|
|
f7567686b3
|
Debug.AddLine(): make the 4-ints version the default
|
2020-03-11 12:48:55 -04:00 |
|
|
4c2437e1ac
|
add Debug.AddPoint()
|
2020-03-11 12:44:14 -04:00 |
|
|
c08defc656
|
Keep Update() from advancing by very large chunks; use more double math
|
2020-03-11 11:12:14 -04:00 |
|
|
4346f20024
|
remove World.TileSize constant
|
2020-03-11 11:01:34 -04:00 |
|
|
a4802031d5
|
World: load size directly from JSON.
|
2020-03-10 17:32:33 -04:00 |
|
|
b85661e2c4
|
add support for 8x8 obstacles
|
2020-03-10 17:10:09 -04:00 |
|
|
a93076419d
|
Debug: turn functions into noops if not compiled with DEBUG.
Fixes #11.
|
2020-03-10 15:58:56 -04:00 |
|
|
3d1de388b8
|
remove jumpTime / jumpElapsed
|
2020-03-10 15:06:52 -04:00 |
|
|
127693e2af
|
make Camera & NPC fields readonly
|
2020-03-10 15:06:25 -04:00 |
|
|
8f79bb8680
|
add a little screen-shake
|
2020-03-10 15:04:41 -04:00 |
|
|
37c679b704
|
move Camera into World
|
2020-03-10 14:38:08 -04:00 |
|
|
536af82beb
|
make NPCs stop at the edge of platforms
|
2020-03-10 10:09:55 -04:00 |
|
|
275e535eac
|
LinesOfSight: draw outlines around the vision cones.
|
2020-03-09 16:13:52 -04:00 |
|
|
06eac128c2
|
LinesOfSight: make vision cones red
|
2020-03-09 14:59:14 -04:00 |
|
|
437130ab55
|
Scene: always draw LinesOfSight
|
2020-03-09 14:57:39 -04:00 |
|
|
9504c2236c
|
LinesOfSight: support multiple NPCs
|
2020-03-09 14:47:21 -04:00 |
|
|
473256d105
|
make some classes static and some fields readonly
|
2020-03-09 12:48:10 -04:00 |
|
|
8f2fec053d
|
Pull out the "Paused" string into a file.
|
2020-03-09 12:46:19 -04:00 |
|
|
4870964cc5
|
attach LinesOfSight to the first NPC
|
2020-03-09 12:41:07 -04:00 |
|
|
8720896e87
|
make top-level classes public
|
2020-03-09 12:22:33 -04:00 |
|
|
66ce866b12
|
move LinesOfSight into World
|
2020-03-09 12:19:19 -04:00 |
|
|
3fc8b49636
|
World: move Tile to bottom of file
|
2020-03-09 11:48:22 -04:00 |
|
|
bb910fbe58
|
World: rearrange a bunch of code to be in a more sensible order
|
2020-03-08 18:58:52 -04:00 |
|
|
36e70989af
|
rename "tiles" to "obstacles"
|
2020-03-08 18:36:42 -04:00 |
|
|
fa4784fc49
|
IsHarmful -> IsHazard
|
2020-03-08 18:30:46 -04:00 |
|