The basic object that is rendered to the game screen.
The image for the sprite
use heavy renderer that will reduce border artifacts and apply advanced blendModes
The image for the sprite.
The blend mode to be applied to the sprite.
[read-only] The array of children of the sprite.
Sets the filters for the sprite.
The height of the sprite without the scale.
The opacity of the sprite (0 to 255).
[read-only] The object that contains the sprite.
The origin point of the sprite. (0,0) to (1,1).
The rotation of the sprite in radians.
The scale factor of the sprite.
The visibility of the sprite.
The width of the sprite without the scale.
The x coordinate of the sprite.
The y coordinate of the sprite.
Number of the created objects.
checks if we need to speed up custom blendmodes
Adds a child to the container.
The child to add
The child that was added
Adds a child to the container at a specified index.
The child to add
The index to place the child in
The child that was added
Returns battleb ack 2 of the battle spriteset.
Instance of the Bitmap class.
Name of battleback 1 bitmap.
Returns battleback 2 of the battle spriteset.
Instance of the Bitmap class.
Name of battleback 2 bitmap.
Returns all battler sprites on the battle spriteset.
Creates sprite actors for the battle spriteset.
Creates the background of the battle spriteset.
Create the base sprite.
Creates the battlefield of the battle spriteset.
Creates the battleback of the battle spriteset.
Creates the Canvas tone.
Creates sprite enemies for the battle spriteset.
Creates the lower layer including the base sprites.
Creates a new sprite picture on the spritesetb ase.
Creates the screen sprite.
Creates a new Sprite timer on the spriteset base.
Creates the tone changer sprite.
Creates the upper layer including the pictures, timer, and screen sprites.
Creates the WebGL toner.
Name of the default battleback 1 name.
Name of the default battleback 2 name.
Calls each of the listeners registered for a given event.
The event name.
Arguments that are passed to registered listeners
true
if the event had listeners, else false
.
Return an array listing the events for which the emitter has registered listeners.
Gets the blend color for the sprite.
The blend color [r, g, b, a]
Gets the color tone for the sprite.
The color tone [r, g, b, gray]
Returns true if animation is playing on the battle spriteset.
Returns true if any sprite actor or enemy is moving.
Representing whether any battle participants are moving.
Returns true if the battle spriteset is busy.
Return the listeners registered for a given event.
The event name.
Check if there listeners for a given event.
If exists
argument is not true
lists listeners.
The event name.
Only check if there are listeners.
Locates the battleback and adjusts the coordinates of the battleback.
Sets the x and y at once.
The x coordinate of the sprite
The y coordinate of the sprite
Name of the normal battleback 1 bitmap.
Name of the normal battleback 2 bitmap.
Returns the battleback 1 name as a string.
Name of overworld battleback 1 bitmap.
Returns the battleback 2 name as a string.
Name of overworld battleback 2 bitmap.
Removes a child from the container.
The child to remove
The child that was removed
Removes a child from the specified index position.
The index to get the child from
The child that was removed
Sets the blend color for the sprite.
The blend color [r, g, b, a]
Sets the color tone for the sprite.
The color tone [r, g, b, gray]
Sets the rectagle of the bitmap that the sprite displays.
The x coordinate of the frame
The y coordinate of the frame
The width of the frame
The height of the frame
This function doesn't apply anymore.
Name of the ship battleback 1 bitmap.
Name of the ship battleback 2 bitmap.
Given the specified terrtain type, return the battleback 1 name.
Terrain type.
Name of the terrtain battleback 1 bitmap.
Given the specified terrain type, return the battleback 2 name.
Terrain type.
Name of the terrain battleback 2 bitmap.
Updates the sprite for each frame.
Updates the actor sprites on the battle spriteset.
Updates the battleback of the battle spriteset.
Updates the Canvas tone changer.
Updates the position of spriteset base.
Updates the screen sprites on the spriteset base.
Updates the WebGL tone changer.
Generated using TypeDoc
Spriteset_Battle
The set of sprites on the battle screen.