Mercurial > skaapsteker
view skaapsteker/constants.py @ 134:4713a2a3b0be
Initial cutscene screen
author | Stefano Rivera <stefano@rivera.za.net> |
---|---|
date | Tue, 05 Apr 2011 00:06:07 +0200 |
parents | 12ec95a2e8ea |
children | 0ad313ec564d |
line wrap: on
line source
# Useful constants # copyright skaapsteker team (see COPYRIGHT file for details) SCREEN = (800, 600) FREQ = 44100 # same as audio CD BITSIZE = -16 # unsigned 16 bit CHANNELS = 2 # 1 == mono, 2 == stereo BUFFER = 1024 # audio buffer size in no. of samples DEBUG = True EPSILON = 1e-10 # Layer defination class Layers(object): BACKGROUND = 0 # Absolute background BEHIND = 1 # Layer behind the player PLAYER = 2 # Layer of the player and enemies IN_FRONT = 3 # Layer in front of the player FOREGROUND = 4 # Absolute foreground