comparison gamelib/constants.py @ 105:65976205fc2d

Rough Stab at basic animation support
author Neil Muller <neil@dip.sun.ac.za>
date Tue, 24 Aug 2010 11:57:06 +0200
parents 350ce4ebe122
children 48d24a48d0ce
comparison
equal deleted inserted replaced
104:ae76009a00b5 105:65976205fc2d
8 CHANNELS = 2 # 1 == mono, 2 == stereo 8 CHANNELS = 2 # 1 == mono, 2 == stereo
9 BUFFER = 1024 # audio buffer size in no. of samples 9 BUFFER = 1024 # audio buffer size in no. of samples
10 10
11 BUTTON_SIZE = 50 11 BUTTON_SIZE = 50
12 SCENE_SIZE = (SCREEN[0], SCREEN[1] - BUTTON_SIZE) 12 SCENE_SIZE = (SCREEN[0], SCREEN[1] - BUTTON_SIZE)
13 # Animation frame rate
14 FRAME_RATE = 25
13 15
14 DEBUG = True 16 DEBUG = True