Hello Guest

Author Topic: How to SetTile rotated and flipped in code?  (Read 4066 times)

hippocoder

  • Guest
How to SetTile rotated and flipped in code?
« on: August 16, 2013, 03:15:51 pm »
Hiya!

Loving the new flipped tile and 90 degree rotated tile ability, but need to set this in code as blocks are destroyed. Is this possible? Thank you :)

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: How to SetTile rotated and flipped in code?
« Reply #1 on: August 16, 2013, 07:24:11 pm »
Hi. I've replied to your other post in the private support forum.
For others that need this, refer to:
http://unikronsoftware.com/2dtoolkit/doc/2.20/html/classtk2d_tile_map.html
SetTileFlags is what you want - it allows you to rotate / flip the tile.