新增玩家排版函数,不再需要生成玩家同时指定坐标,添加动画位移方法;玩家task升级为同task模块

This commit is contained in:
MrZ626
2020-12-08 01:12:53 +08:00
parent fcac817f11
commit 9e1df8b804
89 changed files with 230 additions and 166 deletions

View File

@@ -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)