05-05-2022, 02:25 PM
I made a tool use to generate the sequence and atlas descriptor files needed when creating sprites, the video is one of the first version, it's still pretty buggy in places but someday soon I plan on releasing it so other people can use it.
Also in the video I never showed the actual generated files so I'm attaching the text of those as well
Sequence File:
Atlas Descriptor:
The .TileAnim file is just a json string containing the path to the sprite sheets and the frame data, it was easier than loading the sequence file again or I would have just loaded it the same way tilengine does.
Let me know what you think! I'm sure I'm not the first person to do this but I'm pretty proud of this little tool
Also in the video I never showed the actual generated files so I'm attaching the text of those as well
Sequence File:
Code:
<?xml version="1.0" encoding="UTF - 8"?>
<sequences>
<sequence name="Idle" delay="5" loop="0">
0,1,2,3,4
</sequence>
</sequences>
Atlas Descriptor:
Code:
1 = 0 0 30 39
2 = 30 0 30 39
3 = 60 0 30 39
4 = 90 0 30 39
5 = 120 0 30 39
The .TileAnim file is just a json string containing the path to the sprite sheets and the frame data, it was easier than loading the sequence file again or I would have just loaded it the same way tilengine does.
Let me know what you think! I'm sure I'm not the first person to do this but I'm pretty proud of this little tool