Pixel Boy is a side-scrolling platformer game built with Python and Pygame. Players navigate through a dynamic world, overcoming obstacles, collecting items, and battling bosses in a fast-paced, fun-filled adventure.
- Player Mechanics: Jump, run, shoot projectiles, and explore the game world.
- Dynamic Obstacles: Encounter snails and flies with animations and varying movement patterns.
- Collectibles: Grab gems and coins to score points.
- Boss Battles: Face off against a powerful boss with multi-phase animations and health mechanics.
- Cheat Codes: Activate a secret mode for fun gameplay tweaks (
G+O+D).
- Python 3.10 or later
- Pygame (
pip install pygame)
-
Clone the repository:
git clone https://github.com/yourusername/pixel-boy-game.git cd pixel-boy-game -
Install dependencies:
pip install -r requirements.txt
-
Run the game:
python game.py
- Movement:
- Use
LEFTandRIGHTarrow keys to move. - Press
SPACEto jump.
- Use
- Attack:
- Use
Left Ctrlto shoot projectiles (Level 2 and higher).
- Use
- Objective:
- Avoid obstacles, collect items, and defeat the boss!
Pixel-Boy-Game/
│
├── tools/
│ ├── char/ # Character sprites
│ ├── graphics/ # Item graphics
│ ├── music/ # Game sounds
│
|
├── game.py # Main game logic
└── README.md # Game documentation
- Sprites and animations are sourced from OpenGameArt.org.
- Background music and sound effects are royalty-free from various sources.
- Thanks to the creators of Pygame for enabling indie game developers worldwide.
- Special shoutout to OpenGameArt.org for free assets.
Contributions are welcome! Feel free to open issues or submit pull requests to improve the game.
For inquiries or feedback, reach out at:
Name: Ambarish Kshirsagar
Email: askshirs@usc.edu
LinkedIn: ambarishkshirsagar
Enjoy the game, and happy gaming! 🎮



