Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More advanced examples #10

Open
JekSun97 opened this issue Apr 12, 2024 · 8 comments
Open

More advanced examples #10

JekSun97 opened this issue Apr 12, 2024 · 8 comments
Labels
documentation Improvements or additions to documentation help wanted Extra attention is needed

Comments

@JekSun97
Copy link

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

@Daylily-Zeleen Daylily-Zeleen added documentation Improvements or additions to documentation help wanted Extra attention is needed labels Apr 12, 2024
@Daylily-Zeleen
Copy link
Owner

Sorry, I have not time to make more demo and documentation,

Welcome to submit any fixes and optimizations.

@JekSun97
Copy link
Author

JekSun97 commented Jul 8, 2024

@Daylily-Zeleen More advanced examples are almost ready, there are a few issues left to fix that I reported and it will take me some more time to put everything together

@blurymind
Copy link
Contributor

blurymind commented Dec 11, 2024

are there any examples? The readme has no code snippet, the folder has no demo project. This is almost unusable atm :(

I could load the example rooster file from dragonbones, but i have no idea how to make it actually play any animation.

Edit: if you download the repository as a zip from this repo - the demo folder is empty.

When you do open it, you get this
image

using assetlib to add the addon, then reopeniing the project fixes that

Wouldnt it make more sense to have a demo project on another repository that you link to - and that repository has a propper readme file that says how to initialize the demo, shows some basic code examples in the readme - so you dont even have to open the demo.

I almost want to make a simple demo repository to show you what i mean :(

@blurymind
Copy link
Contributor

Here's a basic demo project - maybe it will help others? :) Feel free to link to it if you like
https://github.com/blurymind/godot4-dragonbones-demo-animations-and-slots/tree/main

@Daylily-Zeleen
Copy link
Owner

@blurymind the issue that missing files in "demo" when downloading this repo as zip archive is fixed by this commit.

The simple demo is available now, and thanks for your demo, I will link it in the readme.md later.

@blurymind
Copy link
Contributor

@Daylily-Zeleen thank you :)

btw this might be a stab in the dark, but I recently tried to run the dragon bones project in xodot, but ran into an error
xibbon/XogotIssues#48

Xodot is a port of godot 4 editor to ios
https://www.youtube.com/watch?v=81l8qiWuuNs

its currently in early beta test access. You can try it out if you fill in a form as the video says

@Daylily-Zeleen
Copy link
Owner

@blurymind I have not ios or macos device, I can't test and guarantee this plugin can run correctly on these platforms.
And this plugin is not for xodot (I don't care about it), you should test on ios by using godot.
Additionaly, event if this plugin can't run on ios, you should open a new issue, it is not relate on this issue.

@blurymind
Copy link
Contributor

blurymind commented Dec 19, 2024

I recently learned that xodot doesnt support gdextensions out of the box. Instead they sort of bundle the more popular ones with the engine.

I hope my ticket at the xodot tracker motivates them to include the dragonbones extension. I will also in the future improve my example by adding more things - like smooth animation transition, partial rig control, etc. Just need to get some time to learn more how that stuff is done.

Of course I will try to keep the demo as simple as possible, so even if you dont open it in godot, you can kind of figure out how to do the stuff just by glancing at the readme example.

I can test this on ipad and ios, just need to get more time. If this gets added to xodot - it will be super easy to confirm if it works by just opening and running it there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants