Rust Bevy Tutorial 1/3 - GameDev from Scratch!!!

preview_player
Показать описание


The first Rust Bevy Game Development tutorial episode of a series about building a simple game with Rust Language and Bevy Game Engine. Great way to learn Rust Language while having some fun.

New:

Old:

Content:
- 00:00 - Intro of Bevy and Rust Lang
- 00:19 - Game assets
- 00:40 - Game Preview
- 00:48 - Bevy Empty Window
- 03:03 - First Bevy System and First Rectangle
- 07:14 - First Sprite (Big Ferris)
- 07:58 - Ferris at the bottom
- 09:49 - Refactor to multiple Bevy Systems
- 14:45 - Player move with arrow keys
- 20:34 - Make player fire lasers (on space key)
- 24:53 - Make lasers move (and despawn)
- 28:43 - Wait space bar is up to fire again
- 31:21 - Next episode preview

Full coding tutorial for Rust Language and Bevy Game Engine. Topics used:
- Rust Tuple, Tuple Struct, Struct Unit
- Rust primary types, and float with the 123. notation for float (no need to have 123.0)
- Rust deconstruction
- Rust Generic Types usage (no creation yet)
- Bevy App Builder pattern
- Bevy startup systems and stage systems
- Bevy systems
- Bevy Resources, Query,

#RustLang #GameDev #BevyTutorial #RustTutorial

=== More info

Рекомендации по теме
Комментарии
Автор

Cool tips from commenters:

Thanks for all of the feedback, keep it coming.

JeremyChone
Автор

I didn't quite understand how elegant this system was until I saw you code up this example from scratch. Great stuff!

thrddy
Автор

Jeremy you are a fantastic teacher. Your line by line methodology of teaching coding with this framework is so thoughtful and intuitive! Please continue making more content!

deckarep
Автор

This is the one! This is the video that finally got me to sit down at my computer, open up VS code and finally start playing around with Rust!

LimitedWard
Автор

Finally a Rust game tutorial I can understand!

joaocesarlima
Автор

Hey man such great work. This helped me so much learning Bevy and the fact that you updated the source code to work with Bevy 0.6 has been fantastic.

benwilliams
Автор

Awesome tutorial, looking forward to learning Rust/Bevy with you Jeremy! Thank you

williamoliveira
Автор

Really looking forward to the next videos in the series, thanks!

timhoeppner
Автор

Excellent Tutorial. I am pausing the video, reading the bevy docs trying to implement the change, then playing the video again to see if I did it the same way you did. Thank you for this video it is awesome.

kylestubblefield
Автор

Thank you for this quality content, I keep hearing about Rust so I'm a bit new here, but your pace was easy to follow along with. : )

thesmokinggnome
Автор

A really well done video! Are you French? because I am French and I can clearly hear a French accent here. I could be wrong though :p

Lemonzy
Автор

Thanks for a nice tutorial!

Two points:
1. I believe the With filter should be used as a second generic parameter to the Query type, it should not be a part of the first tuple. So you would for example have Query<(&Speed, &mut Transform), With<Player>>. This way you don't have to ignore the player value on the first line.
2. Is there a reason why you don't use keyboard.just_pressed() instead of the PlayerReadyFire bool?

ondradanek
Автор

I was just looking for a bevy tutorial! Thanks :)

horvbalint
Автор

This was so much fun to code along to. Thanks a lot!

PascalHartig
Автор

incredible man just what i need thank you!

matheussilveriosilva
Автор

I'm senior developer, I know well python/c++ and react also have written some 3d engine, but this rust and data driven architectures are enough for me, .... sweet ogre3d, ... :D

DJenriqez
Автор

Looking forward to trying this. Is there another video before this showing how to get set up? Feels like a few starting steps are missing.

lardosian
Автор

good tutorial, helped me a lot.
question: at 28:44, why don't you use kb.just_pressed instead of all this other code with ready_fire?
sometimes it would be nice if you explained more why you code this the way you do and why you don't do it in another way. then your tutorial would be even better

SandwichMitGurke
Автор

Hey, thanks, this is really fun to watch and also helpful!

flyingsquirrel
Автор

If anyone is using bevy main branch, you now need to derive `Component` as of Oct 9th, 2021.

I.e.
```
#[derive(Component)]
struct Player;
```

paulparker