mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-07 13:15:01 +00:00
Refactored and improved transition animations
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user