Bevy's Powerful Secret: Commands

Поделиться
HTML-код
  • Опубликовано: 22 окт 2024

Комментарии • 13

  • @VladyVeselinov
    @VladyVeselinov 2 месяца назад

    Great video! If you're worried about execution times, you could implement your own command queue system that runs separately from Bevy's.

  • @nomadshiba
    @nomadshiba 11 месяцев назад +2

    you should also make 100 or 200 second videos showcasing random features of bevy.
    like first show an isolated real world problem, then show the bevy feature solving it.

  • @alexkazimir3835
    @alexkazimir3835 3 месяца назад

    Great channel 🎉

  • @tadeohepperle7514
    @tadeohepperle7514 11 месяцев назад

    This is exactly what I was looking for!

  • @RSchenal
    @RSchenal 11 месяцев назад +1

    great video, very useful! I finally started my new project and will use this, thanks!

  • @carlosverdes
    @carlosverdes 2 месяца назад

    Another approach is to create macros, they will remove the boilerplate and keep all the benefits like parallel processing

  • @nicwhites
    @nicwhites 11 месяцев назад

    Great content dude! Keep it going!

  • @natew4724
    @natew4724 11 месяцев назад +1

    why can't a system simply request mutable World access, and bevy ECS will figure out the parallelism?
    And could you add multiple systems and (a, b, c).chain() to run in specific order technically, or schedules.

    • @logicprojects
      @logicprojects  11 месяцев назад +6

      You can get mutable world access in a system but then it will run exclusively. The issue is the borrow checker, there's no way for bevy to know what you will do with mutable access to everything so you might have 2 parallel systems changing the same piece of data which is forbidden.

  • @38rtm
    @38rtm 11 месяцев назад

    Have you try to add a impl trait on Commands?
    You could add a custom function via trait "spawn_cube“.
    And call commands.spawn_cube(...
    But you need to do some lifecycle, in other hand the performance is better I think.

    • @logicprojects
      @logicprojects  11 месяцев назад

      I haven't tried that myself so I'm not sure where the differences would be. It shouldn't have better perf because you still need them to run exclusively but the ergonomics might be different

  • @jeffg4686
    @jeffg4686 11 месяцев назад +1

    I Command thee to add VR / AR and AI capabilities to Bevy.
    This message was created using AI.

    • @MalekiRe
      @MalekiRe 11 месяцев назад +1

      I already did (VR )