Class: Battle::Visual::Transition::HGSSSeaWild

Inherits:
RBYWild show all
Defined in:
docs/5_Battle_02_Visual.rb

Overview

Wild Sea transition of HeartGold/SoulSilver games

Constant Summary collapse

SPRITE_NAMES =

A hash mapping symbolic names to sprite paths

{first: 'assets/heartgold_soulsilver_sea_wild_01', second: 'assets/heartgold_soulsilver_sea_wild_02', third: 'black_screen'}

Constants inherited from RBYWild

RBYWild::DISPLACEMENT_X

Instance Method Summary collapse

Methods inherited from Base

#dispose, #done?, #initialize, #pre_transition, #start_actor_send_animation, #start_enemy_send_animation, #transition, #transition_battle_end, #update

Constructor Details

This class inherits a constructor from Battle::Visual::Transition::Base

Instance Method Details

#create_fade_in_animationYuki::Animation::TimedAnimation

Function that creates the fade in animation



975
976
# File 'docs/5_Battle_02_Visual.rb', line 975

def create_fade_in_animation
end

#create_sprite(sprite_name, z_factor, y_offset = 0) ⇒ Sprite

Function that create a sprite

Parameters:

  • sprite_name (Symbol)
  • z_factor (Integer)
  • y_offset (Integer) (defaults to: 0)

Returns:



968
969
# File 'docs/5_Battle_02_Visual.rb', line 968

def create_sprite(sprite_name, z_factor, y_offset = 0)
end

#create_top_sprite

Function that creates the top sprite



971
972
# File 'docs/5_Battle_02_Visual.rb', line 971

def create_top_sprite
end

#pre_transition_sprite_name(sprite_name) ⇒ String

Function that returns an image name

Returns:



961
962
# File 'docs/5_Battle_02_Visual.rb', line 961

def pre_transition_sprite_name(sprite_name)
end

#shader_nameSymbol

Return the shader name

Returns:

  • (Symbol)


995
996
# File 'docs/5_Battle_02_Visual.rb', line 995

def shader_name
end

#start_black_animationYuki::Animation::TimedAnimation

Start the animation of the black sprite



991
992
# File 'docs/5_Battle_02_Visual.rb', line 991

def start_black_animation
end

#start_bubble_animationYuki::Animation::TimedAnimation

Start the animation of the bubble sprite



983
984
# File 'docs/5_Battle_02_Visual.rb', line 983

def start_bubble_animation
end

#start_shader_animationYuki::Animation::ScalarAnimation

Start the animation of the shader



979
980
# File 'docs/5_Battle_02_Visual.rb', line 979

def start_shader_animation
end

#start_wave_animationYuki::Animation::TimedAnimation

Start the animation of the wave sprite



987
988
# File 'docs/5_Battle_02_Visual.rb', line 987

def start_wave_animation
end