Platformer game made with Pygame
- Python 3
- pygame module
Run game.py with Python 3. You will be prompted to choose a level id. Enter a number corresponding to any level in the "levels" folder. Once a level has been chosen, the game will run. Get to the exit of each level to progress to the next level.
a
andd
keys to move left and rightspace
to jump
Run editor.py with Python 3. You will be prompted to either load a level by id, or create a new level. You can define a width and height for the level. Once running, the editor will display a green box representing the play area. In the actual game, the camera is locked to this area. In order to be ran, the level must have an entrance and exit, currently represented by white and green platforms.
wasd
to move the camera.z
andx
to switch placement mode. Current placement modes include walls, hazards, entrance and exit.q
ande
to switch object within a placement mode.ctrl-s
to save the level. If a level has been loaded, it will be overwritten with a save. Otherwise, a new file will be created for the level.ctrl-z
to undo previous edit.