Hello all! I'm having some issues with Visustella's Dragonbones union plug-in. I've used it in the past without incident, but now I keep getting the error:
Uncaught TypeError: Cannot use 'in' operator to search for 'version' in null
I have the dragonbones components in my dragonbones folder, and also posted the following into the enemy note tags:
Am I doing something wrong?
EDIT: I spent days and days trying to figure this out, and it was shockingly simple. For anyone else who's perplexed, make sure that the folder you store your dragonbones assets in is named "dragonbone_assets"
Uncaught TypeError: Cannot use 'in' operator to search for 'version' in null
I have the dragonbones components in my dragonbones folder, and also posted the following into the enemy note tags:
<Attack animation: 1>
<DragonBone Settings>
Battler: VoidollMistress
Scalex: -1.0
Scaley: 1.0
Width: 150
Height: 120
Ani Wait: Idle
Ani Walk: Idle
Ani Attack: Attack A
Ani Swing: Attack D
Ani Thrust: Attack B
Ani Missile: Attack C
Ani Skill: Attack C
Ani Chant: Idle
Ani Spell: Attack C
Ani Item: Attack A
Ani Guard: Idle
Ani Evade: Idle
Ani Damage: Damage
Ani Abnormal: Idle
Ani Sleep: Idle
Ani Dying: Idle
Ani Dead: Damage
Ani Victory: Idle
Ani Escape: Idle
Replace Sprite
</DragonBone Settings>
Available Motions:
Attack A - Weapon Throw
Attack B - Spell Cast
Attack C - Weapon Throw Alternate
Damage
Idle
Sample Action Sequence:
<Target Action>
face user: target
motion Attack A: user
move user: targets, BASE, 40, auto offset x -240
wait: 35
action effect
JUMP targets: -15, 6
move targets: BACKWARD, 40, 5
face targets: FORWARD
animation 74: targets
action animation: targets
wait: 45
</Target Action>
<DragonBone Settings>
Battler: VoidollMistress
Scalex: -1.0
Scaley: 1.0
Width: 150
Height: 120
Ani Wait: Idle
Ani Walk: Idle
Ani Attack: Attack A
Ani Swing: Attack D
Ani Thrust: Attack B
Ani Missile: Attack C
Ani Skill: Attack C
Ani Chant: Idle
Ani Spell: Attack C
Ani Item: Attack A
Ani Guard: Idle
Ani Evade: Idle
Ani Damage: Damage
Ani Abnormal: Idle
Ani Sleep: Idle
Ani Dying: Idle
Ani Dead: Damage
Ani Victory: Idle
Ani Escape: Idle
Replace Sprite
</DragonBone Settings>
Available Motions:
Attack A - Weapon Throw
Attack B - Spell Cast
Attack C - Weapon Throw Alternate
Damage
Idle
Sample Action Sequence:
<Target Action>
face user: target
motion Attack A: user
move user: targets, BASE, 40, auto offset x -240
wait: 35
action effect
JUMP targets: -15, 6
move targets: BACKWARD, 40, 5
face targets: FORWARD
animation 74: targets
action animation: targets
wait: 45
</Target Action>
Am I doing something wrong?
EDIT: I spent days and days trying to figure this out, and it was shockingly simple. For anyone else who's perplexed, make sure that the folder you store your dragonbones assets in is named "dragonbone_assets"