view gamelib/constants.py @ 443:3dab4984cbd7

Redo way of reaching end screen
author Neil Muller <neil@dip.sun.ac.za>
date Sun, 29 Aug 2010 00:24:40 +0200
parents f173771c85a8
children 43b49f1de828
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 = False

ENTER, LEAVE = 1, 2