Bouncy Walls - An Open Source Game
Bouncy Walls is a simple game developed using Python and Pygame. The player controls a chicken that can move left, right, and jump. The objective of the game is to collect blue balls that appear randomly on the screen. Each time a ball is collected, the player's score increases by one, and a new ball appears at a different location. The game ends if the player touches the top or bottom of the screen.
- Simple and intuitive controls
- Randomly spawning collectible balls
- Score tracking
- Main menu with "Play", "Mute" and "Quit" options
- Game title and subtitle displayed on the main menu
- Jump/Hop: Mouse Left
- Ensure you have Python installed on your system. You can download it from python.org.
- Install Pygame using pip:
pip install pygame
- Run the game script while you are in the games files:
python main.py
- On the main menu, click "Play" to start the game.
- Use the left mouse to jump and collect the blue balls.
- The game will return to the main menu if the player touches the top or bottom of the screen.
main.py
The main game script contains the following key components:
- Constants: Define screen dimensions, colors, gravity, jump strength, and other game settings.
- Main Menu: Displays the game title, subtitle, and buttons for "Play" and "Quit".
- Game Loop: Handles player movement, gravity, collision detection, and rendering.
- Score Tracking: Increments the score each time a ball is collected and displays the current score on the screen.
- Contributing
- Contributions are welcome! If you have any suggestions or improvements, feel free to open an issue or submit a pull request.
I'll develop this whenever i feel like it and have the time. in he beginning it's going to be python only. Buti'd like to get this on mobile (atleast on Android, maybe iOS if it's "easy"). Also i promise to NEVER add ads or any kind of a paywall to this game. I personally hate ads with my life.