[Release] DeSpriter: Spriter (.scml) Animation Support for Defold

Hi everyone,

I’d like to share a new extension we’ve been working on: DeSpriter. It adds support for Spriter .scml animation files in Defold.

We made this because we needed a lightweight way to use bone-based animations from Spriter in our Defold projects, and we didn’t find any existing solution. So we built one and decided to open-source it.

GitHub: https://github.com/EVEVGames/DeSpriter

What it does:

Loads and plays .scml animations
Supports bones, sprites, timelines
Still improving, but already usable in actual projects

10 Likes

Hello,
First of all, thank you very much for this extension. It looks like it will be very helpful in my projects. However, I couldn’t get it to work properly. I’m a beginner game developer, so I might have made a mistake somewhere.



Spriter deneme.zip (676.1 KB)

2 Likes

Hello, thank you for the feedback.
Could you please let me know which error occurs in the console?

We’re still working on the project — this first version might have some bugs.

1 Like


I’m getting an error like this. The sprite is also not loading properly on the screen.
I’m also sharing the project files in case you want to check them. I’m using the character and animation set provided by Spriter Pro.
Spriter deneme.zip (676.2 KB)

1 Like

Thanks! I ran your project locally and got the same error.
We’ll look into it and update this thread once we find something.

2 Likes

Thank you for testing. I was able to confirm it’s a bug :spider: (I’ll fix it and let you know here). There’s also an issue with the scale and how the bones are referenced

1 Like

I was able to reproduce the same issue here. In Defold (and other engines as well), when a parent game object has non-uniform scaling, it will distort rotated child sprites (as seen with the spider).

To fix this, I created a fix_scale function that applies the scale directly to sprites and recalculates their position accordingly.

2 Likes

Congrats!!
I tested it with 200 collection instances and it works fine.

1 Like

Good job, I made an account just for this haha, I’m considering using Defold for a project and spriter is my main animation software in haxe. I’m wondering if you’re planning to support character maps like these https://www.youtube.com/watch?v=H5nq8Weam7s
Or any way to swap parts? That’s a pretty important feature for me but I don’t know if you guys need it too, cheers.

1 Like

It seems to be a useful feature. I’ll try to implement it during my next free days. I saw that it’s a Spriter Pro feature. I might need to purchase a license to test it.

2 Likes

I sent you a steam spriter pro key via dm if you need to test it, cheers.

3 Likes

I really appreciate the key. I’ll be implementing this feature soon.

1 Like