bones-ai / bevy-2d-shooter

A 2d top-down shooter written in Bevy, capable of handling 100K enemies

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bevy 2D Shooter

This is a 2d top-down shooter written in Rust using the Bevy game engine. It's capable of handling 100K enemies and uses a kd-tree to efficiently handle the collisions.

Link to the tutorial & timelapse video below.

screenshot

Tutorial

Here's the entire timelapse of the AI learning to drive

youtube

Showcase Video

youtube

Usage

  • Clone the repo
git clone git@github.com:bones-ai/bevy-2d-shooter.git
cd bevy-2d-shooter
  • Run
cargo run

Configurations

  • The project config file is located at src/configs.rs

Credits

Controls

  • WASD for movement
  • Mouse wheel to change camera zoom

About

A 2d top-down shooter written in Bevy, capable of handling 100K enemies


Languages

Language:Rust 100.0%