Class: UI::ShinyAnimation
- Inherits:
-
SpriteSheet
- Object
- LiteRGSS::Disposable
- LiteRGSS::Drawable
- LiteRGSS::Sprite
- LiteRGSS::ShaderedSprite
- Sprite
- ShaderedSprite
- SpriteSheet
- UI::ShinyAnimation
- Includes:
- RecenterSprite
- Defined in:
- docs/5_Battle_02_Visual.rb
Constant Summary collapse
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
-
#animation_progression=(progression)
Function that change the sprite according to the progression of the animation.
-
#initialize(viewport, z, bank, scene = $scene) ⇒ ShinyAnimation
constructor
Create a new ShinyAnimation.
-
#x_offset ⇒ Integer
Return the x offset for the Shiny Animation.
-
#y_offset ⇒ Integer
Return the y offset for the Shiny Animation.
-
#z=(z)
Set the z position of the sprite.
-
#zoom_value ⇒ Integer
return the zoom value for the bitmap.
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, z, bank, scene = $scene) ⇒ ShinyAnimation
Create a new ShinyAnimation
2388 2389 |
# File 'docs/5_Battle_02_Visual.rb', line 2388 def initialize(, z, bank, scene = $scene) end |
Instance Method Details
#animation_progression=(progression)
Function that change the sprite according to the progression of the animation
2392 2393 |
# File 'docs/5_Battle_02_Visual.rb', line 2392 def animation_progression=(progression) end |
#x_offset ⇒ Integer
Return the x offset for the Shiny Animation
2404 2405 |
# File 'docs/5_Battle_02_Visual.rb', line 2404 def x_offset end |
#y_offset ⇒ Integer
Return the y offset for the Shiny Animation
2408 2409 |
# File 'docs/5_Battle_02_Visual.rb', line 2408 def y_offset end |
#z=(z)
Set the z position of the sprite
2400 2401 |
# File 'docs/5_Battle_02_Visual.rb', line 2400 def z=(z) end |
#zoom_value ⇒ Integer
return the zoom value for the bitmap
2396 2397 |
# File 'docs/5_Battle_02_Visual.rb', line 2396 def zoom_value end |