Files
kunpocc-behaviortree/bt-demo/extensions-config/bt-editor/bt-tree2.json

195 lines
5.5 KiB
JSON
Raw Normal View History

2025-09-17 10:25:13 +08:00
{
"name": "bt-tree2",
"description": "",
"nodes": [
{
2025-09-23 18:18:20 +08:00
"id": "1758972524240_4ockrv5jo",
"className": "Selector",
"name": "选择节点",
"position": {
"x": -60,
"y": -220
},
"parameters": {},
"children": [
"1758972608716_o2uai5dp8",
"1758972550481_0iq7imml9",
"1758972698829_wxfe7ut33"
]
},
{
"id": "1758889921667_sjwxkfjs7",
"className": "BTAnimation",
"name": "播放动画",
"position": {
"x": 80,
"y": -60
},
"parameters": {
"_name": "jump",
"_loop": false
},
"children": []
},
{
"id": "1758889925476_dcyjc7a4o",
"className": "BTAnimation",
"name": "播放动画",
"position": {
"x": 220,
"y": -60
},
"parameters": {
"_name": "idle",
"_loop": true
},
"children": []
},
{
"id": "1758972550481_0iq7imml9",
"className": "Sequence",
"name": "顺序节点",
2025-09-17 10:25:13 +08:00
"position": {
2025-09-23 18:18:20 +08:00
"x": 20,
"y": -120
2025-09-17 10:25:13 +08:00
},
"parameters": {},
"children": [
2025-09-23 18:18:20 +08:00
"1758972573109_fxt7magur",
"1758889921667_sjwxkfjs7"
2025-09-17 10:25:13 +08:00
]
},
{
2025-09-23 18:18:20 +08:00
"id": "1758972573109_fxt7magur",
"className": "BTConditionRandom",
"name": "随机条件节点",
2025-09-17 10:25:13 +08:00
"position": {
2025-09-23 18:18:20 +08:00
"x": -60,
"y": -60
},
"parameters": {
"_value": 0.5
},
"children": []
},
{
"id": "1758972608716_o2uai5dp8",
"className": "Sequence",
"name": "顺序节点",
"position": {
"x": -260,
"y": -120
2025-09-17 10:25:13 +08:00
},
"parameters": {},
"children": [
2025-09-23 18:18:20 +08:00
"1758972608716_ivq9o10bi",
"1758972608716_zmw9ep5n3"
]
},
{
2025-09-23 18:18:20 +08:00
"id": "1758972608716_ivq9o10bi",
"className": "BTConditionRandom",
"name": "随机条件节点",
"position": {
"x": -340,
"y": -60
},
"parameters": {
"_value": 0.5
},
"children": []
},
{
"id": "1758972608716_zmw9ep5n3",
"className": "BTAnimation",
"name": "播放动画",
"position": {
2025-09-23 18:18:20 +08:00
"x": -200,
"y": -60
},
"parameters": {
2025-09-23 18:18:20 +08:00
"_name": "jump",
"_loop": false
},
2025-10-03 18:56:49 +08:00
"children": []
2025-09-23 18:18:20 +08:00
},
{
"id": "1758972698829_wxfe7ut33",
"className": "LimitTime",
"name": "时间限制节点",
"position": {
"x": 220,
"y": -140
},
"parameters": {
"_max": 2
},
"children": [
"1758889925476_dcyjc7a4o"
]
2025-09-17 10:25:13 +08:00
}
],
"connections": [
{
2025-09-23 18:18:20 +08:00
"id": "conn_1758972580886_zykcbl2vk",
"sourceNodeId": "1758972550481_0iq7imml9",
"targetNodeId": "1758972573109_fxt7magur",
"sourcePointType": "child",
"targetPointType": "parent"
},
{
"id": "conn_1758972582770_9e4pexjcz",
"sourceNodeId": "1758972550481_0iq7imml9",
"targetNodeId": "1758889921667_sjwxkfjs7",
"sourcePointType": "child",
"targetPointType": "parent"
},
{
"id": "conn_1758972608716_6gnj5711e",
"sourceNodeId": "1758972608716_o2uai5dp8",
"targetNodeId": "1758972608716_ivq9o10bi",
"sourcePointType": "child",
"targetPointType": "parent"
},
{
"id": "conn_1758972608716_9y9ytjxa8",
"sourceNodeId": "1758972608716_o2uai5dp8",
"targetNodeId": "1758972608716_zmw9ep5n3",
"sourcePointType": "child",
"targetPointType": "parent"
},
{
"id": "conn_1758972613504_me3rp31l8",
"sourceNodeId": "1758972524240_4ockrv5jo",
"targetNodeId": "1758972608716_o2uai5dp8",
"sourcePointType": "child",
"targetPointType": "parent"
},
{
"id": "conn_1758972674275_rkn2let28",
"sourceNodeId": "1758972524240_4ockrv5jo",
"targetNodeId": "1758972550481_0iq7imml9",
"sourcePointType": "child",
"targetPointType": "parent"
},
{
"id": "conn_1758972717495_fo5zdeslg",
"sourceNodeId": "1758972524240_4ockrv5jo",
"targetNodeId": "1758972698829_wxfe7ut33",
2025-09-17 10:25:13 +08:00
"sourcePointType": "child",
"targetPointType": "parent"
},
{
2025-09-23 18:18:20 +08:00
"id": "conn_1758972724719_hjsvpuvvy",
"sourceNodeId": "1758972698829_wxfe7ut33",
"targetNodeId": "1758889925476_dcyjc7a4o",
"sourcePointType": "child",
"targetPointType": "parent"
2025-09-17 10:25:13 +08:00
}
2025-10-06 11:15:33 +08:00
],
2025-09-23 18:18:20 +08:00
"canvasScale": 1.953125,
2025-10-06 11:15:33 +08:00
"canvasOffset": {
2025-09-23 18:18:20 +08:00
"x": 700,
"y": 665.25
2025-10-06 11:15:33 +08:00
}
2025-09-17 10:25:13 +08:00
}