-
Notifications
You must be signed in to change notification settings - Fork 0
/
globalVars.py
73 lines (60 loc) · 1.43 KB
/
globalVars.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
72
73
# coding=UTF-8
# from globalVars import * : seulement des pseudo-constantes
#OFFLINE = True
screen_size = [850,600]
#screen_size = [1800, 800]
#screen_size = [1500,600]
space = 200
strings = 9
COLOR_ON = 0xFFFFFF
COLOR_OFF = 0x000000
STRING_SIZE = 40
# Uniform :'()
#colorshex = [0xFF0000, 0xFF0000, 0xFF0000, 0xFF0000, 0xFF0000, 0xFF0000, 0xFF0000, 0xFF0000, 0xFF0000, 0xFF0000]
colorshex = [0xFF0000, 0xFFAA00, 0xCCCC00, 0xAAFF00, 0x00FF00, 0x00FFAA, 0x00AAFF, 0x0044FF, 0x0000FF]
xy_center = [screen_size[0]/2,screen_size[1]/2]
harp_pos = [0,200]
DEFAULT_SPOKES = range(0,359,60)
DEFAULT_PLAYER_EXPLODE_COLOR = 0xFF0000
DEFAULT_SIDE_COUNT = 6
DREARRANGE_SIDES = .02
CRASH_SHAKE_MAX = 6
TDN_CRASH = 200
#etherIP="192.168.1.5"
etherIP="192.168.42.216"
GAME_FS_QUIT = -1
GAME_FS_MENU = 0
GAME_FS_PLAY_PONG = 1
GAME_FS_PLAY = 1
GAME_FS_GAMEOVER = 2
GAME_FS_CAL = 3
GAME_FS_HARP = 4
GAME_FS_ABSRAND = 5
GAME_FS_TEXT = 6
GAME_FS_MATH_CURVE = 7
GAME_FS_KOCH = 8
GAME_FS_MORPH = 9
GAME_FS_GRID = 10
LASER_CENTER_X = 0
LASER_CENTER_Y = 1
LASER_ZOOM_X = -33
LASER_ZOOM_Y = +29
LASER_SIZE_X = 22000
LASER_SIZE_Y = 22000
LASER_ANGLE = 0
ZOOM_TITLE = 0.8
NO_BGM = False
#NO_BGM = True
ball_origin = [400,300,200]
text_pos = [300,500,200]
BALL_acc = 0.02
PADDLE_height = 100
PADDLE_width = 10
PADDLE3D_height = 100
PADDLE3D_width = 100
FACT3D = 2
FLIPS_lorigin = [10,300,0]
FLIPS_rorigin = [780,300,400]
flips_attraction = 0.007
lifenb = 10
runningstate = 10