diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/pyntnclick/constants.py	Sat Feb 11 13:10:18 2012 +0200
@@ -0,0 +1,18 @@
+# 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