animationBaseDelay()number
Get animation base delay
Returns:
Type | Description |
---|
number | Base delay of the animations |
animationNextDelay()number
Get animation next delay
Returns:
Type | Description |
---|
number | Next delay for animations |
animationShouldMirror(target)boolean
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 |
Creates an animation
Name | Type | Description |
---|
request | Object | An animation request object |
createAnimationSprite(targets, animation, mirror, delay)
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 filters for the base sprite
Creates the base sprite to display behind all other 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
Returns:
Type | Description |
---|
null | When called from Spriteset_Base, this always returns null |
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 |
isAnimationForEach()boolean
Check if the animation is for each
Returns:
Type | Description |
---|
boolean | True if for each |
isAnimationPlaying()boolean
Check if there is an animation playing
Returns:
Type | Description |
---|
boolean | True if any animation is playing |
isMVAnimation(animation)boolean
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
makeTargetSprites(targets)Array
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 |
processAnimationRequests()
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 animations playing in the spriteset
Updates the base filters
Updates the overall filters
Updates the position of the spriteset
Updates the visibility status of the sprite