goplus / spx

spx - A Scratch Compatible Go/Go+ 2D Game Engine for STEM education
https://builder.goplus.org
Apache License 2.0
100 stars 28 forks source link

#builder#300 default animtion bug #304

Closed JiepengTan closed 1 month ago

JiepengTan commented 1 month ago

fixed : https://github.com/goplus/spx/issues/300

  1. The animation default (which is bound as defaultAnimation) is played only once while sprite in default state. It is expecetd to be played repeatedly (see details in https://github.com/goplus/builder/issues/603#issuecomment-2180367864)

  2. After animation fight (played by calling animate "fight") finished playing, the sprite does not return to the default state, while it keeps the last csotume of animation fight

https://github.com/user-attachments/assets/6ecd9c07-badf-4ebc-bb53-78f89e34e226