cubefield小游戏不再能卡时间间隔
This commit is contained in:
@@ -122,6 +122,7 @@ function scene.keyUp(key)
|
|||||||
end
|
end
|
||||||
|
|
||||||
function scene.update(dt)
|
function scene.update(dt)
|
||||||
|
if dt>.06 then dt=.06 end
|
||||||
dt=dt*600
|
dt=dt*600
|
||||||
|
|
||||||
--Update cubes' position
|
--Update cubes' position
|
||||||
|
|||||||
Reference in New Issue
Block a user