fix arrows appearing under score but over score frame
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 5.8 KiB |
@@ -0,0 +1,18 @@
|
||||
local children = { };
|
||||
|
||||
if GAMESTATE:IsExtraStage() then
|
||||
children[#children+1] = LoadActor("_extra score frame") .. {
|
||||
InitCommand=cmd(x,SCREEN_CENTER_X+0;y,SCREEN_CENTER_Y-208);
|
||||
OnCommand=cmd(addy,-100;sleep,0.5;linear,1;addy,100);
|
||||
OffCommand=cmd(linear,1;addy,-100);
|
||||
};
|
||||
else
|
||||
local sFile = GAMESTATE:GetPlayMode() == "PlayMode_Oni" and "_oni score frame" or "_score frame";
|
||||
children[#children+1] = LoadActor(sFile) .. {
|
||||
InitCommand=cmd(x,SCREEN_CENTER_X+0;y,SCREEN_CENTER_Y+208);
|
||||
OnCommand=cmd(addy,100;linear,0.5;addy,-100);
|
||||
OffCommand=cmd(linear,0.5;addy,100);
|
||||
};
|
||||
end
|
||||
|
||||
return Def.ActorFrame { children = children };
|
||||
@@ -10,19 +10,4 @@ local children = {
|
||||
};
|
||||
};
|
||||
|
||||
if GAMESTATE:IsExtraStage() then
|
||||
children[#children+1] = LoadActor("_extra score frame") .. {
|
||||
InitCommand=cmd(x,SCREEN_CENTER_X+0;y,SCREEN_CENTER_Y-208);
|
||||
OnCommand=cmd(addy,-100;sleep,0.5;linear,1;addy,100);
|
||||
OffCommand=cmd(linear,1;addy,-100);
|
||||
};
|
||||
else
|
||||
local sFile = GAMESTATE:GetPlayMode() == "PlayMode_Oni" and "_oni score frame" or "_score frame";
|
||||
children[#children+1] = LoadActor(sFile) .. {
|
||||
InitCommand=cmd(x,SCREEN_CENTER_X+0;y,SCREEN_CENTER_Y+208);
|
||||
OnCommand=cmd(addy,100;linear,0.5;addy,-100);
|
||||
OffCommand=cmd(linear,0.5;addy,100);
|
||||
};
|
||||
end
|
||||
|
||||
return Def.ActorFrame { children = children };
|
||||
|
||||
@@ -840,12 +840,12 @@ CourseSongNumberChangeOutCommand=
|
||||
ShowScoreInRave=true
|
||||
ScoreP1X=SCREEN_CENTER_X-208
|
||||
ScoreP1Y=SCREEN_CENTER_Y+202
|
||||
ScoreP1OnCommand=addy,100;linear,1;addy,-100
|
||||
ScoreP1OffCommand=linear,1;addy,100
|
||||
ScoreP1OnCommand=addy,100;linear,1;addy,-100;draworder,120;
|
||||
ScoreP1OffCommand=linear,1;addy,100;
|
||||
ScoreP2X=SCREEN_CENTER_X+210
|
||||
ScoreP2Y=SCREEN_CENTER_Y+202
|
||||
ScoreP2OnCommand=addy,100;linear,1;addy,-100
|
||||
ScoreP2OffCommand=linear,1;addy,100
|
||||
ScoreP2OnCommand=addy,100;linear,1;addy,-100;draworder,120;
|
||||
ScoreP2OffCommand=linear,1;addy,100;
|
||||
SecondaryScoreP1X=SCREEN_CENTER_X-20
|
||||
SecondaryScoreP1Y=SCREEN_CENTER_Y+0
|
||||
SecondaryScoreP1OnCommand=
|
||||
|
||||
Reference in New Issue
Block a user