-
Notifications
You must be signed in to change notification settings - Fork 3
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
Sample project available ? #8
Comments
Hi, A sample project would be a great idea but unfortunately there's none available right now (I only use it in MakerKing which is currently closed source because of its central server). If anyone has the time to create one though, I'll make sure to link it! I don't have the time to make a full blown example project but here's a quick summary on how to use this project with Spriter 1 though: Load your .scml file into the game. If you use libGDX's assetManager you can do
and then load your project like
(otherwise load it manually using the Once you have your SCMLProject loaded, you can query Personally I wrapped all of the management of the Animation class into a renderer in my project:
This lets me easily change the animation for a specific entity and etc. Hope this helps slightly and I apologize for the lack of support/documentation. I don't think anyone ever used this project beside me. Best, |
Hello, thanks for your answer. Yes, it is surprising that there is no well-documented runtime for the free spriter. I think there was already a lot of potential. However, it is too late for that, since Spriter 1 itself will no longer exist. Or further updated. And Spriter 2 ... well: D I've been thinking back and forth whether I should invest any more time there. But then I decided on Spine. So sorry that I wasted your time. At least a little guide has been created here for people who may be interested. Thanks and good times. |
This repo is quite well documented and works with the free spriter: https://github.com/Trixt0r/spriter The only thing is that it is not made for libGDX but for any Java project. This project gdx-animation is basically a fork of the project I linked but made for libGDX, usage is nearly identical. If you have the money I indeed recommend you to get Spine instead. I personally only use Spriter 1 because it is free. Spine has mesh transformation technology which allow for much better animations. |
Hey :-)
Very cool Project!
Is there a sample project somewhere to better understand how this library works?
Thanks
The text was updated successfully, but these errors were encountered: