Skip to content

Astroid Mining Game written in Rust with the Bevy ECS Framework

Notifications You must be signed in to change notification settings

andrewexton373/geometry-wars

Repository files navigation

About The Project

This is a game where the player controls an asteroid mining spaceship. Taking inspiration from the familiar Asteroids arcade game, shooting asteroids causes them to split. Splitting asteroids into smaller ore chunks allows the player to then collect these chunks in order to mine them.

Gameplay

Controls

W - Move Up
A - Move Left
S - Move Down
D - Move Right

Use the mouse pointer to aim projectiles
LMB - Fire Laser in direction of ship
RMB - Lock camera to Selected Target

X - Lock camera to Player's Ship

B - Enter/Exit Build Mode (Space Station Modules)

< - Zoom Out
> - Zoom In

Built With

  • Rust
  • Bevy
  • Rapier2d

Getting Started

Prerequisites

  • Bash: rust (install rust and cargo package manager)
    curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
  • Windows: There's a .exe file availible at rustup.rs for installation.

Running the Game

  1. Clone the repo
    git clone https://github.com/andrewexton373/geometry-wars.git
  2. Change directory to the cloned repo
    cd geometry-wars
  3. Compile and run the game
    cargo run

Roadmap

  • Ship Fuel System

    • Ship has limited fuel capacity that can be upgraded
    • (more efficent engine/larger fuel tank)
  • Refueling System

  • Ship Handling Characteristics?

    • change with added cargo weight
    • (can mitigate with stronger engines?)
  • Upgrade System

    • Ship Upgrade System
      • Cargo Bay Size
      • Ship Maximum Health
      • Fuel Tank Size
      • Engine Fuel Efficency
      • Ore Attractor Strength
      • Weapon Strength/Rate of Fire
    • Refinery Upgrade System
      • Processing Speed
      • Less ore losses from processing? (ore losses are not implemented yet)
    • Base Station Upgrade System
      • Cargo Bay Size
      • Refueling Speed
      • Asteroid Repel Strength?
  • Asteroid Ore Rarity

    • Asteroids further from the base station have a higher chance of spawning rarer ores.
    • Refine values for interpolated system
    • ? OR use noise function to generate pockets with higher rarity ores.
  • Components Crafting System

    • Factory to turn metal ingots into components used for upgrades.
  • Context Clues

    • Near Base Station (Press SPACE to Deposit)
    • Ship Battery is Empty
    • Ship Cargo Bay is Full
  • Particles

    • Improve Look and Feel
  • UI

    • Dont fire weapon when clicking on UI

Is this a good 0.1 release?

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

License

TBD

(back to top)

About

Astroid Mining Game written in Rust with the Bevy ECS Framework

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages