daylily-zeleen / godot-dragonbones Goto Github PK
View Code? Open in Web Editor NEWA GDExtension plugin of DragonBones for Godot 4.x
License: MIT License
A GDExtension plugin of DragonBones for Godot 4.x
License: MIT License
I decided to test the plugin, and encountered a problem that some animations become distorted when the Z index is changed, for example, if you open the official “Ubbie” model and enable the “turn face” animation, the left hand either disappears or goes into the background, which is why it is not visible, in DB 5.6 everything looks good.
I exported the animation in JSON format, version 5.5
Hi,
I just tried installing this in a Godot project, but there's a configuration clash as this addon provides a project.godot
, which can't be installed alongside the pre-existing project's project.godot
.
You might want to split it into two addons, one with only the extension to add to an existing project, and one as a "Demo" with the demo + the extension configured, to install from the Project Manager as a standalone project.
DB has features such as skinning and IK, but it is not clear how to implement this in Godot, due to the lack of documentation, do you plan to expand the demo?
I might try creating more examples myself if I get the hang of the API
Dragonbones doesn't show up in Project/Project Settings/Plugins on:
Doesn't show up with the downloaded addon . Doesn't show up with the pre-compiled gdextendion version.
Seems to me like it doesn't work at all.
Best,
tL.
I tried to build the plugin using SCons, but errors are coming out, could you explain where to put godot-cpp and other assembly details, for example commands for a specific platform, and release and debug mode, and I would also be grateful if you wrote a separate one README.md in English, thank you!
I wanted to update the version, but I didn’t see anything new except the new format (.dbfactory), can you tell me more about it, what is it for, when exactly does it appear, and why not JSON?
Hey there!
I've seen today this error on OSX 10.14.6:
--- Debugging process stopped ---
Can't open dynamic library: /Volumes/HDD2/LK/godotdbe/addons/gddragonbones/bin/libgddragonbones.macos.template_debug.framework.
Error: dlopen(/Volumes/HDD2/LK/godotdbe/addons/gddragonbones/bin/libgddragonbones.macos.template_debug.framework/libgddragonbones.macos.template_debug,
2): Symbol not found: __ZTTNSt3__119basic_ostringstreamIcNS_11char_traitsIcEENS_9allocatorIcEEEE
Referenced from: /Volumes/HDD2/LK/godotdbe/addons/gddragonbones/bin/libgddragonbones.macos.template_debug.framework/libgddragonbones.macos.template_debug
**(which was built for Mac OS X 14.0)**
Aha, I thought... Build for OSX 14.0. That's a bit of a high system requirement.
So I thought I give it a shot and compile it myself for at least OSX Mojave.
But when I tried, I had this output:
TypeError: 'type' object is not subscriptable:
File "/Volumes/HDD2/Luetze/Downloads/New Folder With Items 3/Godot-DragonBones-master/SConstruct", line 28:
def add_sources_recursively(dir: str, glob_sources, exclude_folder: list[str] = []):
Hmm. I have no idea how to tackle this one... Maybe you can help?
That is the Folder Structure, I think this is right (I had to manually download and rename the Godot cpp git...) so maybe
there is an error in the structure..?
Best,
tL.
Okay, so on Windows (Godot 4.2 Stable) when I add a dragon_ske.dbfactory
into the
Dragonbones Factory slot, I can't see the Image. I also get an error in the debugger window:
E 0:00:01:0115 GDExtension::_register_extension_class_internal: Attempt to register extension class 'GDMesh', which appears to be already registered.
<C++ Error> Condition "ClassDB::class_exists(class_name)" is true.
<C++ Source> core\extension\gdextension.cpp:386 @ GDExtension::_register_extension_class_internal()
Not sure if this is a GDextension bug or if this is on your side... or if this has anything to do with your gdextension at all..?
Thing is, this happens also when I use the "Welcome Page/Armature Demo" Dragon.
(Exported as DragonBones JSON, DataVersion 4.5,5.0,5.5, Image Type: Texture Atlas.
FYI: When I use the same files with the "other" dragonbones plugin, which actually shouldn't work in 4.x,
it shows the image, (but I can't get the animation to work). Here, with your GDextension it doesn't show the image at all.)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.