Car Shoot Game
Car Shoot Game is a simple carnival booth game where players use a marble gun to shoot down cars floating across the screen. The objective is to shoot as many cars as possible before the time runs out. The game supports both single-player and two-player modes.
Getting Started
These instructions will help you set up and run the Car Shoot Game on your local machine.
Prerequisites
To run the game, you need to have the following software installed:
- Rust programming language (version 1.54 or later)
- Cargo package manager (usually bundled with Rust)
Installation
- Clone this repository to your local machine:
git clone https://github.com/veryshyjelly/Car-Shoot.git
- Navigate to the project directory:
cd car-shoot-game
- Build and run the game:
cargo run --release
- Enjoy the Car Shoot Game!
Gameplay
- Control the gun barrel using your mouse. The gun barrel follows the horizontal movement of the mouse cursor.
- Left-click to shoot marbles from the gun. The marbles will move upwards and collide with the cars.
- Shoot as many cars as possible before the time runs out.
- Each successfully hit car will earn you points.
Features
- Single-player and two-player modes
- Interactive gun barrel controlled by mouse movement
- Shooting marbles to hit cars
- Collision detection between marbles and cars
- Random car spawning with varying speeds
- Sound effects and music to enhance the gaming experience
Contributing
Contributions to the Car Shoot Game project are welcome! If you'd like to contribute new features, fix bugs, or improve existing code, please follow these steps:
- Fork the repository.
- Create a new branch for your feature/bug fix.
- Make your changes and commit them with descriptive commit messages.
- Push your changes to your forked repository.
- Open a pull request to the main repository, explaining your changes.
License
This project is licensed under the MIT License.
Acknowledgments
- The game is developed using the Rust programming language.
- The game engine used is EngineX.
Contact
If you have any questions or suggestions regarding the Car Shoot Game, please feel free to contact us at veryshyjelly@gmail.com.