Skip to content

Commit

Permalink
Merge pull request #13 from sillybear/patch-1
Browse files Browse the repository at this point in the history
Transition items cleaning part 1
  • Loading branch information
Inorizushi authored Jan 26, 2022
2 parents 1a9bbc1 + 7693dce commit 1e4c7d7
Show file tree
Hide file tree
Showing 35 changed files with 60 additions and 85 deletions.
3 changes: 0 additions & 3 deletions BGAnimations/ScreenCaution in.lua

This file was deleted.

4 changes: 0 additions & 4 deletions BGAnimations/ScreenCaution out.lua

This file was deleted.

1 change: 0 additions & 1 deletion BGAnimations/ScreenDDRNameEntry in.redir

This file was deleted.

1 change: 0 additions & 1 deletion BGAnimations/ScreenDDRNameEntry out.redir

This file was deleted.

1 change: 0 additions & 1 deletion BGAnimations/ScreenDataSaveSummary in.redir

This file was deleted.

1 change: 0 additions & 1 deletion BGAnimations/ScreenDataSaveSummaryEnd out.redir

This file was deleted.

3 changes: 0 additions & 3 deletions BGAnimations/ScreenDemonstration in.lua

This file was deleted.

1 change: 0 additions & 1 deletion BGAnimations/ScreenEvaluationSummary in.redir

This file was deleted.

3 changes: 0 additions & 3 deletions BGAnimations/ScreenGameOver in.lua

This file was deleted.

3 changes: 0 additions & 3 deletions BGAnimations/ScreenGameplay in.lua

This file was deleted.

3 changes: 0 additions & 3 deletions BGAnimations/ScreenLogo out.lua

This file was deleted.

1 change: 0 additions & 1 deletion BGAnimations/ScreenPlayerOptionsPopup cancel.redir

This file was deleted.

3 changes: 0 additions & 3 deletions BGAnimations/ScreenProfileLoad in.lua

This file was deleted.

1 change: 0 additions & 1 deletion BGAnimations/ScreenProfileLoad out.redir

This file was deleted.

1 change: 0 additions & 1 deletion BGAnimations/ScreenProfileSave in.redir

This file was deleted.

7 changes: 0 additions & 7 deletions BGAnimations/ScreenProfileSave out.lua

This file was deleted.

3 changes: 0 additions & 3 deletions BGAnimations/ScreenSelectMode in.lua

This file was deleted.

3 changes: 0 additions & 3 deletions BGAnimations/ScreenSelectMode out.lua

This file was deleted.

3 changes: 0 additions & 3 deletions BGAnimations/ScreenSelectMusic in.lua

This file was deleted.

3 changes: 0 additions & 3 deletions BGAnimations/ScreenSelectMusic out.lua

This file was deleted.

3 changes: 0 additions & 3 deletions BGAnimations/ScreenSelectPlayCourseMode in.lua

This file was deleted.

1 change: 0 additions & 1 deletion BGAnimations/ScreenSelectPlayCourseMode out.redir

This file was deleted.

5 changes: 0 additions & 5 deletions BGAnimations/ScreenSelectProfile in.lua

This file was deleted.

4 changes: 0 additions & 4 deletions BGAnimations/ScreenSelectProfile out.lua

This file was deleted.

5 changes: 0 additions & 5 deletions BGAnimations/ScreenSelectStyle in.lua

This file was deleted.

3 changes: 0 additions & 3 deletions BGAnimations/ScreenSelectStyle out.lua

This file was deleted.

1 change: 0 additions & 1 deletion BGAnimations/ScreenSortList in.redir

This file was deleted.

1 change: 0 additions & 1 deletion BGAnimations/ScreenSortList out.redir

This file was deleted.

3 changes: 0 additions & 3 deletions BGAnimations/ScreenStageInformation out.lua

This file was deleted.

3 changes: 0 additions & 3 deletions BGAnimations/ScreenTitleMenu in.lua

