开场教程抉择

This commit is contained in:
草莓 2025-03-13 17:24:12 +08:00
parent 8c586f70b0
commit 0c56a8f747
3 changed files with 66 additions and 28 deletions

View File

@ -1916,28 +1916,22 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
], ],
"startText": [ "startText": [
{ {
"type": "if", "type": "setText"
"condition": "false", },
"true": [ {
{ "type": "setHeroOpacity",
"type": "setText" "opacity": 0
}, },
{ {
"type": "setHeroOpacity", "type": "setCurtain",
"opacity": 0 "color": [
}, 0,
{ 0,
"type": "setCurtain", 0,
"color": [ 1
0, ],
0, "time": 500,
0, "keep": true
1
],
"time": 500,
"keep": true
}
]
}, },
{ {
"type": "function", "type": "function",
@ -1952,12 +1946,21 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
"name": "强制横屏" "name": "强制横屏"
}, },
{ {
"type": "if", "type": "insert",
"condition": "false", "name": "chapter0"
"true": [ },
{
"type": "confirm",
"text": "要进行教程内容吗",
"yes": [],
"no": [
{ {
"type": "insert", "type": "changeFloor",
"name": "chapter0" "floorId": "guangchang",
"loc": [
6,
10
]
} }
] ]
} }

View File

@ -11,7 +11,16 @@ main.floors.jiaocheng01=
"images": [], "images": [],
"ratio": 1, "ratio": 1,
"defaultGround": "X90078", "defaultGround": "X90078",
"firstArrive": [], "firstArrive": [
{
"type": "setHeroOpacity",
"opacity": 1
},
{
"type": "setCurtain",
"time": 1000
}
],
"eachArrive": [], "eachArrive": [],
"parallelDo": "", "parallelDo": "",
"events": { "events": {

View File

@ -23,6 +23,32 @@ main.floors.jiaocheng02=
], ],
"12,0": [ "12,0": [
"法杖魔攻比例10%魔防比例0%" "法杖魔攻比例10%魔防比例0%"
],
"6,0": [
{
"type": "setCurtain",
"color": [
0,
0,
0,
1
],
"time": 1000,
"keep": true
},
{
"type": "setValue",
"name": "flag:__visited__",
"value": "{}"
},
{
"type": "changeFloor",
"floorId": "guangchang",
"loc": [
6,
10
]
}
] ]
}, },
"changeFloor": { "changeFloor": {