Welcome to the Flutter Flame Space Shooter Game! This is an exciting space shooter game developed using the Flutter framework and the Flame game engine. The game features a main menu, beautiful background images, and interactive gameplay elements such as player movement, shooting, and enemy spawning.
- Introduction
- Features
- Screenshots
- Installation
- Usage
- Gameplay
- Score and Game Over
- Dependencies
- License
- Contributing
- Contact
The Flutter Flame Space Shooter Game is a demonstration of how to create a simple yet engaging game using Flutter and the Flame game engine. The game showcases various aspects of game development, including handling user input, managing game objects, and creating interactive animations.
- Main Menu: A beautiful main menu with a background image and options to start or exit the game.
- Player Movement: Drag to move the player ship around the screen.
- Shooting Mechanism: Automatic shooting when the player moves.
- Enemy Spawning: Enemies spawn periodically and move down the screen.
- Parallax Background: A visually appealing parallax background for a dynamic space environment.
- Score Tracking: Keep track of your score as you shoot down enemies and collect points.
- Game Over: Game ends when the player's health drops to zero, displaying a game over screen with the option to retry.
To get started with the Flutter Flame Space Shooter Game, follow these steps:
-
Clone the Repository:
git clone https://github.com/Hamza-Maa/Space_Shooter_Game.git cd Space_Shooter_Game
-
Install Dependencies: Ensure you have Flutter installed. Then, run the following command to install dependencies:
flutter pub get
-
Run the App: Launch the app using your preferred IDE or the command line:
flutter run
- Start Game: Click the "Start" button to begin playing.
- Exit Game: Click the "Exit" button to close the game.
- Move Player: Drag on the screen to move the player ship.
- Shooting: The player ship automatically shoots when moving.
- Avoid Enemies: Dodge incoming enemies to survive.
In the Flutter Flame Space Shooter Game, you control a spaceship that can move around the screen. Your goal is to avoid enemies and survive as long as possible. Enemies spawn at the top of the screen and move downward, and your spaceship automatically shoots when you move.
- Score: Your score increases as you shoot down enemies. Try to achieve the highest score possible!
- Game Over: When your spaceship collides with an enemy or runs out of health, the game ends. You can retry from the main menu to beat your high score!
This project uses the following dependencies:
- Flutter SDK:
>=3.4.3 <4.0.0
- Flame:
^1.18.0
Ensure your pubspec.yaml
includes these dependencies:
dependencies:
flutter:
sdk: flutter
flame: ^1.18.0
This project is licensed under the MIT License. See the LICENSE file for more information.
Contributions are welcome! If you have any suggestions, improvements, or bug fixes, feel free to create a pull request or open an issue.
For any questions or inquiries, please contact:
- Email: [email protected]
- GitHub: Hamza-Maa