-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathConfig.py
71 lines (49 loc) · 1.64 KB
/
Config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# config file
global config
config = dict()
# play music
config['playMusic'] = 1
# play sound
config['playSound'] = 1
# fps limit
config['fpsLimit'] = 60
# full screen
config['fullScreen'] = 1
# screen dimensions
config['screenWidth'] = 320
config['screenHeight'] = 240
################################################################
# anything below this line is game-specific
# don't edit unless you know what you're doing
# animation delays and lifetimes
config['animationDelay'] = 300
config['animationCursorDelay'] = 100
config['animationExplosionDelay'] = 100
config['explosionLifeTime'] = 500
config['animationRockExplosionDelay'] = 100
config['rockExplosionLifeTime'] = 380
# starting time and level
config['startTime'] = 30000
config['startLevel'] = 1
# object speed
config['objectSpeed'] = 2.5
# grabbed object speed
config['maxObjectSpeed'] = 8.0
# satellite life
config['satelliteLife'] = 3
# grabbing time (msec)
config['grabTime'] = 100000
# object invulnerability length after collision (msec)
config['collisionTimeout'] = 150
# show direction of satellite movement
config['debugShowDir'] = False
# show frame drawing time
config['debugFrameTime'] = False
# how much points and time is given for one collision
config['levelPoints'] = (0, 10, 50, 100, 250, 500, 1000, 2500, 5000, 10000, \
50000, 100000, 500000, 999999)
config['levelTime'] = (2000, 1800, 1600, 1400, 1200, 1000, 750, 500, 300, 250, 200, 100, \
90, 80, 70, 60, 50, 40, 30)
# trail colors
config['trailColors'] = ((219, 252, 252), (134, 220, 252), \
(37, 170, 234), (5, 94, 212))