Skip to content

erhant/bevy-breakout

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logo

Bevy Breakout

A Breakout game with Bevy game engine.

This is for educational-purposes, to learn more about Bevy and Rust in general.

Setup

Clone the repository, and then install the packages:

cargo install

Run the game with:

cargo run

# alternative for a bit faster launch
cargo run --features bevy/dynamic_linking

Lint usin Clippy:

cargo clippy

Layout

Everything is a plugin in their respective files, and thanks to that the main function looks like:

fn main() {
    App::new()
        .add_plugins(DefaultPlugins)
        .add_plugins(GamePlugin)
        .add_plugins(ScoreboardPlugin)
        .add_plugins(PhysicsPlugin)
        .add_plugins(PaddlePlugin)
        .add_plugins(WallPlugin)
        .add_plugins(BallPlugin)
        .add_plugins(BricksPlugin)
        .run();
}

Assets

Here are free websites to design assets:

Resources

About

A breakout game using Bevy game engine.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published