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

@@ -88,7 +88,8 @@ def pbBattleAnimation(bgm=nil,battletype=0,foe=nil)
end
# Play main animation
Graphics.freeze
Graphics.transition(Graphics.frame_rate*1.25,sprintf("Graphics/Transitions/%s",anim))
anim = "battle4"
Graphics.transition(25, sprintf("Graphics/Transitions/%s", anim))
viewport.color = Color.new(0,0,0,255) # Ensure screen is black
# Slight pause after animation before starting up the battle scene
(Graphics.frame_rate/10).times do