T2DTileLayer.Tiles changed to?
by Mark Vicuna · in Torque X 2D · 03/29/2007 (10:10 pm) · 2 replies
Hi,
Whats the new method for adding tiles to a TileLayer?
Thanks,
MarkV.
Whats the new method for adding tiles to a TileLayer?
Thanks,
MarkV.
About the author
#2
Thanks for the tip though. I downgraded back to 1.1.3 since a few of the issues I had with TileLayers in the new version made impossible to continue. I'll give it another try. Maybe it was something simple I was missing.
04/01/2007 (11:19 am)
Oops, I meant to move this to the TorqueX folders since its an issue with the TX engine not TGBX directly.Thanks for the tip though. I downgraded back to 1.1.3 since a few of the issues I had with TileLayers in the new version made impossible to continue. I'll give it another try. Maybe it was something simple I was missing.
Torque Owner Dan MacDonald
As per your question though, i think you can use the
T2DTileObject PickTileByGridCoords(int x, int y)
or
public T2DTileObject PickTile(Vector2 worldPos)
to get a reference to a tile at that location that you can then manipulate...