Mercurial > boomslang
comparison pyntnclick/constants.py @ 548:ded4324b236e pyntnclick
Moved stuff around, broke everything.
author | Jeremy Thurgood <firxen@gmail.com> |
---|---|
date | Sat, 11 Feb 2012 13:10:18 +0200 |
parents | gamelib/constants.py@f173771c85a8 |
children | 1b1ab71535bd |
comparison
equal
deleted
inserted
replaced
547:33ce7ff757c3 | 548:ded4324b236e |
---|---|
1 # Useful constants | |
2 # copyright boomslang team (see COPYRIGHT file for details) | |
3 | |
4 | |
5 SCREEN = (800, 600) | |
6 FREQ = 44100 # same as audio CD | |
7 BITSIZE = -16 # unsigned 16 bit | |
8 CHANNELS = 2 # 1 == mono, 2 == stereo | |
9 BUFFER = 1024 # audio buffer size in no. of samples | |
10 | |
11 BUTTON_SIZE = 50 | |
12 SCENE_SIZE = (SCREEN[0], SCREEN[1] - BUTTON_SIZE) | |
13 # Animation frame rate | |
14 FRAME_RATE = 25 | |
15 | |
16 DEBUG = False | |
17 | |
18 ENTER, LEAVE = 1, 2 |