DragonBone causing game not to launch

I'm not sure if this is the right place to post this but I couldn't find anywhere else that fit.

Anyways, straight to the point. I installed DragonBones stuff from Yanfly so I can has some nice looking bad guys, but when I try to launch the game it gives me one error, "Uncaught ReferenceError: dragonBones is not defined"

I'm sure the fix is simple, but nothing I've been looking up has been able to help.

Thanks in advance!

upload_2019-3-19_15-18-41.png
My project had a similar error after it was deployed. Unfortunately, the only thing I could do to fix it was to eliminate Dragonbones all together and use static image versions of the Dragonbones assets. Though for this particular error, did you follow the setup instructions on the plugins page of Yanfly's site? Because it states you have to modify the project's index.html file (with a text editor like Notepad++) a certain way to use it.
My project had a similar error after it was deployed. Unfortunately, the only thing I could do to fix it was to eliminate Dragonbones all together and use static image versions of the Dragonbones assets. Though for this particular error, did you follow the setup instructions on the plugins page of Yanfly's site? Because it states you have to modify the project's index.html file (with a text editor like Notepad++) a certain way to use it.
I'm pretty sure I followed the directions correctly, I edited the Index file and all that, though it's entirely possible I did it wrong. I'm going to try a few things but I'm still stumped.
Please show a screenshot of your index.html file side-by-side with a screenshot of your folder that contains the DragonBones library files.

And a screenshot of the full error message from the Console for good measure (press F8 when it crashes to open the Console)
Please show a screenshot of your index.html file side-by-side with a screenshot of your folder that contains the DragonBones library files.

And a screenshot of the full error message from the Console for good measure (press F8 when it crashes to open the Console)

A screenshot of the contents of the folder, or a screenshot of the one containing the folder?
upload_2019-3-19_17-53-44.png
upload_2019-3-19_17-54-43.png
Chances are you have stuff in the wrong folder. They go in from root
ROOT/js/libs/dragonbones
and for assets themselves they go in
ROOT/dragonbones_assets

I've moved this thread to Plugin Support. Thank you.

Moved to: Plugin Support
Thank you, and sorry!

Chances are you have stuff in the wrong folder. They go in from root
ROOT/js/libs/dragonbones
and for assets themselves they go in
ROOT/dragonbones_assets

Okay, so where exactly is this ROOT folder? I don't see one in my files?
@GriffintheD Root refers the folder the file starts in. This is what the root of a RPG Maker MV project looks like:
Spoiler: Image inside to reduce page size
upload_2019-3-19_21-40-54.png
Basically your index.html and where the actual files are has to match.

In your index.html, you have written "js/libs/dragonbones/dragonBones.js"

Where is that dragonBones.js file? Is it in that folder that you have written? Show us where the dragonBones.js file is.
Basically your index.html and where the actual files are has to match.

In your index.html, you have written "js/libs/dragonbones/dragonBones.js"

Where is that dragonBones.js file? Is it in that folder that you have written? Show us where the dragonBones.js file is.

upload_2019-3-19_18-48-27.png

I believe this is the file you're referring to?
ah... I see what you did.
you only need the dragon bones files in that folder.
dragonbones.js
dragonbonesPixi.js

Move the other stuff back to where that where. ROOT/js/libs is where the libs go only dragonbones libs above go in ROOT/js/libs/dragonbones/

Another way to make sure your javascript files go is to check index.html the path is listed. And that is actually what matters. if your path is wrong. Then the file simply won't load. No Error either IIRC when I tried to install Dragonbones. You just get Dragonbones Not Defined
ah... I see what you did.
you only need the dragon bones files in that folder.
dragonbones.js
dragonbonesPixi.js

Move the other stuff back to where that where. ROOT/js/libs is where the libs go only dragonbones libs above go in ROOT/js/libs/dragonbones/
Okay I think we're making progress but now I'm getting a new problem trying to launch the game.
Congrats you got the script working now we gotta get the textures working! 🙂
You most likely have your DragonBones Assets folder in the wrong place. The Root Folder is your game folder where all your custom directories should go. You want your dragonbones assets located there.

e.g.
ROOT/dragonbones_assets/
Congrats you got the script working now we gotta get the textures working! 🙂
You most likely have your DragonBones Assets folder in the wrong place. The Root Folder is your game folder where all your custom directories should go. You want your dragonbones assets located there.

e.g.
ROOT/dragonbones_assets/
So you mean something like this?
(The game in the files is called "Skyborne" still but I'm aware that game already exists, the name is different I just don't know how to change the file name without it freaking out)
upload_2019-3-19_20-21-49.png
yep but the folder is sensitive needs to be dragonbones_assets
won't be read otherwise.

P.S. As for changing the game title you do that in system.
yep but the folder is sensitive needs to be dragonbones_assets
won't be read otherwise.

P.S. As for changing the game title you do that in system.
OH MY GOD MY BABY IS ALIVE AGAIN!! Thank you so much! You and everyone else that helped!
Oh dear god now I have to see if the actual animations work ;-;

Oh and I know I can change the name in system, it just doesn't change the name in the files, and if I try renaming the folder it refuses to save

EDIT: Okay now I'm having another issue but the game is playable. The animations aren't working and it's facing the wrong way
Did you copy and paste the notetags? (those are the text files)
As for facing the wrong way.
Toggle Sideview battle. (It's In system)
Did you copy and paste the notetags? (those are the text files)
As for facing the wrong way.
Toggle Sideview battle. (It's In system)
Pretty sure the notetags are correct, it's showing the giant kitsune (the file I'm using) but it's not showing any of its animations
And I have sideview battle turned on

Original thread: https://forums.rpgmakerweb.com/threads/dragonbone-causing-game-not-to-launch.107012/