Mercurial > pyntnclick
view gamelib/constants.py @ 232:ca490aecbe0e
Updated cryo unit to use new stuff. No more triangles! (Except for the ones that are still there.)
author | Jeremy Thurgood <firxen@gmail.com> |
---|---|
date | Thu, 26 Aug 2010 23:36:53 +0200 |
parents | 48d24a48d0ce |
children | f173771c85a8 |
line wrap: on
line source
# Useful constants # copyright boomslang 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 BUTTON_SIZE = 50 SCENE_SIZE = (SCREEN[0], SCREEN[1] - BUTTON_SIZE) # Animation frame rate FRAME_RATE = 25 DEBUG = True ENTER, LEAVE = 1, 2