[Solved] Having trouble getting the Yanfly DragonBones Integration Plugin to work.

● ARCHIVED · READ-ONLY
Started by CamPhilArt 7 posts View original ↗
  1. Hello everyone, I have been having a lot of trouble getting the DragonBones Integration to work, and I'm following as close as I can to the instructions, maybe there some small mistake I made somewhere or a concept I'm not grasping. But please take a moment to look through the following post.

    Basically whenever I try to use an actor in sideview battle this happens.
    Screen Shot 2018-08-20 at 4.02.35 PM.png

    I will be going step by step to on the installation guide to demonstrate how much I have.

    From yanfly.moe itself

    1. Make sure you have at least RPG Maker MV version 1.4.0 or above. Recommended version is 1.5.0 and above!
    Screen Shot 2018-08-20 at 3.33.56 PM.png

    2. Download the Installation Pack from Yanfly.moe or from here
    Screen Shot 2018-08-20 at 3.37.23 PM.png

    3. Extract the Installation Pack using WinZip or WinRar.
    (Once extracted you get this folder)
    Screen Shot 2018-08-20 at 3.39.44 PM.png

    4. Copy the contents of the ‘js’ folder into your project’s folder matching the directory structure and files.
    Screen Shot 2018-08-20 at 3.41.06 PM.png 1. First I go into this folder
    Screen Shot 2018-08-20 at 3.41.53 PM.png 2. The only contents are this one folder. (So do I take the entire folder or the folder within? But I proceed with just the libs folder for now.)

    5. Open up your game project’s index.html file with Notepad/HTML editor
    Screen Shot 2018-08-20 at 3.45.26 PM.png

    6. Find <script type=”text/javascript” src=”js/libs/pixi-picture.js”> and insert the following lines under it:

    <script type=”text/javascript” src=”js/libs/dragonbones/dragonBones.js”></script>
    <script type=”text/javascript” src=”js/libs/dragonbones/dragonBonesPixi.js”></script>

    Screen Shot 2018-08-20 at 3.46.48 PM.png (Should there be a space between them? I can't imagine that would really matter here as it would just read the next line. I would assume you then save the index and it should be changed now, correct?)

    7. Install this plugin by adding it through your Plugin Manager.

    Screen Shot 2018-08-20 at 3.49.54 PM.png

    8. Make sure this plugin is located UNDER the following plugins:
    YEP_BattleEngineCore
    YEP_X_ActSeqPack1
    YEP_X_ActSeqPack2
    YEP_X_ActSeqPack3
    YEP_X_AnimatedSVEnemies

    Refer to above image.

    9. Copy the DragonBone assets from the Installation pack into the respective folder you wish for your game project. Adjust the ‘Assets Path’ plugin parameter to match the folder path.

    Screen Shot 2018-08-20 at 3.52.48 PM.png
    Screen Shot 2018-08-20 at 3.56.08 PM.png

    10. Save your game project!
    Always saved after trying.

    Now I want to show the enemy I'm using to test this. I decided to replace the bat sprite with the demon battler. This is where I'm pretty sure I'm getting something wrong and that the notetags I'm adding are more than likely not correct and causing the issues.
    Screen Shot 2018-08-20 at 4.04.15 PM.png

    But what is the proper structure to make everything work? I look on their youtube video showing off the plugin and this is displayed. But that's all that is displayed, is there more important information that NEEDS to be added? Like the height and width, I would imagine those might be needed, but my question in that case is why don't they show you the entire note box in order to show a complete and working example?
    Screen Shot 2018-08-20 at 4.08.31 PM.png

    Also, just in case you are wondering I know people have mentioned to make sure the armature and the file are the same name.Screen Shot 2018-08-20 at 4.12.46 PM.png What it looks like in the assets folder. Screen Shot 2018-08-20 at 4.12.58 PM.png What it looks like in the DragonBones program. I also capitalized in the note tags on my enemy as you can see above.

    So if my note tags are incorrect I would love if someone could give me an explanation of what exactly needs to be included and why, so that I have a full understanding of it.

    If there is any other screenshots I could take or information I could give, don't hesitate to request I provide it. I REALLY want to get this to work. Much thanks to anyone willing to offer a helping hand with this.
  2. 1.) According to your index.html, the libraries are put into the "/js/libs/dragonbones" folder.

    Can you show a screenshot of the "/js/libs/dragonbones" folder?

    2.) Please show a screenshot of the full error message by pressing F8 during the playtest and showing the "Console".
  3. Screen Shot 2018-08-20 at 7.14.21 PM.png There is this, I remember looking into this and found someone's supposed solution to this problem was by putting the dragonbones.js and Pixi.js into the libs folder, is this what's conflicting? I think I forgot about them.

    Screen Shot 2018-08-20 at 7.19.14 PM.png There you go. Thanks for the reply by the way, it's appreciated.
    • From your folder screenshot, I can see that you've placed the "dragonBones.js" and "dragonBonesPixi.js" files inside of your "js/libs" folder.
    • In your "index.html" file, you reference those files as being inside your "js/libs/dragonbones" folder (which doesn't exist).
    Do you see the difference? (note the bold text)
    The "index.html" file has to match your project folders, otherwise it tries to load the libraries from somewhere that doesn't exist. Then if the libraries aren't loaded, the plugin won't work.

    There are two solutions, and either will work fine.

    1.) Create a new folder inside your "js/libs" folder and call it "dragonbones". Move the "dragonBones.js" and "dragonBonesPixi.js" files inside.
    • In this solution, you modify your project folders to match your "index.html"
    or

    2.) Modify your "index.html" file to forget about the "dragonbones" folder
    • <script type=”text/javascript” src=”js/libs/dragonBones.js”></script>
    • <script type=”text/javascript” src=”js/libs/dragonBonesPixi.js”></script>
    • In this solution, you modify your "index.html" to match your project folders
  4. Aloe Guvner said:
    • From your folder screenshot, I can see that you've placed the "dragonBones.js" and "dragonBonesPixi.js" files inside of your "js/libs" folder.
    • In your "index.html" file, you reference those files as being inside your "js/libs/dragonbones" folder (which doesn't exist).
    Do you see the difference? (note the bold text)
    The "index.html" file has to match your project folders, otherwise it tries to load the libraries from somewhere that doesn't exist. Then if the libraries aren't loaded, the plugin won't work.

    There are two solutions, and either will work fine.

    1.) Create a new folder inside your "js/libs" folder and call it "dragonbones". Move the "dragonBones.js" and "dragonBonesPixi.js" files inside.
    • In this solution, you modify your project folders to match your "index.html"
    or

    2.) Modify your "index.html" file to forget about the "dragonbones" folder
    • <script type=”text/javascript” src=”js/libs/dragonBones.js”></script>
    • <script type=”text/javascript” src=”js/libs/dragonBonesPixi.js”></script>
    • In this solution, you modify your "index.html" to match your project folders
    It totally worked, thank you so much! Okay so I needed to have them be in that folder because it wasn't referencing them correctly is what I'm understanding. I hope this thread helps others in my position to keep that in mind.

    But one more question. Now my actual actors aren't showing up in sideview battle. I'm going to be using dragonbones rigs for them too so maybe it shouldn't matter just wondering if there is something wrong here or if I might just have to restart or something?
  5. Sorry, for that part I can't help (I don't use the plugin myself). Hopefully someone else will know the answer.
  6. Aloe Guvner said:
    Sorry, for that part I can't help (I don't use the plugin myself). Hopefully someone else will know the answer.
    It's okay, thank you so much my friend, this was the most important plugin I needed to get working for my game and I've taken a massive step to really getting into it's development with it. Have a great day and thanks again for your help!