105 lines
2.5 KiB
JSON
105 lines
2.5 KiB
JSON
{
|
|
"game_name": "easy_game",
|
|
"version": "2.2.1-beta",
|
|
"url": "https://github.com/PAIA-Playful-AI-Arena/easy_game",
|
|
"description": "這是一個吃東西小遊戲,除了讓你熟習所有基本操作,也是 PAIA 的遊戲教學範例",
|
|
"logo": [
|
|
"./asset/logo.svg",
|
|
"https://raw.githubusercontent.com/PAIA-Playful-AI-Arena/Paia-Desktop/master/media/easygame.svg"
|
|
],
|
|
"user_num": {
|
|
"min": 1,
|
|
"max": 1
|
|
},
|
|
"game_params": [
|
|
{
|
|
"name": "time_to_play",
|
|
"verbose": "遊戲總幀數",
|
|
"type": "int",
|
|
"max": 2000,
|
|
"min": 600,
|
|
"default": 600,
|
|
"help": "set the limit of frame count , actually time will be revised according to your FPS ."
|
|
},
|
|
{
|
|
"name": "green_food_count",
|
|
"verbose": "綠色食物數量",
|
|
"type": "int",
|
|
"choices": [
|
|
5,
|
|
10,
|
|
15,
|
|
20,
|
|
25,
|
|
30,
|
|
35,
|
|
40,
|
|
45,
|
|
50
|
|
],
|
|
"help": "set the total number of points",
|
|
"default": 10
|
|
},
|
|
{
|
|
"name": "red_food_count",
|
|
"verbose": "紅色食物數量",
|
|
"type": "int",
|
|
"choices": [
|
|
5,
|
|
10,
|
|
15,
|
|
20,
|
|
25,
|
|
30,
|
|
35,
|
|
40,
|
|
45,
|
|
50
|
|
],
|
|
"help": "set the total number of points",
|
|
"default": 10
|
|
},
|
|
{
|
|
"name": "score_to_pass",
|
|
"verbose": "通關分數",
|
|
"type": "int",
|
|
"min": 1,
|
|
"max": 30,
|
|
"default": 10,
|
|
"help": "set the score to win this game "
|
|
},
|
|
{
|
|
"name": "playground_size",
|
|
"verbose": "場地尺寸",
|
|
"type": "list",
|
|
"default": "400,400",
|
|
"help": "set the size of playground "
|
|
},
|
|
{
|
|
"name": "level",
|
|
"verbose": "內建關卡編號",
|
|
"type": "int",
|
|
"min": -1,
|
|
"max": 5,
|
|
"default": "-1",
|
|
"help": "選定內建關卡,請注意,使用此設定將會覆蓋掉其他關卡設定,預設為 -1 不選擇任何關卡。"
|
|
}, {
|
|
"name": "level_file",
|
|
"verbose": "匯入關卡檔案",
|
|
"type": "path",
|
|
"default": "",
|
|
"help": "可匯入自定義的關卡資料,請參考內建範例的資料格式來設定。使用此設定會覆蓋掉其他關卡設定,也不會使用關卡編號,也不會自動進入下一關。"
|
|
},
|
|
{
|
|
"name": "sound",
|
|
"verbose": "遊戲音效",
|
|
"type": "str",
|
|
"choices": [
|
|
"on",
|
|
"off"
|
|
],
|
|
"help": "'on' can turn on the sound.",
|
|
"default": "on"
|
|
}
|
|
]
|
|
} |