Phaser API Documentation

  Version: 
<static> GetWorldToTileXYFunction(orientation)

Description:

Gets the correct function to use to translate tiles, based on the map orientation.

Parameters:

name type description
orientation number

The Tilemap orientation constant.

Returns:
Description:

The function to use to translate tiles for the given map type.

Type:
  • function