DragonBones / DragonBonesJS

DragonBones TypeScript / JavaScript Runtime
MIT License
764 stars 318 forks source link

event listener is not working on phaser demo #64

Open artgramsoft opened 6 years ago

artgramsoft commented 6 years ago

below code is not working in DragonBonesEvent.ts

this._armatureDisplay.addDBEventListener(dragonBones.EventObject.COMPLETE, this._animationEventHandler, this);

haolly commented 6 years ago

sick, change COMPLETE to LOOP_COMPLETE may work