Citrus-Engine icon indicating copy to clipboard operation
Citrus-Engine copied to clipboard

SpriteArt/StarlingArt dragonBones code

Open gsynuh opened this issue 8 years ago • 2 comments

find a way to get rid of dragonbones dependent code in these classes. enable custom *Art classes to be used? anything that is ICitrusArt.

(otherwise CE needs to always be up to date with dragonBones. Sure we should update the current version of StarlingArt/SpriteArt but then it should be a seperate "extension" *art )

gsynuh avatar Nov 22 '16 10:11 gsynuh

找到一个方法删除这些类中的Dragonbones 的依赖代码,是否可以启用定制的 *Art 这些类来用? 所有的类都来自ICitrusArt接口。 (否则CE需要不停地更新Dragonbones。我们当然应该更新当前版本的StarlingArt/SpriteArt,但是将来他应该是独立的扩展 *Art)

IvanChen008 avatar Nov 28 '16 02:11 IvanChen008

edit: CE can set the armature display to not advanceTime by itself , and StarlingArt can advanceTime manually so DB is synchronised with CE for each Scene (not using a global clock that cannot be paused)

gsynuh avatar Dec 16 '16 08:12 gsynuh