Class: UI::BallStars
- Inherits:
-
SpriteSheet
- Object
- LiteRGSS::Disposable
- LiteRGSS::Drawable
- LiteRGSS::Sprite
- LiteRGSS::ShaderedSprite
- Sprite
- ShaderedSprite
- SpriteSheet
- UI::BallStars
- Defined in:
- docs/5_Battle_02_Visual.rb
Overview
Class that describes the Ball Stars animation used when a Ball captures a Creature
Constant Summary collapse
- COLUMNS =
Constant defining the number of columns in the spritesheet
9- ROWS =
Constant defining the number of rows in the spritesheet
7- MAX_INDEX =
Constant defining the maximum index in the spritesheet
COLUMNS * ROWS - 1
- BALLSTARS_FILENAME =
Filename of the Spritesheet used
'ball_stars'
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
-
#catch_progression=(progression)
Function that adjust the bitmap depending of the "catch" animation.
-
#initialize(viewport, scene) ⇒ BallStars
constructor
Create a new BallStars.
- #origin_sprite
-
#shader_z_position
Return the basic z position of the sprite shader.
-
#z=(z)
Set the z position of the sprite.
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, scene) ⇒ BallStars
Create a new BallStars
2541 2542 |
# File 'docs/5_Battle_02_Visual.rb', line 2541 def initialize(, scene) end |
Instance Method Details
#catch_progression=(progression)
Function that adjust the bitmap depending of the "catch" animation
2552 2553 |
# File 'docs/5_Battle_02_Visual.rb', line 2552 def catch_progression=(progression) end |
#origin_sprite
2554 2555 |
# File 'docs/5_Battle_02_Visual.rb', line 2554 def origin_sprite end |
#shader_z_position
Return the basic z position of the sprite shader
2548 2549 |
# File 'docs/5_Battle_02_Visual.rb', line 2548 def shader_z_position end |
#z=(z)
Set the z position of the sprite
2545 2546 |
# File 'docs/5_Battle_02_Visual.rb', line 2545 def z=(z) end |