From 3873ba0e2ee4054ae0fdc756fa504a8a375e7974 Mon Sep 17 00:00:00 2001 From: LDDestroier Date: Tue, 13 Nov 2018 20:40:32 -0500 Subject: [PATCH] Update tron --- tron | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tron b/tron index 65ba9c5..94814a6 100644 --- a/tron +++ b/tron @@ -184,8 +184,8 @@ local drawGrid = function(x, y) adjY = (sy + y) foreX = 1 + (sx + x) % #gridFore[1] foreY = 1 + (sy + y) % #gridFore - backX = 1 + math.floor(sx + (x / 3)) % #gridBack[1] - backY = 1 + math.floor(sy + (y / 3)) % #gridBack + backX = 1 + math.floor(sx + (x / 2)) % #gridBack[1] + backY = 1 + math.floor(sy + (y / 2)) % #gridBack trailChar, trailColor, trailAge = getTrail(adjX, adjY) isPlayer = false for i = 1, #player do @@ -385,6 +385,7 @@ scrollToPosition = function(x, y) end local gridDemo = function() + keysDown = {} while true do if keysDown[keys.left] then scrollX = scrollX - 1