The basic object that is rendered to the game screen.
| Name | Type | Description | 
|---|---|---|
| bitmap | Bitmap | The image for the sprite. | 
Extends
- PIXI.Sprite
Members
- bitmapBitmap
- The bitmap for the sprite
- The blend mode to be applied to the sprite
- The height of the sprite without the scale
- The opacity of the sprite (0 to 255)
- The width of the sprite without the scale
Methods
- Destroys the sprite
- Gets the blend color for the spriteReturns:Type Description array The blend color [r, g, b, a] 
- Gets the color tone for the spriteReturns:Type Description array The color tone [r, g, b, gray] 
- Makes the sprite "hidden" (not visible)
- Initializes the spriteName Type Description bitmapBitmap The bitmap of the sprite 
- Sets the x and y coordiantes of the spriteName Type Description xnumber The x coordinate of the sprite ynumber The y coordinate of the sprite 
- Sets the blend color for the spriteName Type Description colorarray The blend color [r, g, b, a] 
- Sets the color tone for the spriteName Type Description tonearray The color tone [r, g, b, gray] 
- Sets the rectagle of the bitmap that the sprite displaysName Type Description xnumber The x coordinate of the frame ynumber The y coordinate of the frame widthnumber The width of the frame heightnumber The height of the frame 
- Sets the hue rotation valueName Type Description huenumber The hue value (-360, 360) 
- Removes the "hidden" state of the sprite, making it visible
- Updates the sprite for each frame
- Updates the visibility status of the sprite