Provide Component File Examples for Faster Prototyping
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.
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
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
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
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