Sprite.play_flipbook Documentation Error (SOLVED)

Hello,

On the API documentation for sprite.play_flipbook (stable release) example it shows the message received by the completion function as “model_animation_done” not “animation_done”.

When I was using it, it appeared the message was “animation_done” on the return, which corresponds to what is actually written in the documentation above the example as message_id.


Cheers,
Spen

5 Likes

Good catch. If little copy and paste errors like these are the only issues, I think the documentation is in good shape. :slight_smile:

1 Like

Thanks @SpencerWF! We accept pull requests for the API docs if you find more issues!

I pushed a fix directly to the dev branch: https://github.com/defold/defold/commit/6abd334c1b28ba6bb956551aaa9f5ad11992f5e4

3 Likes