Build Your First Game in Bevy and Rust - Step by Step Tutorial

Поділитися
Вставка
  • Опубліковано 27 січ 2025

КОМЕНТАРІ • 95

  • @ikiguy95
    @ikiguy95  Рік тому +13

    Source code: github.com/c-gamedev/bevy-breakout
    Assets: github.com/c-gamedev/bevy-breakout/tree/main/assets

    • @TON-vz3pe
      @TON-vz3pe Рік тому

      Awesome tutorial. How much time did it take you to make this?

  • @mikkelens
    @mikkelens Рік тому +42

    This is exactly the type of bevy tutorial I have been looking for! You don't spend 10 minutes talking about the benefits of ECS/Rust, you just jump directly into it and expect those who want to follow along to be able to keep up.
    Very very excited for the video(s) on bevy gizmos/egui.

    • @ikiguy95
      @ikiguy95  Рік тому +1

      Thanks! I'm working on the bevy egui editor video this week, learned a lot. I'll probably record it this weekend and release the video the saturday after that

    • @RoastLambShanks
      @RoastLambShanks 9 місяців тому

      a little too fast, when he said cargo add bevy, the next screen is looking at the Cargo.toml file. very confusing. luckily I rewound the vid and noticed the missed step. butt the screen was too fast. If its hard for someone to hit pause, before the vid moves on, its too fast.

    • @Metruzanca
      @Metruzanca 8 місяців тому +2

      Yes exactly. I don't want a "no programming experience required"-style tutorial.

  • @jaykrown
    @jaykrown 11 місяців тому +1

    12:52 is so satisfying. Thank you for structuring the video in a way that exemplifies the efficiency of ECS. Very intuitive.

  • @rogerwinright2290
    @rogerwinright2290 2 місяці тому +1

    This is such a well-structured and awesome tutorial. I'm learning Bevy still but I'm picking it up kinda quick. I migrated the codebase to 0.14 myself, but it'd be awesome if you made a few more tutorials of this sort in the future with the new version of the framework! Easy content!
    Thank you again!

  • @bluedark7724
    @bluedark7724 Рік тому +8

    You made it on weekly in Rust.
    You are completely correct there's not much out there on Rust and game programming.
    The Audio is very deep listening in the car, I might try at home.
    Thanks for showing the rust love

    • @ikiguy95
      @ikiguy95  Рік тому +1

      That's so cool! Thanks for the heads up and the support. I'm working to make my audio post processing better for the next video, so it's louder/clearer

  • @ErhanTezcan
    @ErhanTezcan Рік тому +1

    great video! starting 2024 with some Bevy stuff, this was the first one :)
    keep em coming

  • @flwi
    @flwi 7 місяців тому +1

    Just learned about bevy recently and your tutorial helped me understand lots of the core components and how they interact! Well done!

  • @Zitrone21
    @Zitrone21 Рік тому +3

    Thanks, now I finally understood how this game engine works

  • @lm2668
    @lm2668 Рік тому +2

    Loved the video, WE NEED MORE!!

  • @kaby3190
    @kaby3190 Рік тому +11

    Excellent video! I especially loved the graphical explanations, they really helped me comprehend the code rather than blindly copying it
    Btw in case you were unaware at 8:59 there is a sudden loud sound

    • @ikiguy95
      @ikiguy95  Рік тому +3

      Glad you liked the video! Thanks a lot for the heads up, I'll see if I can cut it on youtube studio

  • @specwnm
    @specwnm Рік тому

    bro tf such a good tutorial. hope you wont stop

  • @ZaaackBR
    @ZaaackBR 4 місяці тому

    estava suspeitando do seu sotaque, até ver que tu é brasileiro! hahaha
    ótimo tutorial.

  • @noahpro
    @noahpro Рік тому

    This was the cleanest example for ECS I have seen. Thank you!

  • @Lespati-wy9dy
    @Lespati-wy9dy Рік тому +1

    Thats a new sub bro! Good work, keep it up... ❤

  • @chickenfur
    @chickenfur Рік тому

    Thank you very much. Waiting eagerly for the next one.

  • @laundmo
    @laundmo Рік тому +9

    huh, i would have expected sprite rendering to drop below 60fps with the many balls demo, considering sprites aren't batched yet AFAIK
    it's impressive!

    • @ikiguy95
      @ikiguy95  Рік тому +4

      So one interesting thing - sprite rendering seems to be no problem, but if I try to have 100k balls *with* collision enable, then it runs hyper slow until all the bricks are destroyed (

    • @laundmo
      @laundmo Рік тому +1

      @@ikiguy95 ive created bevy_spatial for cases like this. it should handle 100K entities okay-ish, at least as a coarse pass since it doesn't do aabb collisions

  • @BryanValeriano-je5cx
    @BryanValeriano-je5cx Рік тому +1

    Amazing! Great content and quality.
    I look forward to future videos!

  • @samdavepollard
    @samdavepollard Рік тому +2

    great to see more rust gaming content
    good luck with your channel
    subbed for sure

    • @ikiguy95
      @ikiguy95  Рік тому +1

      Thanks for the support and the sub!

  • @eatenpancreas
    @eatenpancreas Рік тому +3

    this tutorial is amazing! i personally try to structure my projects into multiple smaller files, but guess that's just preference

    • @ikiguy95
      @ikiguy95  Рік тому +2

      Thanks! I find that for tutorials it's useful to keep the file count low as a lot of people find it easier to follow. I do generally work with larger files in Rust though, since 1 file = 1 crate.

    • @eatenpancreas
      @eatenpancreas Рік тому

      @@ikiguy95 very valid, as a rust newbie its nice to be able to easily follow a tutorial and diverge from it!

    • @eatenpancreas
      @eatenpancreas Рік тому

      i ended up making a spawner for both balls and bricks. just absolute mayhem

    • @diadetediotedio6918
      @diadetediotedio6918 Рік тому +1

      ​@@ikiguy95
      1 file is equal to 1 crate in Rust? I'm pretty sure the thing is more like 1 project = 1 crate but I could be wrong

    • @ikiguy95
      @ikiguy95  Рік тому +1

      @@diadetediotedio6918 OH you're right! I got confused. 1 file = 1 or more modules, not crates. Thanks for the clarification!
      I think you can have more than one crate in a project tough, i.e a binary crate and 1 or more lib crates. But in general what you seems correct to me.
      Linking Rust book I re-read for reference: doc.rust-lang.org/book/ch07-01-packages-and-crates.html

  • @maxgames_nl3829
    @maxgames_nl3829 Рік тому

    A MA ZING tutorial. Thank you so much for making this. its so great

  • @skylark.kraken
    @skylark.kraken 6 місяців тому

    Thank you and we miss you

  • @schmoris
    @schmoris 5 місяців тому

    great video, thanks for the tutorial!

  • @phamwilliam4606
    @phamwilliam4606 3 місяці тому

    Thanks for this vid! Abs legend

  • @OmegaFalcon
    @OmegaFalcon Рік тому +2

    Oh I'd love to see how to get an editor running!

    • @ikiguy95
      @ikiguy95  Рік тому +1

      Just finished recording the video today! I'll probably not release it this weekend as I'm traveling, but should be out short after that

  • @tri99er_
    @tri99er_ Рік тому +1

    Awesome video

  • @amidfallen
    @amidfallen Рік тому

    Wow, very nice tut.
    What I would like to see is some sort of 2D gas chamber simulation, where balls collide with each other. This would be a great example of implementing a logic for dealing with collision between the entities.

  • @Keyr969
    @Keyr969 Рік тому

    very well explained, thank you.

  • @Wigtor
    @Wigtor Рік тому +1

    great video!

  • @th3oth3rjak3_
    @th3oth3rjak3_ Рік тому +1

    I got to 4:02 in the video and am getting a black screen instead of the background with the paddle. Are there any good troubleshooting resources that you've found? I'm wondering if it's related to a bug potentially.

  • @coachbutters4777
    @coachbutters4777 Рік тому

    Nice job!

  • @kesocialuwu
    @kesocialuwu 10 місяців тому

    Thanks for the video! It would be nice if you made another one that explains how to create .msi or .deb files to install the games created with beby!

  • @bibliusz777
    @bibliusz777 11 місяців тому

    Do a video on how to setup a wasm project so that there is sound

  • @chefaku
    @chefaku 11 місяців тому

    12:00 Isn't it the same to assign the value directly to true instead of checking the velocity of the ball?

    • @chefaku
      @chefaku 11 місяців тому

      It seems that it is not the same, if you hit it from the side and put the ball inside the paddle it will get buggy

  • @Ponderado
    @Ponderado Рік тому +1

    Dechichi? It is scary how similar your voice is to another Game Dev on youtube. Haha
    By the way, excelent video.
    After Unity fees problem I've been looking for other game alternatives and Rust seems to be something that will be a ground breaking in the far future of game dev.

    • @ikiguy95
      @ikiguy95  Рік тому +1

      Don't know what you're talking about, but this guy has a cool name!🤫😉

  • @primalaspid7197
    @primalaspid7197 Рік тому

    great video!! Ehats your vsc theme called?

  • @fischi9129
    @fischi9129 Рік тому

    Very cool video, made me try out bevy the first time and actually the first time I was seriously considering creating a small game to jump into the game dev world, just curious tho, what theme do you use? I was on Rose pine for a while, but I really love the theme u are using in the video

  • @victorspresence1263
    @victorspresence1263 8 місяців тому

    Where do I get this engine, and how large of a download is it?

  • @JXQU3
    @JXQU3 Рік тому +1

    What font are you using?

  • @mrbinggrae5954
    @mrbinggrae5954 Рік тому

    Next Video!!

  • @victorspresence1263
    @victorspresence1263 8 місяців тому

    Also, does it do 3d? Is the UI like Godot?

    • @lucascamelo3079
      @lucascamelo3079 3 місяці тому +1

      Bevy supports 3d, but as it's a new engine under high development, UI editor doesn't exists

  • @kyori_kyo
    @kyori_kyo 5 місяців тому

    ok so.. wheres the rest of the videos?

  • @MonroeMiriam-g2l
    @MonroeMiriam-g2l 3 місяці тому

    Buckridge Burgs

  • @thanosfisherman
    @thanosfisherman Рік тому

    Yo lads. Will my games be blazingly fast if I use this engine?

  • @wtflks
    @wtflks Рік тому +2

    Very important question: are you Brazilian?

  • @DCXCIII
    @DCXCIII Рік тому +3

    Thanks for the video, but why are you called C Game Dev? You're using Rust and Bevy for your first and it sounds like future videos

    • @ikiguy95
      @ikiguy95  Рік тому +3

      Initially I did plan to make videos in C, but likely won’t as I don’t think I have anything new to add on that space. Will have to think of a new name for the channel xD

    • @brunokotesky5965
      @brunokotesky5965 Рік тому

      @@ikiguy95 Really nice video :D.
      Rust Game Dev

  • @OccamMonica-f7l
    @OccamMonica-f7l 4 місяці тому

    Valerie Prairie

  • @AnnaBrown-h1u
    @AnnaBrown-h1u 3 місяці тому

    Thompson Island

  • @BrickWall-Studios
    @BrickWall-Studios 2 місяці тому

    The tutorial is outdated
    but stilll very good video

  • @RoastLambShanks
    @RoastLambShanks 9 місяців тому

    Sorry what... constant short player?

  • @WyattLes-g1q
    @WyattLes-g1q 4 місяці тому

    Dallas Track

  • @PhillipHedgpeth-l3v
    @PhillipHedgpeth-l3v 4 місяці тому

    Zemlak Mount

  • @GerriMarugg-y4f
    @GerriMarugg-y4f 4 місяці тому

    Wanda Divide

  • @KimberlyPerez-w5m
    @KimberlyPerez-w5m 3 місяці тому

    Buster Terrace

  • @MilissaTerry-r8e
    @MilissaTerry-r8e 3 місяці тому

    Legros Motorway

  • @SarahHall-x1n
    @SarahHall-x1n 3 місяці тому

    Dibbert Gateway

  • @MelvilleDavid-v8v
    @MelvilleDavid-v8v 3 місяці тому

    Dickinson Lakes

  • @ambroiselebs
    @ambroiselebs 9 місяців тому

    What's your theme name ?

  • @korigamik
    @korigamik 11 місяців тому

    Bavi 😂

    • @korigamik
      @korigamik 11 місяців тому

      But I loved the tutorial

  • @RicardoCornell-b6y
    @RicardoCornell-b6y 3 місяці тому

    Kunde Gateway

  • @Viytek
    @Viytek 11 місяців тому

    Which code editor do you use? @cgmaedev

    • @chefaku
      @chefaku 11 місяців тому

      vscode in zen view