Skip to content

Xynel0/Jumpa

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jumpa

Small platformer game from a challenge using Pygame Zero. Get the flags while avoid the thorns and the flying ghosts.

jumpa-menu

Requirements of the challenge

  1. The ONLY libraries allowed are pgzero, math and random;
  2. The game have to be either a roguelike, a point-and-click adventure or a platformer;
  3. A main menu is needed with the following buttons: Play game, Turn music on/off, Exit;
  4. The game have to play a background music and have some sound effects;
  5. The game need enemies that are dangerous to the "hero";
  6. Such enemies move within it's own path in the levels;
  7. Some classes to make the player move and to animate the sprites are required;
  8. The "hero" and the enemies need a sprite animation;
  9. The name of variables, classes, functions need to follow the PEP8;
  10. The game can't have really obvious bugs.
  11. All make in one file and made from scratch (without templates or help from another person).

How to play

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 left
  • D: move right
  • Space: jump
  • K: go back to previous level
  • L: advance to next level

Modify it!

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!

jumpa-lvl

References, inspirations and credits

About

Small platformer game from a challenge using Pygame Zero

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%