修改入场动画运动曲线
This commit is contained in:
@@ -475,8 +475,9 @@ function loadGame(M,ifQuickPlay)--Load a mode and go to game scene
|
|||||||
end
|
end
|
||||||
function initPlayerPosition()--Set initial position for every player
|
function initPlayerPosition()--Set initial position for every player
|
||||||
local L=PLAYERS.alive
|
local L=PLAYERS.alive
|
||||||
|
local y=#L<=5 and 360 or -62
|
||||||
for i=1,#L do
|
for i=1,#L do
|
||||||
L[i]:setPosition(640,-62,0)
|
L[i]:setPosition(640,y,0)
|
||||||
end
|
end
|
||||||
resetPlayerPosition()
|
resetPlayerPosition()
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -159,7 +159,7 @@ local function task_movePosition(P,x,y,size)
|
|||||||
P:setPosition(x,y,size)
|
P:setPosition(x,y,size)
|
||||||
return true
|
return true
|
||||||
else
|
else
|
||||||
d=max(.08-lg(d)*.02,.016)
|
d=max(.085-lg(d)*.02,.03)
|
||||||
x1=x1+(x-x1)*d
|
x1=x1+(x-x1)*d
|
||||||
y1=y1+(y-y1)*d
|
y1=y1+(y-y1)*d
|
||||||
size1=size1+(size-size1)*d
|
size1=size1+(size-size1)*d
|
||||||
|
|||||||
Reference in New Issue
Block a user