Browse Source

add TODO about checking size-1 gaps in future

GitOrigin-RevId: cd944aea79
master
Colin McMillen 4 years ago
parent
commit
f364a9c6ff
  1. 2
      Jumpy.Shared/Player.cs

2
Jumpy.Shared/Player.cs

@ -44,6 +44,8 @@ namespace Jumpy {
bool standingOnGround = false;
// TODO: implement https://en.wikipedia.org/wiki/Bresenham%27s_line_algorithm
// e.g. http://members.chello.at/~easyfilter/bresenham.html
// TODO: currently player doesn't fall through a gap one tile wide; presumably this will
// be fixed by switching to a line-rasterization approach.
foreach (var rect in collisionTargets) {
playerBbox = Bbox(position);

Loading…
Cancel
Save