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