play场景改名game,整理代码,重构GAME.frame相关内容,修复联网录像播放不正确
This commit is contained in:
@@ -37,7 +37,6 @@ function scene.sceneInit()
|
||||
--Create demo player
|
||||
destroyPlayers()
|
||||
GAME.modeEnv=NONE
|
||||
GAME.frame=0
|
||||
GAME.seed=math.random(2e6)
|
||||
PLY.newDemoPlayer(1)
|
||||
PLAYERS[1]:setPosition(520,140,.8)
|
||||
@@ -127,7 +126,6 @@ function scene.keyDown(key)
|
||||
end
|
||||
|
||||
function scene.update(dt)
|
||||
GAME.frame=GAME.frame+1
|
||||
PLAYERS[1]:update(dt)
|
||||
scrollX=scrollX-2.6
|
||||
if scrollX<-tip:getWidth()then
|
||||
|
||||
Reference in New Issue
Block a user