Hi!
I’m currently running tests with Spine (more accessible than I thought which is great). And congratulations on the extension! Super easy to use.
Now I can create (basic/awful) idle/walk animations in Spine and use them in Defold.
What I’d like to do now is to change items to customize my characters at runtime (equipment, weapons, hair etc.)
Ex in my test: I want to replace the sword with a mallet.
replaced with this:
In the Spine documentation I found this:
- The new
spine.set_attachment(slot, attachment)
allows you to set an attachment to a slot
Spine animation in Defold
My slot is “weapon” and here are my 2 attachements:
In Defold I wrote this:
But it doesn’t work.
Not sure what I should do at this point . . .