-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconstants.json
72 lines (72 loc) · 1.25 KB
/
constants.json
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
{
"screen": {
"scale": 1,
"width": 800,
"height": 600
},
"player": {
"width": 100,
"height": 20,
"speed": 900,
"inactivity": {
"multiplier": 5,
"threshold": 5
}
},
"ball": {
"radius": 10,
"speed": {
"x": 300,
"y": -300,
"increment": 1.0001
},
"trail_length": 10
},
"brick": {
"width": 80,
"height": 20,
"speed": 100,
"rows": 6
},
"powerup": {
"width": 40,
"height": 20,
"fall_speed": 120,
"probability": 0.2,
"max_length": 2
},
"falling_tile": {
"x_min": 0,
"y_max": 0,
"speed_upper": 2,
"speed_lower": 7,
"count": 20
},
"game_constants": {
"title": "BRICKMANIA",
"inactivity_threshold": 2,
"interval": {
"special_ball": 20,
"random_destruction": 60
},
"duration": {
"special_ball": 2,
"random_destruction": 5
},
"font_size": {
"main": 25,
"game_over": 25,
"main_menu": {
"title": 72,
"menu": 48
}
},
"game_modes": ["Main Game", "Demo Game"],
"frames_per_second": 60,
"tracks": {
"path": "./assets",
"files": ["music", "music1", "music2", "music3", "music4"],
"extension": "mp3"
}
}
}