GithubHelp home page GithubHelp logo

Comments (7)

jkb0o avatar jkb0o commented on July 22, 2024 2

It took some time to prepare internals for proper example @TotalKrill have asked about. There is party-editor example. There is also section in README about modifying UI.

Also, you've noticed you would like to react to third-party events, like PickingEvent from bevy_mod_picking. It was not possible in previous versions of belly, but for now, after rewriting connections systems it could be easily implemented, see Connections readme sections.

from belly.

jkb0o avatar jkb0o commented on July 22, 2024 1

There are no windows/popups out-of-the-box widgets yet, but is is already possible to do the stuff you requested. I'll provide example in short.

from belly.

bekraoui avatar bekraoui commented on July 22, 2024 1

tabview

from belly.

bekraoui avatar bekraoui commented on July 22, 2024 1
  • Code source for the tab example

tabview-plus.rs

  • See also this simplified exemple for using event to triger creation of UI parts from multiple systems :

multi-system-on-event.rs

multisys

  • I think you could also use Resources instead of event because the basic idea is to transfert the parent entity id to the systeme that create the child UI and use push_children for composition

from belly.

bekraoui avatar bekraoui commented on July 22, 2024 1

Wow. That's amazing. Thank you for the hard work

from belly.

bekraoui avatar bekraoui commented on July 22, 2024

There are no windows/popups out-of-the-box widgets yet, but is is already possible to do the stuff you requested. I'll provide example in short.

I have worked on an a modified example tabview that add a tab on demand.
I can add it to the the examples or put code here if the admin like it.
The idea is to use push_children from bevy this way you can compose a UI using multiple systems

from belly.

jkb0o avatar jkb0o commented on July 22, 2024

Wow. That's amazing. Thank you for the hard work

My pleasure!

from belly.

Related Issues (20)

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.