tmTileCentreY

Gets the world y of the middle of a cell, on any shape of map. Takes map (The map's handle), x (The tile column, from 0), y (The tile row, from 0). Returns: The world y position.

Tilemap

Parameters & Returns

Parameters

map Int
x Int
y Int

Returns

Int

Quick Summary

Gets the world y of the middle of a cell, on any shape of map. Takes map (The map's handle), x (The tile column, from 0), y (The tile row, from 0). Returns: The world y position.

Technical Exegesis...

Gets the world y of the middle of a cell, on any shape of map.

See the Tilemaps guide.

Returns: The world y position.

Example

Example.bam
y = tmTileCentreY(map, cx, cy)