Colin McMillen mcmillen
mcmillen pushed to master at semicolin/sneak 2020-03-11 11:12:43 -04:00
c08defc656 Keep Update() from advancing by very large chunks; use more double math
mcmillen pushed to master at semicolin/sneak 2020-03-11 11:01:49 -04:00
4346f20024 remove World.TileSize constant
mcmillen pushed to master at semicolin/sneak 2020-03-10 17:33:27 -04:00
a4802031d5 World: load size directly from JSON.
b85661e2c4 add support for 8x8 obstacles
Compare 2 commits »
mcmillen closed issue semicolin/sneak#11 2020-03-10 15:59:27 -04:00
Make Debug.XXX functions no-ops when doing a Release build
mcmillen pushed to master at semicolin/sneak 2020-03-10 15:59:27 -04:00
a93076419d Debug: turn functions into noops if not compiled with DEBUG.
mcmillen pushed to master at semicolin/sneak 2020-03-10 15:07:08 -04:00
3d1de388b8 remove jumpTime / jumpElapsed
127693e2af make Camera & NPC fields readonly
Compare 2 commits »
mcmillen pushed to master at semicolin/sneak 2020-03-10 15:04:57 -04:00
8f79bb8680 add a little screen-shake
mcmillen pushed to master at semicolin/sneak 2020-03-10 14:38:19 -04:00
37c679b704 move Camera into World
mcmillen pushed to master at semicolin/sneak 2020-03-10 10:12:58 -04:00
536af82beb make NPCs stop at the edge of platforms
275e535eac LinesOfSight: draw outlines around the vision cones.
Compare 2 commits »
mcmillen pushed to master at semicolin/sneak 2020-03-09 14:59:32 -04:00
06eac128c2 LinesOfSight: make vision cones red
437130ab55 Scene: always draw LinesOfSight
Compare 2 commits »
mcmillen pushed to master at semicolin/sneak 2020-03-09 14:47:35 -04:00
9504c2236c LinesOfSight: support multiple NPCs
mcmillen pushed to master at semicolin/sneak 2020-03-09 12:48:50 -04:00
473256d105 make some classes static and some fields readonly
8f2fec053d Pull out the "Paused" string into a file.
Compare 2 commits »
mcmillen pushed to master at semicolin/sneak 2020-03-09 12:41:19 -04:00
4870964cc5 attach LinesOfSight to the first NPC
mcmillen pushed to master at semicolin/sneak 2020-03-09 12:23:17 -04:00
8720896e87 make top-level classes public
66ce866b12 move LinesOfSight into World
3fc8b49636 World: move Tile to bottom of file
Compare 3 commits »
mcmillen pushed to master at semicolin/sneak 2020-03-08 18:59:11 -04:00
bb910fbe58 World: rearrange a bunch of code to be in a more sensible order
mcmillen pushed to master at semicolin/sneak 2020-03-08 18:36:54 -04:00
36e70989af rename "tiles" to "obstacles"
fa4784fc49 IsHarmful -> IsHazard
Compare 2 commits »
mcmillen pushed to master at semicolin/sneak 2020-03-08 18:28:05 -04:00
299ab41ec2 add hazards layer
mcmillen pushed to master at semicolin/sneak 2020-03-08 17:43:20 -04:00
9aa0d05eb2 add the background layer
mcmillen pushed to master at semicolin/sneak 2020-03-08 17:28:58 -04:00
983a02b364 remove old Levels file
mcmillen pushed to master at semicolin/sneak 2020-03-08 17:24:30 -04:00
5121f6d775 World: load levels by parsing a JSON level description.
28ef337691 make field readonly
Compare 2 commits »