diff options
author | chai <chaifix@163.com> | 2018-11-15 21:44:02 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-11-15 21:44:02 +0800 |
commit | e654344bc262c8393559e5cd535f440133fb2406 (patch) | |
tree | 7ac96581726c7d81599d72fdd811b5d991e2e362 /bin/game/main.lua | |
parent | 7e51ff3bfae0becc260452a427a1fc1232a4b348 (diff) |
*渲染矩阵
Diffstat (limited to 'bin/game/main.lua')
-rw-r--r-- | bin/game/main.lua | 5 |
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 |