Closed wumaolinmaoan closed 3 weeks ago
The changes introduce a new test case for the sprite renderer, specifically focusing on validating sprite frame animations in a player context. A JSON object defines the scene configuration, including player versioning and assets. The test verifies that the frameAnimationLoop
property of a sprite component is functioning correctly after invoking the playback method.
Files | Change Summary |
---|---|
web-packages/test/unit/src/effects-core/plugins/sprite/sprite-renderder.spec.ts |
Added a test case for validating sprite frame animation looping functionality. |
In a land of sprites where frames do dance,
A test was born to give them a chance.
With JSON tales and playback's delight,
The rabbit hops, ensuring all's right.
Animation loops, a joyful spree,
In the world of code, we leap with glee! 🐇✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit