A python RPG written without the use of external libraries (except audio, which is disabled by default).
To enable audio using pyaudio:
- Download and use the installer for pyaudio. Google it.
- In Driver.py, change self.musicEnabled = False to self.musicEnabled = True
- In Player.py, uncomment the line #import pyaudio
And voila. Delicious music and stunning sound effects.
How does the scripting language work?
Here is an annotated template, taken from the included map leftofstart.
Each type of object starts with a specific character:
Event (message popup on hitting e at that tile): *
(Should be read like this: north|south|east|west.
This means if the player hits the north wall of this level,
onescreen2 will load automatically, and the player will appear
on the opposite side of the screen.)
*4,3,5,Message to be displayed
(Should be read like this:
The tile 5 by default is set to the sign image, so you may not
want to change it.)
x,y/(H)ostile or (F)riendly/(D)amageable or (ND)/name/health/attack dmg/speed/image/collideable -T or F
#MUST BE A SPACE AT THE BOTTOM OF THE LEVEL FILE