Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/medss19/beach-invaders-pygame-master

Defend your beach, shoot down invaders, and score points in this Python-based Pygame beach invader game.
https://github.com/medss19/beach-invaders-pygame-master

Last synced: 22 days ago
JSON representation

Defend your beach, shoot down invaders, and score points in this Python-based Pygame beach invader game.

Awesome Lists containing this project

README

        

# Beach Invader Game

You're a CAPYBARA! Your enemies are PELICANS!

Welcome to Beach Invader! This is a simple and exciting space invader game built using the Pygame library in Python. Defend your beach against incoming invaders by shooting them down and scoring points.

## Instructions

1. **Player Controls:**
- Move your spaceship using the left and right arrow keys.
- Press the spacebar to shoot bullets at the invaders.

2. **Scoring:**
- Score points by shooting down the invaders.
- Each successful hit increases your score.

3. **Game Over:**
- The game ends if an invader reaches the beach.
- The final score is displayed, and the game over message appears.

## Features

- **Background Music:**
Enjoy the game with background music. The beach-themed atmosphere is enhanced by the soothing sound.

- **Sound Effects:**
Hear the laser sound when you shoot bullets and the explosion sound when an invader is hit.

- **Responsive Controls:**
Effortlessly control your spaceship using the left and right arrow keys.

- **Randomized Invaders:**
The invaders move randomly across the screen, making each game unique.

## How to Run

1. Make sure you have Python and Pygame installed on your system.
2. Download the game files, including images and sounds.
3. Run the script in a Python environment.

```bash
pip install pygame
python beach_invader.py
```

4. Enjoy playing Beach Invader!

## Game Assets

- **Background:** 'background.jpg'
- **Player Spaceship:** 'player.png'
- **Invader Spaceship:** 'enemy.png'
- **Bullet:** 'bullet.png'
- **Game Over Image:** 'capybara.png'

## Acknowledgments

The layout of this game is built on Space Invaders Game.

This game was created using Pygame, a set of Python modules designed for video game development. Special thanks to the Pygame community and contributors.

Have a great time defending your beach in Beach Invader! If you encounter any issues or have suggestions, feel free to reach out.