diff options
| author | jussi | 2022-06-05 12:24:06 +0300 |
|---|---|---|
| committer | jussi | 2022-06-05 12:24:06 +0300 |
| commit | 9598d72b8b9ea038ba80eaa46e04fe25000fe101 (patch) | |
| tree | 0695b0e3a426286a6db91aa5b046ef159c5a9daf /examples/platformer/main.lua | |
| parent | b8d2fcd7956e0ca862745a0b8f64317664507574 (diff) | |
| download | reilua-enhanced-9598d72b8b9ea038ba80eaa46e04fe25000fe101.tar.gz reilua-enhanced-9598d72b8b9ea038ba80eaa46e04fe25000fe101.tar.bz2 reilua-enhanced-9598d72b8b9ea038ba80eaa46e04fe25000fe101.zip | |
Rest of input functions and camera system functions.
Diffstat (limited to 'examples/platformer/main.lua')
| -rw-r--r-- | examples/platformer/main.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
