Well...
Here is the ZenGL updated code with an improved example!
You can walk with the goblin with Left/Right keys, can attack pressing Space and can change the Skin (to a Female Goblin) using C key.
This is the first draft of ZenGL code yet, I hope to improve it a lot and I will post any progress here! The next step is use the Mix animations function to provide sweet transition between different animations. =)
I hope to keep updating this ZenGL example to provide a good class for Handling Spine Animations with ZenGL (using Dan's Pascal Headers).
Ps. To create the Packed textures for it, you will need http://www.codeandweb.com/texturepacker and use the LibGDX exporter! I use only packed textures with my games and I created some functions to help ZenGL handling it, I will clean my code and post the code with examples here in forum sometime soon! But Spine already supports it!
Any suggestions is welcomed! =)
Bookmarks