Fixed transitions in controls and credits screens, fixed slight text cropping in credits screen, fixed crash when changing the scene

This commit is contained in:
Maruno17
2021-10-07 18:47:28 +01:00
parent c8b594d38d
commit 166a289a60
3 changed files with 22 additions and 11 deletions

View File

@@ -66,8 +66,11 @@ class ButtonEventScene < EventScene
last_screen = [@label_screens.max, @key_screens.max].max
if @current_screen >= last_screen
# End scene
$game_temp.background_bitmap = Graphics.snap_to_bitmap
Graphics.freeze
@viewport.color = Color.new(0, 0, 0, 255) # Ensure screen is black
Graphics.transition(8, "fadetoblack")
$game_temp.background_bitmap.dispose
scene.dispose
else
# Next screen