Sprite.play_flipbook Documentation Error (SOLVED)

#1

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

#2

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

#3

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