skycoin / cx-game

Game Prototype
7 stars 15 forks source link

Import Spine bone animations into the game #489

Open Luis-Tavares opened 2 years ago

Luis-Tavares commented 2 years ago

The following zip file has the textures and the json file generated by Spine Pro: Spine Bone Animations.zip

ted537 commented 2 years ago

It appears that there is a general purpose Go library for importing Spine Pro files.

ted537 commented 2 years ago

The Go library has not been updated since 2013 and will likely require some reworking to accomodate changes in Spine Pro.

ted537 commented 2 years ago

In particular, the readValue() function makes assumptions about the order of fields in the .atlas text file, which do not necessarily hold.