@TheGreenKel Yeah, except I have 69 possible weapon combinations in my game (it's all about dual-wielding) and at least 10 types of each item. It would be literally thousands of battlers per character I'd have to create...
[RMMV] DragonBones 2d Animation Integration
JS Plugins In DevelopmentMeanwhile, I've got my first custom enemy battler implemented for testing. So far I have three motions done, Walk, Swing and Damage. Everything is working perfectly except when my enemy attacks, it moves back to position and keeps using the Swing motion instead of going back to Walk like it should.
Any ideas?
Edit: Video of what's happening.
Edit2: Nevermind, fixed it, I was being silly. Had to set the play times in Dragonbones to 1 for the Swing animation. >.<
Any ideas?
Edit: Video of what's happening.
Edit2: Nevermind, fixed it, I was being silly. Had to set the play times in Dragonbones to 1 for the Swing animation. >.<
Guys, please help! I recorded a video so you guy can understand what is my troubles
1 - This is my code for Attack Skill
2 - When i selected GUARD action, the character keep playing guard animation everytime an enemy make a move ( I've set playtime = 1 in DragonBones ). Well, again i see @Arcanus made his actors guarding very nice until the turn end. So i supposed that he has a really long GUARD animation (like 60 frames?) while mine has like 12 frames only.
But is there anyway else?
3 - As you can see in the video above, Hit Animation (RPGMV animation) displaying quite wrong compare to Attack Animation (DragonBones), i think we can make Hit Animation wait for Attack Animation to complete before playing by Yanfly Script, but how?
4 - Well, check the #3 again, now that if my Attack Animation has 20 frames, and the actual Attack is landed at frames 10-13, is there anyway i can tell RPGMV to play Hit Animation at the frame 10? (like wait: 10)? How to prevent Hit animation playing if Miss?
5 - Oh hey, and since i see "If ... Else" statement in Yanfly script, can i make actor take a random animation for attack?
like $a = irandom[1-3]
if $a = 1 play atk1
elseif $a = 2 play atk2
elseif $a = 3 play atk3
is that possible? if Yes please help me to correct Code syntax 😛
1 - This is my code for Attack Skill
So i supposed my character should play Walk animation while moving toward enemies, but she keep playing Idle animation. I've seen that @Arcanus has made his actors walking while moving toward enemies so i hope you can help me solve this problem
2 - When i selected GUARD action, the character keep playing guard animation everytime an enemy make a move ( I've set playtime = 1 in DragonBones ). Well, again i see @Arcanus made his actors guarding very nice until the turn end. So i supposed that he has a really long GUARD animation (like 60 frames?) while mine has like 12 frames only.
But is there anyway else?
3 - As you can see in the video above, Hit Animation (RPGMV animation) displaying quite wrong compare to Attack Animation (DragonBones), i think we can make Hit Animation wait for Attack Animation to complete before playing by Yanfly Script, but how?
4 - Well, check the #3 again, now that if my Attack Animation has 20 frames, and the actual Attack is landed at frames 10-13, is there anyway i can tell RPGMV to play Hit Animation at the frame 10? (like wait: 10)? How to prevent Hit animation playing if Miss?
5 - Oh hey, and since i see "If ... Else" statement in Yanfly script, can i make actor take a random animation for attack?
like $a = irandom[1-3]
if $a = 1 play atk1
elseif $a = 2 play atk2
elseif $a = 3 play atk3
is that possible? if Yes please help me to correct Code syntax 😛
@TheGreenKel You're welcome. also I posted the video of the evade animation. Can it be fixed?
@Isabella Ava I'm sorry, I will not answer all of your concern everytime but here's some tips.
1. For the Running Animation. My setup is:
Set the Wait and Walk Pose to Idle.
It all comes to the Action Sequence. You can set a custom animation in the sequence so calling out the custom animation "Run" to the user is going to make your actor animate in "Run" while heading towards the Enemy
2. I only have 20 Frames of Defend Animation ON LOOP. I set it to Playtime 0(Default) for loop. and it was set to the Ani Guard as default and I did nothing else.
3-4. You can actually make them play the whole animation if you set the wait in the action sequence.
you can make it like motion attack: user then followed by wait: x frames before action animation
action effect is where it let it plays the damage pose of the enemy so maybe adding a wait to the action sequence will let it play. (have more room to your frames to play) and just set the wait depending on how long you want to play the frames. same for attacking.
@Isabella Ava I'm sorry, I will not answer all of your concern everytime but here's some tips.
1. For the Running Animation. My setup is:
Set the Wait and Walk Pose to Idle.
It all comes to the Action Sequence. You can set a custom animation in the sequence so calling out the custom animation "Run" to the user is going to make your actor animate in "Run" while heading towards the Enemy
2. I only have 20 Frames of Defend Animation ON LOOP. I set it to Playtime 0(Default) for loop. and it was set to the Ani Guard as default and I did nothing else.
3-4. You can actually make them play the whole animation if you set the wait in the action sequence.
you can make it like motion attack: user then followed by wait: x frames before action animation
action effect is where it let it plays the damage pose of the enemy so maybe adding a wait to the action sequence will let it play. (have more room to your frames to play) and just set the wait depending on how long you want to play the frames. same for attacking.
Well after changed the name "walk" to "run" now my character does play run animation, so i guess it won't work before because duplicate name with default "walk"?
But i cannot make character guard properly, i think it keep playing back Idle Animation everytime it finished playing Guard Animation
Err maybe because my Character setup?
But i cannot make character guard properly, i think it keep playing back Idle Animation everytime it finished playing Guard Animation
Err maybe because my Character setup?
Hi,
I've been in a block for over a year now but after I've seen this plugin, I urge in continuing my project came back~ This is definitely Awesome!
I managed to somewhat learn the basics and how to animate a sprite using dragonbones software. I checked the sample dragonbones resources downloaded from this thread and it does have .JSON file and a PNG file that looks like a spritesheet with all the parts.
The only struggles I have now are:
1. For starters that would like to create his/her own dragonbone battlers for RMMV, what are the step by step procedures in doing so?
2. What are the things that I need to do/have in order for me to use the armature(?) I have created in dragonbones software in RMMV?
Thank you in advance!
I've been in a block for over a year now but after I've seen this plugin, I urge in continuing my project came back~ This is definitely Awesome!
I managed to somewhat learn the basics and how to animate a sprite using dragonbones software. I checked the sample dragonbones resources downloaded from this thread and it does have .JSON file and a PNG file that looks like a spritesheet with all the parts.
The only struggles I have now are:
1. For starters that would like to create his/her own dragonbone battlers for RMMV, what are the step by step procedures in doing so?
2. What are the things that I need to do/have in order for me to use the armature(?) I have created in dragonbones software in RMMV?
Thank you in advance!
@YuiDemonia Check out the video here: http://yanfly.moe/2017/08/04/yep-150-dragonbones-integration-rpg-maker-mv-2/
That has a step by step guide for installing the plugins and stuff, and the notetags are explained on that page as well.
The steps to creating your own battlers in Dragonbones are:
- Draw the battler
- Import each individual piece into Dragonbones
- Put together the pieces
- Create an armature using bones (and meshes!)
- Create all the animations you want
- Export the battler to your game's dragonbones_assets folder (or whatever you set your assets folder to be)
- Notetag the enemy/actor with the notetags setup how you want
That has a step by step guide for installing the plugins and stuff, and the notetags are explained on that page as well.
The steps to creating your own battlers in Dragonbones are:
- Draw the battler
- Import each individual piece into Dragonbones
- Put together the pieces
- Create an armature using bones (and meshes!)
- Create all the animations you want
- Export the battler to your game's dragonbones_assets folder (or whatever you set your assets folder to be)
- Notetag the enemy/actor with the notetags setup how you want
@Dirge I managed to import my sample dragonbone battler to rmmv, however, the animations I have created does not seem to work.
How can I properly tie up the animation based on the notetags?
Do the animations I created need to meet certain criteria in order for it to work with the notetags?
How can I tie up the attack animation I created with Ani Attack? Or the animations I created for the following actions below?
Ani Attack: normalAttack
Ani Walk: steady
Ani Damage: hit
Ani Dead: dead
Ani Swing: normalAttack
Ani Wait: steady
Ani Chant: stun
Ani Swing: stun
Ani Evade: stun
Ani Thrust: stun
Ani Missile: stun
Ani Skill: stun
Ani Spell: stun
Ani Item: stun
Ani Victory: stun
Ani Dying: stun
Ani Abnormal: stun
Ani Sleep: stun
Honestly, I got confused with all these new stuff. I was just re-learning everything again since I stopped touching my project for over a year now. x.x
How can I properly tie up the animation based on the notetags?
Do the animations I created need to meet certain criteria in order for it to work with the notetags?
How can I tie up the attack animation I created with Ani Attack? Or the animations I created for the following actions below?
Ani Attack: normalAttack
Ani Walk: steady
Ani Damage: hit
Ani Dead: dead
Ani Swing: normalAttack
Ani Wait: steady
Ani Chant: stun
Ani Swing: stun
Ani Evade: stun
Ani Thrust: stun
Ani Missile: stun
Ani Skill: stun
Ani Spell: stun
Ani Item: stun
Ani Victory: stun
Ani Dying: stun
Ani Abnormal: stun
Ani Sleep: stun
Honestly, I got confused with all these new stuff. I was just re-learning everything again since I stopped touching my project for over a year now. x.x
@YuiDemonia that depends on what you called your animations within Dragonbones. If you name the animation you want to be "Walk" as "Walk", you don't need to specify that in the notetags. So when you're making animations in dragonbones, if you want them to be one of the 18 normal animations (Walk, Damage, Dead, Swing etc...) then just name them that in Dragonbones and it'll pick them up automatically. If you have one called "Poisoned" for example and you want it to be the animation used when the engine would display the "Abnormal" state, your notetag would look something like:
<Dragonbone Settings>
Battler: Name
Replace Sprite
Ani Abnormal: Poisoned
</Dragonbone Settings>
You can also use Action Sequences to call animations that aren't named one of the 18 standard ones (or tied to that in the notetags) by calling it with a motion. So:
Motion Poisoned: target
would cause the target to play the animation you called Poisoned in dragonbones, for example.
An important thing to remember is in Dragonbones when you have an animation selected, on the bottom right you can set the Play Times. At 0, it will loop infinitely, meaning that if that animation gets played, it will keep playing until something else triggers another animation, so for things like attacks you want to set the play time to 1 (See my post towards the top of this page for a video example of what it looks like when you mess that up 😛)
<Dragonbone Settings>
Battler: Name
Replace Sprite
Ani Abnormal: Poisoned
</Dragonbone Settings>
You can also use Action Sequences to call animations that aren't named one of the 18 standard ones (or tied to that in the notetags) by calling it with a motion. So:
Motion Poisoned: target
would cause the target to play the animation you called Poisoned in dragonbones, for example.
An important thing to remember is in Dragonbones when you have an animation selected, on the bottom right you can set the Play Times. At 0, it will loop infinitely, meaning that if that animation gets played, it will keep playing until something else triggers another animation, so for things like attacks you want to set the play time to 1 (See my post towards the top of this page for a video example of what it looks like when you mess that up 😛)
@Dirge Ohhh i got it now~ I managed to get it to work! Thanks dude!
I can now understand what you mean on your previous post regarding multiple weapons with different sprites. Ugh.
Another thing, in my project, I use yanfly's class change plugin as well where in when I change to a different class, the walk sprite and battler sprite changes as well. I haven't fiddle with the settings yet if it will work with the same method for dragonbones battler.
Have you tried this yourself or do you have any idea how I can tie up a certain dragonbone battler to a job class?
I can now understand what you mean on your previous post regarding multiple weapons with different sprites. Ugh.
Another thing, in my project, I use yanfly's class change plugin as well where in when I change to a different class, the walk sprite and battler sprite changes as well. I haven't fiddle with the settings yet if it will work with the same method for dragonbones battler.
Have you tried this yourself or do you have any idea how I can tie up a certain dragonbone battler to a job class?
I believe Dragonbones notetags currently only work for actors or enemies. I'm actually currently looking for someone to add state compatibility to it, because I absolutely need it for my game.
I've actually just run into a fairly major issue and I have only the faintest idea of what's causing it.
I've got a battler I want to implement for a creature called "Voidcat". And when I put the notetag in the enemy's notes box, battles no longer work (even for troops that don't include this battler!). They just give me an error: "Uncaught Error: Argument Error". I definitely have the three Dragonbones export files in the assets folder. Here's the notetag:
<DragonBone Settings>
Battler: Voidcat
Replace Sprite
ScaleX: -0.13
ScaleY: 0.13
</DragonBone Settings>
When I remove that notetag, the error vanishes and battles work again normally. That notetag is actually identical to the other ones I'm using just with a different battler name. I've tried renaming it (in Dragonbones, both the project name and armature name) and it still gives me the same error. I whipped up another new battler and added that and it worked, so it's really just something with this battler...
Except I've gone through every single setting in Dragonbones I can find and they're all the same as the other battlers that are working.
I've actually just run into a fairly major issue and I have only the faintest idea of what's causing it.
I've got a battler I want to implement for a creature called "Voidcat". And when I put the notetag in the enemy's notes box, battles no longer work (even for troops that don't include this battler!). They just give me an error: "Uncaught Error: Argument Error". I definitely have the three Dragonbones export files in the assets folder. Here's the notetag:
<DragonBone Settings>
Battler: Voidcat
Replace Sprite
ScaleX: -0.13
ScaleY: 0.13
</DragonBone Settings>
When I remove that notetag, the error vanishes and battles work again normally. That notetag is actually identical to the other ones I'm using just with a different battler name. I've tried renaming it (in Dragonbones, both the project name and armature name) and it still gives me the same error. I whipped up another new battler and added that and it worked, so it's really just something with this battler...
Except I've gone through every single setting in Dragonbones I can find and they're all the same as the other battlers that are working.
I see. That's kinda stressful on your part I guess.
I hope we'll get an update or a way to get the dragonbones battler show the state and to work with yanfly's class change plugin soon.
I am seriously hoping since both Kel and yanfly already collaborated on this plugin. Another collaboration with yanfly's existing plugins would be good too. *crossfingers*
I hope we'll get an update or a way to get the dragonbones battler show the state and to work with yanfly's class change plugin soon.
I am seriously hoping since both Kel and yanfly already collaborated on this plugin. Another collaboration with yanfly's existing plugins would be good too. *crossfingers*
I think Kel has various new features planned. Also, Kel helped me sort out the problem I was having - basically, it was nothing to do with the plugin or anything, my dragonbones project was just corrupt -.-
Testing it out with my project's main character.
Looks good to me! I like the art, as well, that's really good. Who did it?
OT:
My girlfriend did the sprites. She does draw commissioned works, projects and etc. She's also the one who drew the characters in Dragon Date H-game that will be launched soon.
Here's her portfolio.
https://www.artstation.com/azumi212/profile.
Topic:
What other techniques/tutorial videos should I watch to efficiently use dragonbones software?
My girlfriend did the sprites. She does draw commissioned works, projects and etc. She's also the one who drew the characters in Dragon Date H-game that will be launched soon.
Here's her portfolio.
https://www.artstation.com/azumi212/profile.
Topic:
What other techniques/tutorial videos should I watch to efficiently use dragonbones software?
She kicks ass. I'll absolutely keep her in mind for commissions.
Yeah, this series of tutorials is what got me started:
Yeah, this series of tutorials is what got me started:
@Dirge
Yeah, haha. I'll watch the tutorial video. Also, do you have any idea how I can properly position my dragonbones battler during battle? I am using yanfly's battle engine core plugin and row formation plugin. I tried playing with the anchor settings on both but I am unsuccessful in doing so.
Yeah, haha. I'll watch the tutorial video. Also, do you have any idea how I can properly position my dragonbones battler during battle? I am using yanfly's battle engine core plugin and row formation plugin. I tried playing with the anchor settings on both but I am unsuccessful in doing so.
No idea, I've never used the row plugins, though I've been tempted, I haven't broached it with my team yet. However you place them normally, would be my guess, as Dragonbones just replaces the battler, not the positioning or anything.
I made few animations for my character. Several animations more to go.
Original thread: https://forums.rpgmakerweb.com/threads/rmmv-dragonbones-2d-animation-integration.81027/