PaintTileTextureCoordinates
Introduction
PaintTileTextureCoordinates can be used to change the texture coordinates on a tile by its ordered index. This method can specify all four coordiantes (left, top, right, bottom) or just the top and left. If only the top and left are specified, the bottom and right are automatically determined based on the tileset's tile dimensions.
Code Example
Note that this requires the ordered tile index. This sample assumes that tiles have been added manually, and then painted later.
Last updated