Hello
Guest
Home
Help
Search
Login
Register
2D Toolkit Forum
»
2D Toolkit
»
Support
»
How to SetTile rotated and flipped in code?
« previous
next »
Print
Pages: [
1
]
Author
Topic: How to SetTile rotated and flipped in code? (Read 4065 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
Logged
unikronsoftware
Administrator
Hero Member
Posts: 9709
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.
Logged
Print
Pages: [
1
]
« previous
next »
2D Toolkit Forum
»
2D Toolkit
»
Support
»
How to SetTile rotated and flipped in code?