Python 2D adventure game implemented from scratch using Pygame.
The objective is to get to the finish and kill some enemies along the way.
$ pip install -r requirements.txt
$ python game.py
Levels are stored in levels
directory in a simple text format.
To add new level, create the level text file in the specified format and put it into levels
directory. It will be automatically loaded.
P
- PlayerX
- WallL
- Extra Life^
,>
,V
,<
- spikesS
- Enemy spriteF
- Finish
X
X
X XXX
X ^ vF
X ^ XXXXXXXX
X ^ XX X
X L L P <XXXXX S ^ ^^^ S S X
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX