My River Raid is a 2D side-scrolling shooter game inspired by the classic River Raid game. In this game, players control a plane flying over a river while avoiding obstacles, destroying enemy vehicles, and refueling to keep flying. The game also features power-ups and multiple levels of increasing difficulty.
This project is implemented in Python using the Pygame library. The main goal of the game is to score as many points as possible by shooting down enemies and navigating through the environment. The player must also keep an eye on the fuel level and collect fuel power-ups to stay in the air.
The project includes:
- A player-controlled airplane
- Enemy helicopters, boats, and bridges
- Fuel stations to replenish fuel
- Various power-ups (shield, speed, multi-shot)
- Background music and sound effects
- Score and fuel indicators
- Multiple levels of difficulty.
- Refueling system to extend gameplay.
- Power-ups to give temporary boosts.
- Randomly generated enemy positions for each level.
- Game over screen with final score and kills.
-
Clone the Repository
git clone https://github.com/amir13872/MyRiverRaid.git
-
Install Dependencies
Make sure you have Python and
pip
installed. Install the required libraries:pip install pygame
-
Run the Game
After installing the dependencies, navigate to the project directory and run the game:
python myrr.py
Your mission is to destroy as many enemy helicopters and boats as possible while avoiding obstacles such as bridges and enemy fire. Be sure to keep an eye on your fuel gauge and pick up fuel stations to stay airborne. You can also collect power-ups to gain temporary advantages such as invincibility, faster speed, or multi-shot capability.
- Left Arrow - Move the plane to the left
- Right Arrow - Move the plane to the right
- Spacebar - Shoot bullets
Contributions, bug reports, and feature requests are welcome! Feel free to open issues or submit pull requests.
- Fork the repository
- Create a new branch (
git checkout -b feature-branch
) - Make your changes and commit (
git commit -am 'Add new feature'
) - Push to the branch (
git push origin feature-branch
) - Open a pull request
or
This project is licensed under the MIT License.