Hi All!
I’m really new to Defold and I am trying to explorer its features.
In a game prototype I have a Game Object with a Sprite; the sprite is a Tile Source based animation, but what I really need is to programmatically set one frame or the other based on a program logic.
I didn’t find an API function that does that.
Is there something like: sprite.set_frame(<frame_number>) ?
The frameset is about 120 pictures, so I would like to avoid creating 120 single small PNG files.
Can anyone help?
Thanks.