A simple theory question : Is there any chance to have parts of the tmx tilemap animated ? Like a smoke on a vulcan or a tree blow in the wind ?
-emc
A fast, easy to use, free, and community supported 2D game engine
A simple theory question : Is there any chance to have parts of the tmx tilemap animated ? Like a smoke on a vulcan or a tree blow in the wind ?
-emc
I don't think there is any built in support for animating tiles at the moment but you can use setGID to do the same job. Your tileset could have 4 frames of the same tile which you can iterate through using setGID. Take a look at the TilesetTest demo in the samples and you'll see that one of the tests animates a tile by changing the GID.
smoke on a volcano would probably be better with a particle emitter.
You must log in to post.