[RMMV] DragonBones 2d Animation Integration

Nice Animations @YuiDemonia
Off-topic tho, are you by any chance Filipino, because i see your GF is from Ph so i was just wondering. Many talented folks out there so far.
@Arcanus Yes, I am a filipino. 😀


EDIT:
@Dirge I have encountered the issue you are experiencing regarding the states. Mine shows below the battler instead of above the head.

@YuiDemonia In your database, do you have an empty image set for the enemy, or none at all? That looks to me like you don't have any image associated with it. Try this: In dragonbones, hit Export, and then Image, to get an image of your battler. Then open it in gimp/paint/whatever and delete the actual battler, and save the empty canvas and set that as the image in the database. That should fix the issue, by accurately defining your battler's height... just a theory though, I'm actually about to test it right now
@Dirge Do you mean the actor? I still have the chibi battler in my database. I tried using slightly bigger battler (vibrato's Ald battler) and I got same result. How about on your end?
My states aren't even showing up on the battler at all. Which, for me, isn't such a huge deal...My main problem is my battle select cursor is floating smack in the center of the battle despite being set to above. Seems to me the engine isn't picking up on the battler's actual size.
Hello, can i ask what problem i got here? The game run just fine while Test Play but after
i exported the game into Window Platform, this error shows up right before enter a battle
upload_2017-9-4_6-14-31.png
I'd like to know if I can assign parts that can be targetteable like head, torso, shoulder, knee, etc and if is possible to attach different weapons/armors.
@ICF-Soft Here's what I would try: Create your full battler normally as one thing. Then duplicate the project for each piece you want to be targetable, name them accordingly, hide the other bits, export them. Have them as individual enemies, arrange them so that the pieces form the battler you want.

You'll have to also do your animations for your "core" piece with everything attached, and use those as separate poses. In the enemy's skill notetags, you'll need to build it so that it swaps to the "full body" version and hides the other enemies at the same time. Make the "parts" enemies unable to act (unless you actually want them behaving independently of the body... *shrug*)

You'll need to duplicate your various animations of the core piece to account for each combination of pieces though, so that you don't get an attack animation that has both arms after the left arm has been killed or whatever. You'll also need a way to start a different idle animation loop when pieces get destroyed. I'd suggest a skill that does nothing but switches it to a different animation based on the "parts" enemies still alive, and have it triggered in the troop when an enemy drops to 0 hp, core piece plays skill X which will check which enemies are still alive and play the appropriate idle animation. effectively just cause it to swap idle animations when something dies.

I think. Have been thinking about this but haven't commissioned the art for this battler yet so I haven't tested the theory. There's other layers to it as well... I'd say have a piece dying apply a "Left Arm Dead" invisible state that lasts forever on the core piece. Then have your enemy's skill notetags use different dragonbones animations based on which states are active. Your action sequences are gonna have to be fairly complicated, but it -should- work.

As for attaching different armors, yeah, you can do that directly in dragonbones. Assuming you want to swap armor pieces on the fly in battle...you can have multiple images attached to one bone, and you can turn them on or off by animation, so you would build copies of all your animations with the various armor bits attached how you want, name them accordingly, and then use a similar trick above, have whatever it is that's triggering the armor change play a skill that simply swaps stuff.

Again, if you do both of these things together, you're going to have pages of If...Else statements in your action sequences but it will work...
Hi Guys sorry for my english.
I have problem with visibility character create with dragon bones battle system.
Spoiler: Screen
ajqtti.png

wb2mg1.png

foiopf.png

Where is the problem?
Ty for help 🙂
Hi Guys sorry for my english.
I have problem with visibility character create with dragon bones battle system.
Spoiler: Screen
ajqtti.png

wb2mg1.png

foiopf.png

Where is the problem?
Ty for help 🙂

What you need to do is rename the Armature to match your filename/battler by right-clicking it below the library.
Spoiler: Adjust it here
12a0200185bd9f0c70ff73cb0957a334.png
In my case it's "SlimeBasic" but you would want to call it "MimicSpada"

My states aren't even showing up on the battler at all. Which, for me, isn't such a huge deal...My main problem is my battle select cursor is floating smack in the center of the battle despite being set to above. Seems to me the engine isn't picking up on the battler's actual size.
@YuiDemonia
What you both need to do is set the battlers height using "<DragonBone Height: x>" in the notebox.
Currently the state icons show behind the battler, likely why you think they aren't showing.
For now you just need to set that height so they are above the battler, hopefully an update soon will fix this.
@SwiftIllusion I'm travelling at the moment so it'll be a couple weeks before I get a chance to test this out but I'm looking forward to it, will this also apply to animations being played on the battlers? That would be amazing
@Dirge What do you mean by it applying to animations being played on the battlers?
If you're talking about things like visual effect animations targeting the center of the character, etc, it should adjust that too.
Also just to let you know if you get the latest dragonbones.js from http://yanfly.moe/2017/08/04/yep-150-dragonbones-integration-rpg-maker-mv-2/ the state icons display in front of the battlers/actors now.
That's exactly what I meant, yes, thank you! Yay!

My only remaining big problem is that there's no way as yet to actually change the battler based on equipped weapons, i.e. actors will always have exactly the same weapons, visually. I suppose I'll need to commission someone to build a way to do that, because I really don't want to stick to the chibi SV battlers when I'm using Dragonbones for the rest of my battlers with a totally different style.
Hi, I'm using a 2 directional script (where the sprites only go left and right even when moving up and down, kind of like retro games)....Would it be possible in the future to set up this script for on map characters?

I'm working on a similar game and would love to have the option of using Dragonbones for map sprites too. Hoping this'll happen one day!
Hi, someone has an old version of the dragonbones installer is that i update and now does not work with the plugin
When my char uses "shoot normal" animation it plays below large DB enemies even though I set it to animate at "head".
If I edit animation and move it above it will affect the smaller enemies and plays way above their heads...
how do you make the game identify the DB enemy's head position.
I already tried using the height note tag but still doesn't work.


-I manage to make the animation show at head by keeping the blank enemy sprite, but if there is a better way to do it, do tell..
@Rin2595 I haven't gotten back to my studio yet to check this but try putting the following in the notebox, where X is the height you want it to be:

<DragonBone Height: x>
Hi there,
the is an issue after encrypt the image files with rpg maker (.rpgmvp).
The browser has trouble with this - is there a possibility to encrypt images and still use Dragonbones?
Thanks for your time :]
Hi, someone has an old version of the dragonbones installer is that i update and now does not work with the plugin
You can use DragonBones 5.5, but you must now change the export settings so you are using Data version 5.0
Spoiler: Export Settings
9LNmE0L.png
@SwiftIllusion hey, finally home and got to try the height thing but it doesn't seem to work. The animations are still playing at the bottom of the battlers instead of center - I checked this in the demo project you can get from Yanfly's site and it's the same there too. Maybe the Height/width parameters are broken?

Original thread: https://forums.rpgmakerweb.com/threads/rmmv-dragonbones-2d-animation-integration.81027/