Daylily-Zeleen / Godot-DragonBones

A GDExtension plugin of DragonBones for Godot 4.x
MIT License
78 stars 7 forks source link

Move animation control from `DragonBonesArmature` to `DragonBones`. #23

Closed Daylily-Zeleen closed 2 months ago

Daylily-Zeleen commented 2 months ago

Fix #21.

DragonBones event must dispatched by dragonbones::DragonBones::advanceTime(), I have to move animation control logic from DragonBonesArmature to DragonBones.

Now, armatures can not control animation by themselves, they can only set animation parameter, how and when to advance animation are controled by DragonBones node.

This commit have break changes, so will update major version.