Tiled Map Editor map editor (2) animation effect

This article is relatively simple. Most of the functions have been introduced before. This time, the animation functions mentioned above are completed, and other advanced functions will be written gradually.

The previous tutorial portal
http://happysoul.iteye.com/blog/2279627

First prepare a picture to be used, that is, the picture with animation we will use.



Create a map (this goes without saying) and then add our picture material



and then click on the first frame of the animation picture (where the arrow points)



Note that the picture we see at this time is the normal selected state
and then use the tool Column selection view - Tile Animation Editor



is followed by the focus of this text. Double-click the tiles in turn to add them to the left, and you can see the preview effect in the lower left corner.
If the animation playback speed is too fast, we can manually modify the frame interval. The current default is 100 (that is, 0.1 seconds).



Click Close to close the animation editing box, and then observe our tiles.



At this time , we see that we are in front of the tiles. The selected tile is changed (similar to a movie)

When we select this tile and place it on the map, we can directly see a vortex spinning.
You can see the effect as long as you try it out. I will not take screenshots. I will not demonstrate

other animations one by one (magma effect, effect of rocks being washed by water, sea water effect)

Well, this article ends here. Well, we just need to know about the animation effect. We have to wait for a long time to use this function, but it is hard to say that some languages ​​or extensions are already supported.
At least currently cocos2d-x 3.10 does not support this animation effect.
As shown in the picture below, although it is a static picture, it can be said that it is still a still picture. The animation effect in front of us has not been displayed, and we will wait for the support of cocos. . .



The important point is to focus on the
cocos forum. It seems that this function will not be supported until the 4.x version (seems to be an image rendering problem).

Go here and see http://discuss.cocos2d-x.org/t/tile -animations-support-from-tiled-map-editor-v0-10-0/17061

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=327013734&siteId=291194637
map
Map
Map
map