Refactored and improved transition animations

This commit is contained in:
Maruno17
2021-08-20 21:39:20 +01:00
parent 9c5c3c77ed
commit 41ce9309d7
7 changed files with 1006 additions and 1280 deletions

View File

@@ -35,7 +35,7 @@ class ButtonEventScene < EventScene
addLabelForScreen(4, 134, 196, 352, _INTL("Press to open the Ready Menu, where registered items and available field moves can be used. (Default: D)"))
set_up_screen(@current_screen)
Graphics.transition(20)
Graphics.transition
# Go to next screen when user presses USE
onCTrigger.set(method(:pbOnScreenEnd))
end
@@ -67,7 +67,7 @@ class ButtonEventScene < EventScene
if @current_screen >= last_screen
# End scene
Graphics.freeze
Graphics.transition(20, "fadetoblack")
Graphics.transition(8, "fadetoblack")
scene.dispose
else
# Next screen