bsn! prototypes, mixed lighting, and avian 0.2 - This Week in Bevy

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 ธ.ค. 2024

ความคิดเห็น • 11

  • @natan_amorim_moraes
    @natan_amorim_moraes 17 ชั่วโมงที่ผ่านมา +1

    the UI Demo reminded of flutter a bit (which I love)

  • @redrace2.074
    @redrace2.074 18 ชั่วโมงที่ผ่านมา +1

    thank you chris. Love you

  • @riufq
    @riufq 18 ชั่วโมงที่ผ่านมา +4

    Since bevy doesn't have editor and viewport. Does it mean when people wanna see the change. They must compile it every time, right?

    • @chrisbiscardi
      @chrisbiscardi  18 ชั่วโมงที่ผ่านมา +3

      it depends on the change. For a piece of Rust code yeah you have to do an incremental compilation (not a full compilation), if the change is an asset (gltf, scenes, textures, shaders, etc) that's all hot-reloadable, and Bevy also has an optional http server plugin to interact with running games, so you can add/remove/etc entities in running games via debug tools or http clients (like the VSCode inspector in the video this week)

    • @riufq
      @riufq 17 ชั่วโมงที่ผ่านมา +2

      @chrisbiscardi when you say http. It's run on browser?

    • @chrisbiscardi
      @chrisbiscardi  17 ชั่วโมงที่ผ่านมา +3

      you're close. A web browser does send http requests to fetch web pages but the more common way to interact with an http server like the one in Bevy is to build a UI on top of it or use an http client (like curl in the terminal, or the postman app, etc).
      here's an example of using curl on a random game I was just working on. The curl command is run in a terminal while the game is running and it returns the positions of everything in the game (the Transform component): gist.github.com/ChristopherBiscardi/00cadc0e920b7ea6a173d4e791876c6e
      The VSCode inspector UI from the video is built on these APIs and uses JavaScript to query the http server to fetch data and make changes, similar to the curl example.
      So the http apis are something you can use a client to build a web application ui interface on top of. The apis are new, so there's a lot of people experimenting with building these new UIs.

    • @riufq
      @riufq 16 ชั่วโมงที่ผ่านมา +3

      @@chrisbiscardi thank you so much, for taking your time to explaining this to me. Thank you. Hope there's more bevy tutorial out there.

  • @marko-lazic
    @marko-lazic 6 ชั่วโมงที่ผ่านมา

    Font is Pixeloid Mono. Got it.

  • @jagagemo8141
    @jagagemo8141 12 ชั่วโมงที่ผ่านมา +1

    Wrong place to ask, I know, but how about a look at iced 13?

    • @chrisbiscardi
      @chrisbiscardi  12 ชั่วโมงที่ผ่านมา +1

      @@jagagemo8141 will put it on my list