Get animation base delay
Returns:
Type | Description |
---|
number | Base delay of the animations |
Get animation next delay
Returns:
Type | Description |
---|
number | Next delay for animations |
animationShouldMirror(target)booleaninherited
Check if the animation should mirror
Name | Type | Description |
---|
target | Game_Battler | The target to check for mirror |
Returns:
Type | Description |
---|
boolean | True if should mirror |
battleFieldOffsetY()number
Get the offset for the Y coordinate of the battlefield
Returns:
Type | Description |
---|
number | The offset |
Get all of the battler sprites, enemy + actor
Returns:
Type | Description |
---|
Array | All battler sprites |
compareEnemySprite(a, b)number
Compare two enemy sprites for sorting purposes
Returns:
Type | Description |
---|
number | The comparison result |
Creates the actor sprites
Creates an animation
Name | Type | Description |
---|
request | Object | An animation request object |
createAnimationSprite(targets, animation, mirror, delay)inherited
Creates an animation sprite
Name | Type | Description |
---|
targets | Array | The array of animation targets |
animation | Object | The data animation object |
mirror | boolean | The mirror property for an animation |
delay | number | The delay for the animation |
Creates the sprites that make up the background
Creates the filters for the base sprite
Creates the base sprite to display behind all other sprites
Creates the battlefield sprite
Creates the battleback sprites
Creates the enemy sprites
Creates the lower layer of the spriteset
Creates the overall filters
Creates a picture container and all necessary picture objects
Creates the timer sprite
Creates the upper layer of the spriteset
Destroys the sprite
Finds a target sprite by battler
Name | Type | Description |
---|
target | Game_Battler | The battler to check against |
Returns:
Gets the blend color for the sprite
Returns:
Type | Description |
---|
array | The blend color [r, g, b, a] |
Gets the color tone for the sprite
Returns:
Type | Description |
---|
array | The color tone [r, g, b, gray] |
Makes the sprite "hidden" (not visible)
Initializes the sprite
Name | Type | Description |
---|
bitmap | Bitmap | The bitmap of the sprite |
Check if the animation is for each
Returns:
Type | Description |
---|
boolean | True if for each |
Check if there is an animation playing
Returns:
Type | Description |
---|
boolean | True if any animation is playing |
Check if any battler sprites are moving
Returns:
Type | Description |
---|
boolean | True if any battler sprites are moving |
Check if the spriteset is busy
Returns:
Type | Description |
---|
boolean | True if anyone is moving or an animation is playing |
Check if any battler sprites are effecting
Returns:
Type | Description |
---|
boolean | True if any battler sprites are effecting |
Check if the animation is MV or MZ type
Name | Type | Description |
---|
animation | Object | The data animation object |
Returns:
Type | Description |
---|
boolean | True if MV animation type |
Gets the last animation sprite
Returns:
Loads required system images for the spriteset
Gets the target sprites
Name | Type | Description |
---|
targets | Array | The data objects of the targets |
Returns:
Type | Description |
---|
Array | The sprites of the data object targets |
Sets the x and y coordiantes of the sprite
Name | Type | Description |
---|
x | number | The x coordinate of the sprite |
y | number | The y coordinate of the sprite |
Get the rectangle where pictures can display
Returns:
Type | Description |
---|
Rectangle | The rectangle object of the picture container |
Processes animation requests
Removes all animations
Removes an animation
Sets the blend color for the sprite
Name | Type | Description |
---|
color | array | The blend color [r, g, b, a] |
Sets the color tone for the sprite
Name | Type | Description |
---|
tone | array | The color tone [r, g, b, gray] |
Sets the rectagle of the bitmap that the sprite displays
Name | Type | Description |
---|
x | number | The x coordinate of the frame |
y | number | The y coordinate of the frame |
width | number | The width of the frame |
height | number | The height of the frame |
Sets the hue rotation value
Name | Type | Description |
---|
hue | number | The hue value (-360, 360) |
Removes the "hidden" state of the sprite, making it visible
Updates the sprite for each frame
Updates the actor sprites
Updates the animations playing in the spriteset
Updates the base filters
Updates the battleback sprites
Updates the overall filters
Updates the position of the spriteset
Updates the visibility status of the sprite