Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update for Spine 4.0+ #28

Open
davord45 opened this issue Jan 14, 2021 · 2 comments
Open

Update for Spine 4.0+ #28

davord45 opened this issue Jan 14, 2021 · 2 comments

Comments

@davord45
Copy link

Spine version 4.0 and above have changed the curves in the JSON file. Before it was 4 variables (curves,c2,c3,c4), now there is a array called curve with 8 floats:

curve": [ 0.889, -169.87, 1.114, -108.54, 0.924, -264.13, 1.114, -373.86 ]

Spine now has x and y for translate,rotation and scale.
Can you please update the runtime so that it works with newer versions?

@rayxuln
Copy link
Owner

rayxuln commented Jan 15, 2021

The 4.x version of Spine has not been released yet, and the version of the spine-runtime-cpp they provided is 4.0-beta which was updated 3 monthes ago with 3.8 version code merged. I prefer to wait for the official release version of spine-runtime. You could try to override the spine-cpp folder with the newer version of spine-runtime-cpp and build the engine.

@rayxuln
Copy link
Owner

rayxuln commented Jul 13, 2021

I've update it to spine version 4.0.
Check it out!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants