Tileset

Class: Phaser.Tileset

Constructor

new Tileset(name, firstgid, width, height, margin, spacing, properties)

A Tile set is a combination of an image containing the tiles and collision data per tile.

Tilesets are normally created automatically when Tiled data is loaded.

Parameters
Name Type Argument Default Description
name string

The name of the tileset in the map dat