Class: UI::BallBurst
- Inherits:
-
SpriteSheet
- Object
- LiteRGSS::Disposable
- LiteRGSS::Drawable
- LiteRGSS::Sprite
- LiteRGSS::ShaderedSprite
- Sprite
- ShaderedSprite
- SpriteSheet
- UI::BallBurst
- Includes:
- RecenterSprite
- Defined in:
- docs/5_Battle_02_Visual.rb
Overview
Class that describes the Ball Burst animation used when a Ball opens
Instance Attribute Summary
Attributes inherited from SpriteSheet
Attributes inherited from LiteRGSS::ShaderedSprite
Attributes inherited from LiteRGSS::Sprite
#__index__, #angle, #bitmap, #height, #mirror, #opacity, #ox, #oy, #src_rect, #viewport, #visible, #width, #x, #y, #z, #zoom, #zoom_x, #zoom_y
Instance Method Summary collapse
-
#ball_z_position(pokemon_or_item) ⇒ Integer
Return the z position for correct perspective ordering in multi-Pokemon battles.
-
#initialize(viewport, pokemon_or_item, scene) ⇒ BallBurst
constructor
Create a new BallBurst.
-
#open_progression=(progression)
Function that adjust the sy depending on the progression of the "open" animation.
-
#reset_position(bank, position, scene, start_battle = false)
Reset the Ballburst position.
-
#retrieve_position(bank, position, scene)
Set the Ballburst position for retrieve animation.
-
#shader_z_position
Return the basic z position of the sprite shader.
-
#z=(z)
Set the z position of the sprite.
Methods included from RecenterSprite
Methods inherited from SpriteSheet
Methods inherited from Sprite
#load, #mouse_in?, #set_origin_div, #set_rect, #set_rect_div, #set_z, #simple_mouse_in?, #translate_mouse_coords, #update
Methods inherited from LiteRGSS::Sprite
Methods inherited from LiteRGSS::Disposable
Constructor Details
#initialize(viewport, pokemon_or_item, scene) ⇒ BallBurst
Create a new BallBurst
2564 2565 |
# File 'docs/5_Battle_02_Visual.rb', line 2564 def initialize(, pokemon_or_item, scene) end |
Instance Method Details
#ball_z_position(pokemon_or_item) ⇒ Integer
Return the z position for correct perspective ordering in multi-Pokemon battles
2576 2577 |
# File 'docs/5_Battle_02_Visual.rb', line 2576 def ball_z_position(pokemon_or_item) end |
#open_progression=(progression)
Function that adjust the sy depending on the progression of the "open" animation
2593 2594 |
# File 'docs/5_Battle_02_Visual.rb', line 2593 def open_progression=(progression) end |
#reset_position(bank, position, scene, start_battle = false)
Reset the Ballburst position
2583 2584 |
# File 'docs/5_Battle_02_Visual.rb', line 2583 def reset_position(bank, position, scene, start_battle = false) end |
#retrieve_position(bank, position, scene)
Set the Ballburst position for retrieve animation
2589 2590 |
# File 'docs/5_Battle_02_Visual.rb', line 2589 def retrieve_position(bank, position, scene) end |
#shader_z_position
Return the basic z position of the sprite shader
2571 2572 |
# File 'docs/5_Battle_02_Visual.rb', line 2571 def shader_z_position end |
#z=(z)
Set the z position of the sprite
2568 2569 |
# File 'docs/5_Battle_02_Visual.rb', line 2568 def z=(z) end |