aboutsummaryrefslogtreecommitdiff
path: root/bin/game
diff options
context:
space:
mode:
Diffstat (limited to 'bin/game')
-rw-r--r--bin/game/main.lua5
1 files changed, 4 insertions, 1 deletions
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