Skip to content

22951a6782/SpaceShooterGame-with-C-Sharp--and-.NET

Repository files navigation

SpaceShooterGame - README

Introduction

SpaceShooterGame is a 2D space shooter game developed in C# using Windows Forms. The game involves a player-controlled spaceship that moves across the screen, shooting enemy ships and avoiding enemy fire. The game includes background music, sound effects, and various enemy types with different movement patterns.

Features

  • Player Movement: Move the player ship using arrow keys.
  • Shooting Mechanism: Shoot bullets using the space key.
  • Enemy Movement: Enemies appear in different patterns and speeds.
  • Sound Effects: Background music, shooting sounds, and explosion effects.
  • Dynamic Background: Moving stars create a space environment.
  • Game Levels: Increasing difficulty with progression.
  • Pause and Resume: Ability to pause and resume the game.
  • Health System: Player and enemy ships have health points.
  • Score Tracking: Score updates based on enemy destruction.
  • Game Over Condition: The game ends when the player runs out of health.

Installation & Running the Game

  1. Clone the repository:
    git clone https://github.com/yourusername/SpaceShooterGame.git
  2. Open the project in Visual Studio.
  3. Build and run the application.
  4. Use arrow keys to move and space to shoot.

Project Structure

SpaceShooterGame/
│-- assets/                # Image and sound assets
│-- src/                   # Source code files
│-- Form1.cs               # Main game logic
│-- Form1.Designer.cs      # UI components
│-- Form1.resx             # Resource file
│-- Program.cs             # Entry point of the application
│-- README.md              # Project documentation
│-- LICENSE                # License file

Future Enhancements

  • Add more enemy types.
  • Introduce power-ups.
  • Implement a scoring leaderboard.
  • Improve UI and animations.
  • Add boss fights with unique attack patterns.
  • Include multiplayer mode for competitive gameplay.
  • Enhance AI behavior for enemies.
  • Implement different weapons for the player.

License

This project is licensed under the MIT License.

Contributing

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature-name).
  3. Commit your changes (git commit -m 'Added new feature').
  4. Push to the branch (git push origin feature-name).
  5. Open a Pull Request.

Contact

For any questions, contact:

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages