Get the height of the sprite's bitmap
Returns:
Type | Description |
---|
number | The bitmap height |
Get the width of the sprite's bitmap
Returns:
Type | Description |
---|
number | The bitmap width |
Creates the sprite's bitmap
Destroys the sprite
Get the sprite's font face
Returns:
Type | Description |
---|
string | The font face |
Get the sprite's font size
Returns:
Type | Description |
---|
number | The font size |
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)
Initialize the sprite's variables
Initializes the sprite
Name | Type | Description |
---|
bitmap | Bitmap | The bitmap of the sprite |
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 |
The name to show
Returns:
Type | Description |
---|
string | The name |
The text outline color
Returns:
Type | Description |
---|
string | The outline color |
The text outline width
Returns:
Type | Description |
---|
number | The width |
Redraws the bitmap
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) |
Sets the sprite up
Name | Type | Description |
---|
battler | Game_Battler | The battler to track for the sprite |
Sets up the bitmap's font
Removes the "hidden" state of the sprite, making it visible
The color to make the text
Returns:
Type | Description |
---|
string | The text color |
Updates the sprite for each frame
Updates the bitmap
Updates the visibility status of the sprite