Small platformer game from a challenge using Pygame Zero. Get the flags while avoid the thorns and the flying ghosts.
- The ONLY libraries allowed are pgzero, math and random;
- The game have to be either a roguelike, a point-and-click adventure or a platformer;
- A main menu is needed with the following buttons: Play game, Turn music on/off, Exit;
- The game have to play a background music and have some sound effects;
- The game need enemies that are dangerous to the "hero";
- Such enemies move within it's own path in the levels;
- Some classes to make the player move and to animate the sprites are required;
- The "hero" and the enemies need a sprite animation;
- The name of variables, classes, functions need to follow the PEP8;
- The game can't have really obvious bugs.
- All make in one file and made from scratch (without templates or help from another person).
You'll need to have Python installed in your machine.
You'll also need to download Pygame Zero by typing in your terminal:
pip install pgzero
Go to this project file then type:
pgzrun main.py
The controls:
A: move leftD: move rightSpace: jumpK: go back to previous levelL: advance to next level
I tried to build the game systems in a way that is easy to change the values, change the maps, even making new levels if you want. The map is just a string of characters, what means you can build your own by coping those that are already in the code and changing as much as you want!
- Music: Call Me, Homie - Clement Panchout
- Hit sound effect: Retro Sounds - artisticdude
- Flag sound effect: Space Shooter - dravenx
- All sprites was made by me, but I want to give some credit to Pixelnauta, the author of this tileset that inspired me.