Added Song-Restart Text
authorJayce Newton <accounts@divinelegy.com>
Thu, 21 Nov 2013 16:13:41 +0000 (00:13 +0800)
committerJayce Newton <accounts@divinelegy.com>
Thu, 21 Nov 2013 16:13:41 +0000 (00:13 +0800)
Themes/GrooveNights/BGAnimations/ScreenEvaluation overlay.xml
Themes/GrooveNights/BGAnimations/ScreenGameplay overlay/Restarting.png [new file with mode: 0644]
Themes/GrooveNights/BGAnimations/ScreenGameplay overlay/default.xml
Themes/GrooveNights/BGAnimations/ScreenStage overlay/default.xml

index d9bd7ab..92001b4 100644 (file)
@@ -1542,7 +1542,7 @@ end">
        
        </children>
 </ActorFrame>
-
+<!--Screen Transition-->
        <Layer Type="Quad"
        OnCommand="zoomx,SCREEN_WIDTH;zoomy,SCREEN_HEIGHT;diffuse,0,0,0,1;x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y+(SCREEN_HEIGHT/2);draworder,10000;decelerate,0.2;diffuse,0,0,0,1;y,SCREEN_CENTER_Y+SCREEN_HEIGHT"
        ScreenTransitionMessageCommand="zoomx,SCREEN_WIDTH;zoomy,SCREEN_HEIGHT;diffuse,0,0,0,1;x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y+SCREEN_HEIGHT;draworder,10000;accelerate,0.2;diffuse,0,0,0,1;y,SCREEN_CENTER_Y+(SCREEN_HEIGHT/2)"
diff --git a/Themes/GrooveNights/BGAnimations/ScreenGameplay overlay/Restarting.png b/Themes/GrooveNights/BGAnimations/ScreenGameplay overlay/Restarting.png
new file mode 100644 (file)
index 0000000..83fda8f
Binary files /dev/null and b/Themes/GrooveNights/BGAnimations/ScreenGameplay overlay/Restarting.png differ
index 0a2bc0a..6c3e331 100644 (file)
@@ -3835,6 +3835,7 @@ StepP2MessageCommand="%function(self)
 
 </children></ActorFrame>
 
+<!--Screen Transition-->
        <Layer Type="Quad"
        OnCommand="diffusealpha,0;"
        ScreenTransitionMessageCommand="zoomx,SCREEN_WIDTH;zoomy,SCREEN_HEIGHT;diffuse,0,0,0,1;x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y+SCREEN_HEIGHT;draworder,10000;accelerate,0.2;diffuse,0,0,0,1;y,SCREEN_CENTER_Y+(SCREEN_HEIGHT/2)"
@@ -3850,5 +3851,16 @@ StepP2MessageCommand="%function(self)
        ScreenTransitionMessageCommand="diffusealpha,1;x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y+SCREEN_HEIGHT+50;draworder,10000;accelerate,0.2;y,SCREEN_CENTER_Y"
        />
        
+       <Layer File="Restarting" 
+       Condition="GAMESTATE:IsEventMode() and MenuButtonGiveUp()"
+       OnCommand="diffusealpha,0;"
+       ScreenTransitionMessageCommand="%function(self) 
+       if gnStaminaSongPercent > gnLowestRestartPercent and gnStaminaSongPercent < gnHighestRestartPercent then
+               self:queuecommand('Blink');
+               end
+       end" 
+       BlinkCommand="diffusealpha,1;draworder,10000;x,SCREEN_CENTER_X;Y,SCREEN_CENTER_Y+SCREEN_HEIGHT+50+65;accelerate,0.2;y,SCREEN_CENTER_Y+65;sleep,0.2;diffusealpha,0;sleep,0.2;diffusealpha,1;sleep,0.2;diffusealpha,0;sleep,0.2;diffusealpha,1;"
+       />
+       
 </children> </ActorFrame>
 
index cc138b3..6237401 100644 (file)
        OnCommand="vibrate;EffectMagnitude,0.5,0.5,0.1;x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y;draworder,10000;decelerate,0.2;y,SCREEN_CENTER_Y-(SCREEN_HEIGHT/2)-50"
        OffCommand="x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y+SCREEN_HEIGHT+50;draworder,10000;accelerate,0.2;y,SCREEN_CENTER_Y"
        />
+       
+       <Layer File="../ScreenGameplay overlay/Restarting" 
+       Condition="GAMESTATE:IsEventMode() and MenuButtonGiveUp()"
+       OnCommand="%function(self) 
+       self:diffusealpha(0);
+       if gnStaminaSongPercent > gnLowestRestartPercent and gnStaminaSongPercent < gnHighestRestartPercent then
+               self:queuecommand('Blink');
+               end
+       end" 
+       BlinkCommand="diffusealpha,1;draworder,10000;x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y+65;sleep,0.2;diffusealpha,0;"
+       />
        </children></ActorFrame>
        </children>
 </ActorFrame>