As I understood in defold 1.2.88 you change spine callback.
And now callback has all parameters like on_message and can has different message_id.
And, one more important that callback can be call not only when animation ended and by spine events too.
Am I right?
I can’t find information about this changes in docs but this changes broke my project animations(
example of new callback
local function callback_example(self, message_id, message, sender)
print(message_id)
pprint( message)
print(sender)
end
spine.play("#spinemodel", "idle_var1",go.PLAYBACK_ONCE_FORWARD, 0.1, callback_example)
print:
DEBUG:SCRIPT: type hash: [spine_animation_done]
DEBUG:SCRIPT:
{
animation_id = hash: [idle_var1],
playback = 1,
}
DEBUG:SCRIPT: url: [game:/instance158#spinemodel]