From f364a9c6ff249d4cdf718b94a0580b6b15174e07 Mon Sep 17 00:00:00 2001 From: Colin McMillen Date: Tue, 17 Dec 2019 08:27:23 -0500 Subject: [PATCH] add TODO about checking size-1 gaps in future GitOrigin-RevId: cd944aea79be9b15540fcb41fd8567d74d4a2bf1 --- Jumpy.Shared/Player.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Jumpy.Shared/Player.cs b/Jumpy.Shared/Player.cs index 2a8edcf..182502f 100644 --- a/Jumpy.Shared/Player.cs +++ b/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);