新增玩家排版函数,不再需要生成玩家同时指定坐标,添加动画位移方法;玩家task升级为同task模块
This commit is contained in:
@@ -52,7 +52,8 @@ function scene.sceneInit()
|
||||
destroyPlayers()
|
||||
GAME.frame=0
|
||||
GAME.seed=math.random(2e6)
|
||||
PLY.newDemoPlayer(1,900,35,1.1)
|
||||
PLY.newDemoPlayer(1)
|
||||
PLAYERS[1]:setPosition(900,30,1.1)
|
||||
end
|
||||
|
||||
function scene.update(dt)
|
||||
|
||||
Reference in New Issue
Block a user