Is there a way to get the image of a tilegid?
How do you get the image of a tilegid?
(3 posts) (2 voices)-
Posted 1 year ago #
-
I posted it some minutes ago:
CCSprite *image = (CCSprite*) [layer tileAt:tilePosition];
(layer is a layer in your tileMap)
Posted 1 year ago # -
cool thanks!
could I also do this?
UIImage *image = (UIImage*) [tiles tileAt:ccp(x,y)];Posted 1 year ago #
Reply
You must log in to post.