pygame is
Python
Simple DirectMedia Layer
 
 
pygame.org is
Site Swing
Slopy Platforming

Slopy Platforming - 0.1

Sean J McKiernan (mekire)

Tags:

Description

Overview:

This is a simple scrolling platformer that allows the player to move on sloped surfaces. It is a work in progress and the collision detection is currently a bit over-complicated.

I hope to simplify the logic and expand it to allow other standard platforming elements like moving platforms. I also need to generalize it to work with screen dimensions and tile sets of varying sizes.

 

To run:

The repo contains both the working program and a simple map editor, run with main.py and map_editor.py respectively.  Simply download the repo as a zip or clone the repository.

 

Controls:

  • Game:
    • Left and right to move.
    • Spacebar to jump (release early to cut jump short)
  • Map Editor:
    • Left mouse button to select and place tiles.
    • Right mouse button to delete tiles.
    • Arrow keys to pan map.
    • CTRL+S and CTRL+L to save and load.

 

Future:

Code still needs to be simplified.  Speed while on slopes needs to decrease proportionately.  Code needs to be generalized (magic numbers removed). 

 

Notes:

The game should run with python 2.x and 3.x.  The map editor requires wx python and will only run on 2.x.

 

Links

Home Page: https://github.com/Mekire/platformer-with-slopes

Screenshot


click to view original size

Releases

Slopy Platforming - 0.1 - Aug 6, 2013

Pygame.org account Comments

If you wish to leave a comment with your pygame.org account, please sign in first.

No user comments have been submitted.
spotlight

 
our projects
pygame.org welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
 
recent releases
Oct 1, 2014

Sep 19, 2014

Sep 17, 2014

Sep 9, 2014

Sep 8, 2014

Sep 7, 2014


Sep 5, 2014

Aug 26, 2014

Aug 21, 2014


Aug 18, 2014

... more!
 
for pygame related questions, comments, and suggestions, please see help (lists, irc)