Archive 17/01/2023.

Animating a SpriteSheet2D

practicing01

Urho2D’s asset workflow with spriter is tedious for traditional sprite sheets. The important bits of the following code can be used to load a “texture atlas” generated with urho’s SpritePacker and animate a StaticSprite2D with it (using an animation xml format similar to the old urho2d thread found on this forum).

github.com/practicing01/Urho3DT … 1c3e219a80

Animation format:

[spoiler][code]














[/code][/spoiler]