This file was deleted.

3 changes: 0 additions & 3 deletions BGAnimations/ScreenTitleMenu out.lua

This file was deleted.

7 changes: 7 additions & 0 deletions BGAnimations/ScreenWithMenuElements cancel.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
local screen = Var 'LoadingScreen'

return Def.Actor {
StartTransitioningMessageCommand=function(s)
s:sleep(THEME:GetMetric(screen, 'CancelTransitionSeconds'))
end,
}
7 changes: 7 additions & 0 deletions BGAnimations/ScreenWithMenuElements in.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
local screen = Var 'LoadingScreen'

return Def.Actor {
StartTransitioningMessageCommand=function(s)
s:sleep(THEME:GetMetric(screen, 'InTransitionSeconds'))
end,
}
7 changes: 7 additions & 0 deletions BGAnimations/ScreenWithMenuElements out.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
local screen = Var 'LoadingScreen'

return Def.Actor {
StartTransitioningMessageCommand=function(s)
s:sleep(THEME:GetMetric(screen, 'OutTransitionSeconds'))
end,
}
43 changes: 39 additions & 4 deletions metrics.ini
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,9 @@ SkipSpacingY=14

# Defaults for most top-level screens
[ScreenWithMenuElements]
InTransitionSeconds=0
OutTransitionSeconds=0
CancelTransitionSeconds=0
ShowHeader=true
HeaderX=
HeaderY=
Expand Down Expand Up @@ -577,11 +580,13 @@ MoreExitUnselectedP2Command=

[ScreenPlayerOptionsPopup]
Fallback="ScreenPlayerOptions"
CancelTransitionSeconds=1

ShowHeader=false
ShowFooter=false
TimerStealth=true
TimerSeconds=-1
ScreenOutDelay=1
OutTransitionSeconds=1

[OptionRowExitPlayer]
Fallback="OptionRow"
Expand Down Expand Up @@ -842,6 +847,7 @@ ShowCreditDisplay=true
[ScreenLogo]
Class="ScreenWithMenuElements"
NextScreen="ScreenDemonstration"
OutTransitionSeconds=0.3
TimerSeconds=20
TimerStealth=false
ForceTimer=true
Expand All @@ -852,6 +858,7 @@ ShowCreditDisplay=true
Class="ScreenDemonstration"
Fallback="ScreenGameplay"
FooterText="STARLiGHT"
InTransitionSeconds=0.297

NextScreen="ScreenMDSplash"
StartScreen=Branch.AttractStart()
Expand Down Expand Up @@ -896,6 +903,7 @@ ChoiceStart="text,START;screen,ScreenSelectMode"
ChoiceArcStart="text,START;screen,ScreenSelectProfile"
PrevScreen=Branch.FirstScreen()
NextScreen="ScreenLogo"
InTransitionSeconds=0.2

TimerSeconds=20
ForceTimer=true
Expand All @@ -907,6 +915,8 @@ ShowIcon=false

[ScreenDDRNameEntry]
Fallback="ScreenWithMenuElements"
InTransitionSeconds=0.3
OutTransitionSeconds=1
PrevScreen=Branch.FirstScreen()
NextScreen="ScreenSelectStyle"
HeaderText="logout"
Expand All @@ -926,6 +936,9 @@ StopMusicOnBack=true

[ScreenSelectMode]
Fallback="ScreenTitleMenu"
InTransitionSeconds=0.5
OutTransitionSeconds=0.5

ShowHeader=true
HeaderText="mainmenu"
ShowFooter=true
Expand Down Expand Up @@ -1000,6 +1013,9 @@ Fallback="ScreenWithMenuElements"
Class="ScreenSelectProfile"
HeaderText="login"
#
InTransitionSeconds=0.3
OutTransitionSeconds=1

