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

View File

@@ -76,7 +76,7 @@ IceGod64<s>SoundSpawn
Jacob O. Wobbrock<s>the__end
KitsuneKouta<s>Venom12
Lisa Anthony<s>Wachunga
Luka S.J.<s>
Luka S.J.<s>
and everyone else who helped out
"mkxp-z" by:
@@ -189,7 +189,7 @@ _END_
pbSEStop
pbBGMFade(2.0)
pbBGMPlay(BGM)
Graphics.transition(20)
Graphics.transition
loop do
Graphics.update
Input.update
@@ -198,7 +198,7 @@ _END_
end
pbBGMFade(2.0)
Graphics.freeze
Graphics.transition(20, "fadetoblack")
Graphics.transition(8, "fadetoblack")
@background_sprite.dispose
@credit_sprites.each { |s| s.dispose if s }
text_viewport.dispose