2025-09-17 10:25:13 +08:00
|
|
|
{
|
|
|
|
|
"name": "bt-tree1",
|
|
|
|
|
"description": "",
|
|
|
|
|
"nodes": [
|
|
|
|
|
{
|
2025-10-03 18:56:49 +08:00
|
|
|
"id": "1759488688188_qejfcso50",
|
|
|
|
|
"className": "Selector",
|
|
|
|
|
"name": "选择节点",
|
2025-09-17 10:25:13 +08:00
|
|
|
"position": {
|
|
|
|
|
"x": -60,
|
|
|
|
|
"y": -200
|
|
|
|
|
},
|
|
|
|
|
"parameters": {},
|
|
|
|
|
"children": [
|
2025-10-03 18:56:49 +08:00
|
|
|
"1759488707759_2bmdm1fqt",
|
|
|
|
|
"1759488725107_v8u160t95",
|
|
|
|
|
"1759488737637_axpz9aqaz",
|
|
|
|
|
"1759482034741_cf3mqaqdj"
|
|
|
|
|
],
|
|
|
|
|
"alias": "根节点"
|
2025-09-17 10:25:13 +08:00
|
|
|
},
|
|
|
|
|
{
|
2025-10-03 18:56:49 +08:00
|
|
|
"id": "1759479318405_bptb8ltcp",
|
|
|
|
|
"className": "LimitTime",
|
|
|
|
|
"name": "时间限制器",
|
2025-09-17 10:25:13 +08:00
|
|
|
"position": {
|
2025-10-03 18:56:49 +08:00
|
|
|
"x": -40,
|
|
|
|
|
"y": 40
|
2025-09-17 10:25:13 +08:00
|
|
|
},
|
2025-10-03 18:56:49 +08:00
|
|
|
"parameters": {
|
|
|
|
|
"_max": 2
|
|
|
|
|
},
|
|
|
|
|
"children": [
|
|
|
|
|
"1758089736854_t55n54hkh"
|
|
|
|
|
]
|
2025-09-17 10:25:13 +08:00
|
|
|
},
|
|
|
|
|
{
|
2025-10-03 18:56:49 +08:00
|
|
|
"id": "1759479295671_jflit2ek8",
|
2025-09-17 10:25:13 +08:00
|
|
|
"className": "LimitTime",
|
|
|
|
|
"name": "时间限制器",
|
|
|
|
|
"position": {
|
2025-10-03 18:56:49 +08:00
|
|
|
"x": -360,
|
|
|
|
|
"y": 40
|
|
|
|
|
},
|
|
|
|
|
"parameters": {
|
|
|
|
|
"_max": 2
|
|
|
|
|
},
|
|
|
|
|
"children": [
|
|
|
|
|
"1758089659917_vjumiu9hy"
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": "1758089659917_vjumiu9hy",
|
|
|
|
|
"className": "BTAnimation",
|
|
|
|
|
"name": "播放动画",
|
|
|
|
|
"position": {
|
|
|
|
|
"x": -360,
|
|
|
|
|
"y": 160
|
2025-09-17 10:25:13 +08:00
|
|
|
},
|
|
|
|
|
"parameters": {
|
2025-10-03 18:56:49 +08:00
|
|
|
"_name": "walk",
|
|
|
|
|
"_loop": true
|
2025-09-17 10:25:13 +08:00
|
|
|
},
|
|
|
|
|
"children": []
|
|
|
|
|
},
|
|
|
|
|
{
|
2025-10-03 18:56:49 +08:00
|
|
|
"id": "1758089736854_t55n54hkh",
|
|
|
|
|
"className": "BTAnimation",
|
|
|
|
|
"name": "播放动画",
|
2025-09-17 10:25:13 +08:00
|
|
|
"position": {
|
2025-10-03 18:56:49 +08:00
|
|
|
"x": -40,
|
|
|
|
|
"y": 160
|
2025-09-17 10:25:13 +08:00
|
|
|
},
|
|
|
|
|
"parameters": {
|
2025-10-03 18:56:49 +08:00
|
|
|
"_name": "run",
|
|
|
|
|
"_loop": true
|
2025-09-17 10:25:13 +08:00
|
|
|
},
|
|
|
|
|
"children": []
|
|
|
|
|
},
|
|
|
|
|
{
|
2025-10-03 18:56:49 +08:00
|
|
|
"id": "1758089757615_dp9tw9ka1",
|
|
|
|
|
"className": "BTAnimation",
|
|
|
|
|
"name": "播放动画",
|
2025-09-17 10:25:13 +08:00
|
|
|
"position": {
|
2025-10-03 18:56:49 +08:00
|
|
|
"x": 260,
|
|
|
|
|
"y": 40
|
2025-09-17 10:25:13 +08:00
|
|
|
},
|
|
|
|
|
"parameters": {
|
2025-10-03 18:56:49 +08:00
|
|
|
"_name": "jump",
|
|
|
|
|
"_loop": false
|
2025-09-17 10:25:13 +08:00
|
|
|
},
|
|
|
|
|
"children": []
|
2025-10-03 18:56:49 +08:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": "1759478407706_w30m4btux",
|
|
|
|
|
"className": "BTAnimation",
|
|
|
|
|
"name": "播放动画",
|
|
|
|
|
"position": {
|
|
|
|
|
"x": 420,
|
|
|
|
|
"y": 40
|
|
|
|
|
},
|
|
|
|
|
"parameters": {
|
|
|
|
|
"_name": "idle",
|
|
|
|
|
"_loop": true
|
|
|
|
|
},
|
|
|
|
|
"children": []
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": "1759481172259_xou25wj2n",
|
|
|
|
|
"className": "BTConditionRandom",
|
|
|
|
|
"name": "随机条件节点",
|
|
|
|
|
"position": {
|
|
|
|
|
"x": -520,
|
|
|
|
|
"y": 40
|
|
|
|
|
},
|
|
|
|
|
"parameters": {
|
|
|
|
|
"_value": 0.3
|
|
|
|
|
},
|
|
|
|
|
"children": []
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": "1759481282875_5orqavi5y",
|
|
|
|
|
"className": "BTConditionRandom",
|
|
|
|
|
"name": "随机条件节点",
|
|
|
|
|
"position": {
|
|
|
|
|
"x": -200,
|
|
|
|
|
"y": 40
|
|
|
|
|
},
|
|
|
|
|
"parameters": {
|
|
|
|
|
"_value": 0.4
|
|
|
|
|
},
|
|
|
|
|
"children": []
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": "1759481307863_ja6q4q9bz",
|
|
|
|
|
"className": "BTConditionRandom",
|
|
|
|
|
"name": "随机条件节点",
|
|
|
|
|
"position": {
|
|
|
|
|
"x": 120,
|
|
|
|
|
"y": 40
|
|
|
|
|
},
|
|
|
|
|
"parameters": {
|
|
|
|
|
"_value": 0.3
|
|
|
|
|
},
|
|
|
|
|
"children": []
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": "1759482034741_cf3mqaqdj",
|
|
|
|
|
"className": "LimitTime",
|
|
|
|
|
"name": "时间限制器",
|
|
|
|
|
"position": {
|
|
|
|
|
"x": 420,
|
|
|
|
|
"y": -80
|
|
|
|
|
},
|
|
|
|
|
"parameters": {
|
|
|
|
|
"_max": 3
|
|
|
|
|
},
|
|
|
|
|
"children": [
|
|
|
|
|
"1759478407706_w30m4btux"
|
|
|
|
|
],
|
|
|
|
|
"alias": "待机动画"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": "1759488707759_2bmdm1fqt",
|
|
|
|
|
"className": "Sequence",
|
|
|
|
|
"name": "顺序节点",
|
|
|
|
|
"position": {
|
|
|
|
|
"x": -440,
|
|
|
|
|
"y": -80
|
|
|
|
|
},
|
|
|
|
|
"parameters": {},
|
|
|
|
|
"children": [
|
|
|
|
|
"1759481172259_xou25wj2n",
|
|
|
|
|
"1759479295671_jflit2ek8"
|
|
|
|
|
],
|
|
|
|
|
"alias": "行走动画分支"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": "1759488725107_v8u160t95",
|
|
|
|
|
"className": "Sequence",
|
|
|
|
|
"name": "顺序节点",
|
|
|
|
|
"position": {
|
|
|
|
|
"x": -120,
|
|
|
|
|
"y": -80
|
|
|
|
|
},
|
|
|
|
|
"parameters": {},
|
|
|
|
|
"children": [
|
|
|
|
|
"1759481282875_5orqavi5y",
|
|
|
|
|
"1759479318405_bptb8ltcp"
|
|
|
|
|
],
|
|
|
|
|
"alias": "奔跑动画分支"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": "1759488737637_axpz9aqaz",
|
|
|
|
|
"className": "Sequence",
|
|
|
|
|
"name": "顺序节点",
|
|
|
|
|
"position": {
|
|
|
|
|
"x": 180,
|
|
|
|
|
"y": -80
|
|
|
|
|
},
|
|
|
|
|
"parameters": {},
|
|
|
|
|
"children": [
|
|
|
|
|
"1759481307863_ja6q4q9bz",
|
|
|
|
|
"1758089757615_dp9tw9ka1"
|
|
|
|
|
],
|
|
|
|
|
"alias": "跳跃动画分支"
|
2025-09-17 10:25:13 +08:00
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"connections": [
|
|
|
|
|
{
|
2025-10-03 18:56:49 +08:00
|
|
|
"id": "conn_1759479306749_wnwlz1638",
|
|
|
|
|
"sourceNodeId": "1759479295671_jflit2ek8",
|
|
|
|
|
"targetNodeId": "1758089659917_vjumiu9hy",
|
|
|
|
|
"sourcePointType": "child",
|
|
|
|
|
"targetPointType": "parent"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": "conn_1759479325803_ln42r7198",
|
|
|
|
|
"sourceNodeId": "1759479318405_bptb8ltcp",
|
|
|
|
|
"targetNodeId": "1758089736854_t55n54hkh",
|
|
|
|
|
"sourcePointType": "child",
|
|
|
|
|
"targetPointType": "parent"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": "conn_1759482041141_ok8gnqp0o",
|
|
|
|
|
"sourceNodeId": "1759482034741_cf3mqaqdj",
|
|
|
|
|
"targetNodeId": "1759478407706_w30m4btux",
|
|
|
|
|
"sourcePointType": "child",
|
|
|
|
|
"targetPointType": "parent"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": "conn_1759488698126_dou7vxvo0",
|
|
|
|
|
"sourceNodeId": "1759488688188_qejfcso50",
|
|
|
|
|
"targetNodeId": "1759482034741_cf3mqaqdj",
|
|
|
|
|
"sourcePointType": "child",
|
|
|
|
|
"targetPointType": "parent"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": "conn_1759488712210_gn0eom3zv",
|
|
|
|
|
"sourceNodeId": "1759488688188_qejfcso50",
|
|
|
|
|
"targetNodeId": "1759488707759_2bmdm1fqt",
|
|
|
|
|
"sourcePointType": "child",
|
|
|
|
|
"targetPointType": "parent"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": "conn_1759488719553_mag45k9dx",
|
|
|
|
|
"sourceNodeId": "1759488707759_2bmdm1fqt",
|
|
|
|
|
"targetNodeId": "1759481172259_xou25wj2n",
|
|
|
|
|
"sourcePointType": "child",
|
|
|
|
|
"targetPointType": "parent"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": "conn_1759488720799_ksfwij12z",
|
|
|
|
|
"sourceNodeId": "1759488707759_2bmdm1fqt",
|
|
|
|
|
"targetNodeId": "1759479295671_jflit2ek8",
|
|
|
|
|
"sourcePointType": "child",
|
|
|
|
|
"targetPointType": "parent"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": "conn_1759488728262_shaymep9m",
|
|
|
|
|
"sourceNodeId": "1759488688188_qejfcso50",
|
|
|
|
|
"targetNodeId": "1759488725107_v8u160t95",
|
|
|
|
|
"sourcePointType": "child",
|
|
|
|
|
"targetPointType": "parent"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": "conn_1759488732106_yg23eiw3l",
|
|
|
|
|
"sourceNodeId": "1759488725107_v8u160t95",
|
|
|
|
|
"targetNodeId": "1759481282875_5orqavi5y",
|
|
|
|
|
"sourcePointType": "child",
|
|
|
|
|
"targetPointType": "parent"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": "conn_1759488733833_08kf67zp1",
|
|
|
|
|
"sourceNodeId": "1759488725107_v8u160t95",
|
|
|
|
|
"targetNodeId": "1759479318405_bptb8ltcp",
|
2025-09-17 10:25:13 +08:00
|
|
|
"sourcePointType": "child",
|
|
|
|
|
"targetPointType": "parent"
|
|
|
|
|
},
|
|
|
|
|
{
|
2025-10-03 18:56:49 +08:00
|
|
|
"id": "conn_1759488741448_2in7yz3v7",
|
|
|
|
|
"sourceNodeId": "1759488688188_qejfcso50",
|
|
|
|
|
"targetNodeId": "1759488737637_axpz9aqaz",
|
2025-09-17 10:25:13 +08:00
|
|
|
"sourcePointType": "child",
|
|
|
|
|
"targetPointType": "parent"
|
|
|
|
|
},
|
|
|
|
|
{
|
2025-10-03 18:56:49 +08:00
|
|
|
"id": "conn_1759488742689_15z7fchvc",
|
|
|
|
|
"sourceNodeId": "1759488737637_axpz9aqaz",
|
|
|
|
|
"targetNodeId": "1759481307863_ja6q4q9bz",
|
2025-09-17 10:25:13 +08:00
|
|
|
"sourcePointType": "child",
|
|
|
|
|
"targetPointType": "parent"
|
|
|
|
|
},
|
|
|
|
|
{
|
2025-10-03 18:56:49 +08:00
|
|
|
"id": "conn_1759488745870_5rllaj2oe",
|
|
|
|
|
"sourceNodeId": "1759488737637_axpz9aqaz",
|
|
|
|
|
"targetNodeId": "1758089757615_dp9tw9ka1",
|
2025-09-17 10:25:13 +08:00
|
|
|
"sourcePointType": "child",
|
|
|
|
|
"targetPointType": "parent"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|