Welcome to Space Invaders like game (pretty cool name isn't it?) in Rust - a modern take on the classic arcade game, written entirely in Rust!
- Move: Use the
←
and→
arrow keys to navigate your spaceship. - Shoot: Press the
spacebar
to fire at incoming aliens. - Objective: Destroy all the alien invaders before they reach the bottom of the screen.
- Cd into the project directory and run "cargo run"
- Ensure you have Rust installed on your system.
Here are some of the tasks and features i am working/planning to work on. Feel free to check out the list and contribute!
- Implement Leveling System: Create multiple levels with increasing difficulty.
- High Score System: Store and display the highest scores.
- Power-Ups: Add power-ups like shields, rapid-fire, and double points.
- Enemy Variations: Introduce different types of enemies with unique behaviors.
- Tutorial Screen: Implement a tutorial screen to guide new players on how to play the game.
- Pause Menu: Create a pause menu with options to resume, restart, or quit.
- Boss with Multiple Phases: Implement a boss fight with multiple phases and a health bar.
- Sound Effects and Music: Integrate retro sound effects and background music.
- Refactor Codebase: Clean up and optimize the code for better performance and readability.
- Settings Menu: Add a settings menu for adjusting volume, controls, and display options.
- Better Rendering: Optimize and enhance rendering for reducing screen tear.
First of all, thanks for your interest in contributing! 🎉 This project is all about having fun and experimenting with Rust, so don’t worry—this isn't meant to be a super serious or polished game. The code nowhere near perfect(actually quite messy), but that’s part of the charm!
- Want to Add Something New?: Got an idea for a new feature, or think you can improve something? Go ahead! Whether it’s a new level, power-up, or even just cleaning up the code, your contributions are welcome.
- Not Sure Where to Start?: Check out the TODO List for some ideas. Whether you want to implement something new or refine what’s already there, every bit helps!
- Fork this repository.
- Create a new branch (
git checkout -b feature/your-feature
). - Make your changes and commit them (
git commit -am 'Add some feature'
). - Push to the branch (
git push origin feature/your-feature
). - Create a new Pull Request and describe what you've done.
No contribution is too small, and there’s no pressure here—whether you’re fixing a typo or adding a new game mechanic, it’s all appreciated. Let’s make something cool together!
Remember, this project is just for fun, so enjoy the process and don’t stress about making everything perfect.
The following tracks were used in the development of this game. All rights to the music belong to their respective creators. Click the links to listen to the tracks on YouTube.
- Track Title: In To The Sun
- Track Title: RETRO LASER GUN
Feel free to check out their other works and support them!
The way the game looks is highly dependent on your terminal color scheme.