Coder Social home page Coder Social logo

Comments (6)

QueenOfSquiggles avatar QueenOfSquiggles commented on June 22, 2024 1

Just for tracing the PR for the website example is here

from bevy.

QueenOfSquiggles avatar QueenOfSquiggles commented on June 22, 2024

I'm still learning the intricacies of rust, but I wager I can at least make a simple implementation of this functionality. At the very least I'm going to give it my best ❤️

from bevy.

alice-i-cecile avatar alice-i-cecile commented on June 22, 2024

Awesome, thanks! Let us know if you need any help.

from bevy.

QueenOfSquiggles avatar QueenOfSquiggles commented on June 22, 2024

From a failure to compile on the examples, I found this chunk of code in the Observers example

(examples/ecs/observers.rs:93-98)

    commands
        .spawn(Mine::random(&mut rng))
        // Observers can watch for events targeting a specific entity.
        // This will create a new observer that runs whenever the Explode event
        // is triggered for this spawned entity.
        .observe(explode_mine);

This seems to imply the desired functionality has already been merged? Unless I'm misunderstanding, which is definitely possible.

from bevy.

alice-i-cecile avatar alice-i-cecile commented on June 22, 2024

Oh! I must have misinterpreted the API: it was changing last minute. Are you able to verify and then update the example at https://github.com/bevyengine/bevy-website/blob/main/release-content/0.14/release-notes/10756_hooks_and_observers.md for me @QueenOfSquiggles?

from bevy.

QueenOfSquiggles avatar QueenOfSquiggles commented on June 22, 2024

Sure thing @alice-i-cecile . I'll get that started in a bit here

from bevy.

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.