Giter Site home page Giter Site logo

daylily-zeleen / godot-dragonbones Goto Github PK

View Code? Open in Web Editor NEW
55.0 2.0 5.0 224.04 MB

A GDExtension plugin of DragonBones for Godot 4.x

License: MIT License

Python 0.31% C++ 97.12% C 1.94% CMake 0.58% Shell 0.04%
2d addon animation dragonbones gdextension godot godotengine plugin

godot-dragonbones's Issues

problem with some animations

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

Godot 4.2.1:
3123

Dragon Bones 5.6:
332

Configuration issue on the Asset Library

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.

More advanced examples

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

Dragon Bones not showing up in Project Settings/Plugins

Dragonbones doesn't show up in Project/Project Settings/Plugins on:

  • GD 4.2 OSX
  • GD 4.2 Windows
  • GD 4.3 beta 1 OSX,
  • GD 4.3 beta 1 Win.

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.

Building the extension

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!

New format .dbfactory

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?

DragonBones Extension on OSX

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..?

Screenshot 2024-06-09 at 17 31 59

Best,
tL.

DragonBones gdextension doesn't show the image when dragon_ske.dbfactory is draggen into the factory-slot

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.)

Startup problem

The plugin looks very useful. However, for some reason I can’t run the plugin downloaded from the assets library or the compiled version from GitHub. Tested on Linux with Godot version 4.2 and 4.3. Usually the log looks something like this:

Screenshot_2024-04-12_08-46-11

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.