From e654344bc262c8393559e5cd535f440133fb2406 Mon Sep 17 00:00:00 2001 From: chai Date: Thu, 15 Nov 2018 21:44:02 +0800 Subject: =?UTF-8?q?*=E6=B8=B2=E6=9F=93=E7=9F=A9=E9=98=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/game/main.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'bin/game/main.lua') diff --git a/bin/game/main.lua b/bin/game/main.lua index 7c94445..ce22f46 100644 --- a/bin/game/main.lua +++ b/bin/game/main.lua @@ -63,11 +63,14 @@ function jin.core.onLoad() timer = jin.time.newTimer() local h = timer:every(0.5, function(sp) local x, y = spr:getPosition() - spr:move(1, 0) + spr:move(5, 0) end, spr) timer:after(3, function(p) --timer:cancel(h) end, h) + jin.graphics.pushMatrix() + --jin.graphics.translate(100, 0) + jin.graphics.rotate(0.2) end local stop = false -- cgit v1.1-26-g67d0