druid icon indicating copy to clipboard operation
druid copied to clipboard

Provide Component File Examples for Faster Prototyping

Open cenullum opened this issue 3 months ago • 4 comments

Currently, the example project included provides many useful demos, but they are not available as component files. Because of this, I cannot directly use them in my own project and need to manually recreate them from scratch.

Having ready-to-use component files would make it much faster and easier to prototype, as I could simply drag and drop or reference the components instead of rebuilding them.

This small change would significantly improve usability and reduce setup time for developers who want to quickly test or integrate Druid features.

cenullum avatar Sep 06 '25 09:09 cenullum

Hello! Thanks for the feedback

Not sure about which exactly examples you pointing? Most of them is a example how to use and they not will able to be "single export" thing

Widgets is the way to make drag-n-drop solution to create some things, but currently I have only few of them (fps_panel, properties_panel, etc)

All examples is a custom widgets implementation and should lead to how to use most of built-in components. Probably there are should be more useful widgets for prototyping with more useful cases (inventory, scrollable list of elements, menus etc) but no any good idea about what to do

Don't see that current examples are can be plug-and-play now

Insality avatar Sep 08 '25 16:09 Insality

yes I liked fps panel and I didnt mean examples in html demo directly. Things like a standard button, a progress bar, or a rich text label, all created with theme of the font and 9-slice images ui_circle_64.png that comes with druid. I meant more common basic things

cenullum avatar Sep 08 '25 18:09 cenullum

yea, understand you! It will be good for sure, still keeping similar ideas in my head how to make this in the good way (due the various things with templates in Defold there are some nuances)

This generic things kind in on way, but I expecting users also can create they styled components to be reusable and share with each other in the future

Insality avatar Sep 08 '25 18:09 Insality

Will be solved via asset store in Defold https://forum.defold.com/t/defold-in-editor-asset-store/81969/11

There will be a Druid Widgets with one click plug-in-play thing

Insality avatar Nov 29 '25 10:11 Insality