NextScreen="ScreenSelectStyle"
PrevScreen=Branch.FirstScreen()
ScreenOnCommand=%function(self) self:lockinput(3); end;
Expand Down Expand Up @@ -1067,7 +1083,7 @@ Fallback="ScreenProfileSave"
NextScreen="ScreenCaution"

[ScreenProfileSave]

OutTransitionSeconds=GAMESTATE:IsAnExtraStage() and 2 or 0

[ScreenProfileSaveSummary]
NextScreen=Branch.AfterSaveSummary()
Expand All @@ -1076,8 +1092,10 @@ NextScreen=Branch.AfterSaveSummary()
ScreenOutDelay=0
ScreenInDelay=0
Fallback="ScreenSplash"
InTransitionSeconds=0.3
TimerSeconds=20
TimerOnCommand=visible,true

ShowHeader=true
ShowFooter=false
HeaderText="logout"
Expand All @@ -1092,11 +1110,14 @@ Class="ScreenProfileSave"
Fallback="ScreenProfileSave"
NextScreen="ScreenGameOver"
PrevScreen="ScreenGameOver"
OutTransitionSeconds=1
TimerSeconds=-1

[ScreenProfileLoad]
Fallback="ScreenSelectProfile"
NextScreen="ScreenCaution"
InTransitionSeconds=1

ShowHeader=false
ShowFooter=false
PlayMusic=true
Expand All @@ -1107,6 +1128,9 @@ CodeStart="Start"
Class="ScreenSelectMaster"
Fallback="ScreenSelectMaster"
PrevScreen=Branch.FirstScreen()
InTransitionSeconds=0.75
OutTransitionSeconds=2

ShowFooter=true
HeaderText="selstyle"
ShowHelp=true
Expand Down Expand Up @@ -1224,6 +1248,9 @@ Class="ScreenSelectMaster"
Fallback="ScreenSelectMaster"
PrevScreen=Branch.TitleMenu()
TimerSeconds=40
InTransitionSeconds=0.75
OutTransitionSeconds=2

HeaderText="selmode"
ShowFooter=true
FooterText="prepare"
Expand Down Expand Up @@ -1263,15 +1290,19 @@ ForceTimer=true
TimerStealth=true
TimerSeconds=3.5
TimerOnCommand=draworder,6;visible,false
InTransitionSeconds=0.4
OutTransitionSeconds=1

[ScreenSelectMusic]
Class="ScreenSelectMusic"
Fallback="ScreenWithMenuElements"
InTransitionSeconds=0.5
OutTransitionSeconds=1

HeaderText="selmusic"
PrevScreen=Branch.TitleMenu()
TimerY=SCREEN_TOP+80
ShowHelp=true

TimerSeconds=90

UsePlayerSelectMenu=false
Expand Down Expand Up @@ -1907,6 +1938,8 @@ Commify=false
LeadingZeroMultiplyColor=color("#FFFFFF")

[ScreenGameplay]
InTransitionSeconds=0.7

ShowScoreInRave=false
CodeNames="SpeedUp,SpeedUp2,SpeedDown,SpeedDown2,AppearancePlusHarsher,AppearancePlusEasier,AppearancePlusHarsher2,AppearancePlusEasier2,AppearancePlusShow"
CodeSpeedUp="MenuRight"
Expand Down Expand Up @@ -2234,6 +2267,8 @@ HelpOnCommand=draworder,10;diffusealpha,0;sleep,2;diffusealpha,1;diffuseshift;ef
[ScreenGameOver]
TimerSeconds=6
NextScreen="ScreenWarning"
InTransitionSeconds=0.4

ForceTimer=true
TimerStealth=true
StopMusicOnBack=true
Expand Down Expand Up @@ -2545,4 +2580,4 @@ TextOnCommand=halign,1
[ScreenAP]
Fallback="ScreenWithMenuElements"
ShowHeader=false
ShowFooter=false
ShowFooter=false

0 comments on commit 1e4c7d7

Please sign in to comment.