-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathgame_config.json
67 lines (67 loc) · 1.41 KB
/
game_config.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
{
"game_name": "dont_touch",
"version": "1.2.0",
"url": "https://github.com/yen900611/dont_touch",
"description": "不要碰!",
"logo": [
"./asset/image/dont_touch.svg",
"https://github.com/yen900611/dont_touch/blob/master/asset/image/dont_touch.svg"
],
"user_num": {
"min": 1,"max": 4
},
"game_params": [
{
"name": "map",
"verbose": "地圖",
"type": "int",
"min": 1,
"max": 100,
"default": 1,
"help": "choose a map for game"
},
{
"name": "time_to_play",
"verbose": "遊戲總幀數",
"type": "int",
"min": 60,
"max": 5400,
"step": 30,
"help": "set the limit of frame count , actually time will be revised according to your FPS .",
"default": 450
},
{
"name": "sensor_num",
"verbose": "感測器數量",
"type": "int",
"choices": [
4,
6
],
"help": "set the number of sensor.",
"default": 6
},
{
"name": "sound",
"verbose": "遊戲音效",
"type": "str",
"choices": [
"on",
"off"
],
"help": "'on' can turn on the sound.",
"default": "on"
},
{
"name": "dark_mode",
"verbose": "深色模式",
"type": "str",
"choices": [
"dark",
"light"
],
"help": "'dark' can turn on the dark mode.",
"default": "dark"
}
]
}