Phaser API Documentation

  Version: 
Filter
Namespace: TileSprite
Phaser.Types.GameObjects.TileSprite

Type Definitions

TileSpriteConfig
Focus
Focus
Properties:
name type arguments Default description
x number <optional> 0

The x coordinate of the Tile Sprite.

y number <optional> 0

The y coordinate of the Tile Sprite.

width number <optional> 512

The width of the Tile Sprite. If zero it will use the size of the texture frame.

height number <optional> 512

The height of the Tile Sprite. If zero it will use the size of the texture frame.

key string <optional> ''

The key of the Texture this Tile Sprite will use to render with, as stored in the Texture Manager.

frame string <optional> ''

An optional frame from the Texture this Tile Sprite is rendering with.

Type:
object
Focus
Focus