Рет қаралды 5,278
An Asteroids implementation I built on the plane to and from RustNation UK. Using Bevy, Rust, and bevy_xpbd_2d.
Code shown in this video (git tag yt-2024-04-01): github.com/rust-adventure/asteroids/tree/yt-2024-04-01
Rust Adventure Discord: discord.gg/3BeM3Y6fNJ
# Chapters
00:00 Asteroids Overview
00:42 Cargo.toml
01:32 bevy_xpbd_2d debug-plugin
01:59 main.rs
04:30 lib.rs
07:24 laser_meteor_collision
08:36 assets and custom assets
09:52 bevy_plugin_kenney_spritesheets
16:14 The types have the functions
16:51 Resource based Pause system
19:07 with_children vs add_child
20:17 player ship movement
22:43 MovementPlugin
24:49 SpawnButton
25:20 Player Ship
25:53 examples
26:22 Asteroids!