From 9598d72b8b9ea038ba80eaa46e04fe25000fe101 Mon Sep 17 00:00:00 2001 From: jussi Date: Sun, 5 Jun 2022 12:24:06 +0300 Subject: Rest of input functions and camera system functions. --- examples/platformer/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/platformer/main.lua') diff --git a/examples/platformer/main.lua b/examples/platformer/main.lua index b92999d..bef5786 100644 --- a/examples/platformer/main.lua +++ b/examples/platformer/main.lua @@ -103,7 +103,7 @@ end local function tileCollision( entity ) local vPos = entity.pos + entity.vel -- Future pos with current vel. local vRect = util.tableClone( entity.colRect ) - local tinyGap = 0.001 -- Tiny slit between collisionRect and tile to prevent getting stuck on all seams. + local tinyGap = 0.001 -- Tiny gap between collisionRect and tile to prevent getting stuck on all seams. -- Move test rect to predicted position. vRect[1] = vPos.x - vRect[3] / 2 -- cgit v1.2.3