Mercurial > boomslang
view pyntnclick/constants.py @ 574:4e14721e74a8 pyntnclick
Actually add Resources.__init__.py
author | Simon Cross <hodgestar+bzr@gmail.com> |
---|---|
date | Sat, 11 Feb 2012 15:55:48 +0200 |
parents | ded4324b236e |
children | 1b1ab71535bd |
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