- Introduced a new action type `move_to` allowing children to direct a stickman to a destination using either Walk or Run styles. - Updated the ActionEditor UI to include Walk/Run buttons for selecting movement styles. - Ensured compatibility with existing `walk_to` actions by converting them to the new `move_to` format during loading. - Defined clear success criteria for the implementation, including distinct movement animations and behavior for both Walk and Run. - Established a comprehensive verification contract to ensure functionality across various terrains and scenarios.
321 lines
4.6 KiB
Plaintext
321 lines
4.6 KiB
Plaintext
{
|
|
"version": "1.1",
|
|
"scene_name": "Untitled",
|
|
"camera": {
|
|
"position": {
|
|
"x": 0.0,
|
|
"y": -400.0
|
|
},
|
|
"zoom": 0.5
|
|
},
|
|
"objects": [
|
|
{
|
|
"file_id": "terrain_1",
|
|
"type": "terrain",
|
|
"position": {
|
|
"x": -1536.0,
|
|
"y": 256.0
|
|
},
|
|
"rotation": 0.0,
|
|
"asset_id": "ground",
|
|
"scale": {
|
|
"x": 1.0,
|
|
"y": 1.0
|
|
}
|
|
},
|
|
{
|
|
"file_id": "terrain_2",
|
|
"type": "terrain",
|
|
"position": {
|
|
"x": -1344.0,
|
|
"y": 256.0
|
|
},
|
|
"rotation": 0.0,
|
|
"asset_id": "ground",
|
|
"scale": {
|
|
"x": 1.0,
|
|
"y": 1.0
|
|
}
|
|
},
|
|
{
|
|
"file_id": "terrain_3",
|
|
"type": "terrain",
|
|
"position": {
|
|
"x": -1152.0,
|
|
"y": 256.0
|
|
},
|
|
"rotation": 0.0,
|
|
"asset_id": "ground",
|
|
"scale": {
|
|
"x": 1.0,
|
|
"y": 1.0
|
|
}
|
|
},
|
|
{
|
|
"file_id": "terrain_4",
|
|
"type": "terrain",
|
|
"position": {
|
|
"x": -960.0,
|
|
"y": 256.0
|
|
},
|
|
"rotation": 0.0,
|
|
"asset_id": "ground",
|
|
"scale": {
|
|
"x": 1.0,
|
|
"y": 1.0
|
|
}
|
|
},
|
|
{
|
|
"file_id": "terrain_5",
|
|
"type": "terrain",
|
|
"position": {
|
|
"x": -768.0,
|
|
"y": 256.0
|
|
},
|
|
"rotation": 0.0,
|
|
"asset_id": "ground",
|
|
"scale": {
|
|
"x": 1.0,
|
|
"y": 1.0
|
|
}
|
|
},
|
|
{
|
|
"file_id": "terrain_6",
|
|
"type": "terrain",
|
|
"position": {
|
|
"x": -576.0,
|
|
"y": 256.0
|
|
},
|
|
"rotation": 0.0,
|
|
"asset_id": "ground",
|
|
"scale": {
|
|
"x": 1.0,
|
|
"y": 1.0
|
|
}
|
|
},
|
|
{
|
|
"file_id": "terrain_7",
|
|
"type": "terrain",
|
|
"position": {
|
|
"x": -384.0,
|
|
"y": 256.0
|
|
},
|
|
"rotation": 0.0,
|
|
"asset_id": "ground",
|
|
"scale": {
|
|
"x": 1.0,
|
|
"y": 1.0
|
|
}
|
|
},
|
|
{
|
|
"file_id": "terrain_8",
|
|
"type": "terrain",
|
|
"position": {
|
|
"x": -192.0,
|
|
"y": 256.0
|
|
},
|
|
"rotation": 0.0,
|
|
"asset_id": "ground",
|
|
"scale": {
|
|
"x": 1.0,
|
|
"y": 1.0
|
|
}
|
|
},
|
|
{
|
|
"file_id": "terrain_9",
|
|
"type": "terrain",
|
|
"position": {
|
|
"x": 0.0,
|
|
"y": 256.0
|
|
},
|
|
"rotation": 0.0,
|
|
"asset_id": "ground",
|
|
"scale": {
|
|
"x": 1.0,
|
|
"y": 1.0
|
|
}
|
|
},
|
|
{
|
|
"file_id": "terrain_10",
|
|
"type": "terrain",
|
|
"position": {
|
|
"x": 192.0,
|
|
"y": 256.0
|
|
},
|
|
"rotation": 0.0,
|
|
"asset_id": "ground",
|
|
"scale": {
|
|
"x": 1.0,
|
|
"y": 1.0
|
|
}
|
|
},
|
|
{
|
|
"file_id": "terrain_11",
|
|
"type": "terrain",
|
|
"position": {
|
|
"x": 384.0,
|
|
"y": 288.0
|
|
},
|
|
"rotation": 0.0,
|
|
"asset_id": "ground",
|
|
"scale": {
|
|
"x": 1.0,
|
|
"y": 1.0
|
|
}
|
|
},
|
|
{
|
|
"file_id": "terrain_12",
|
|
"type": "terrain",
|
|
"position": {
|
|
"x": 576.0,
|
|
"y": 288.0
|
|
},
|
|
"rotation": 0.0,
|
|
"asset_id": "ground",
|
|
"scale": {
|
|
"x": 1.0,
|
|
"y": 1.0
|
|
}
|
|
},
|
|
{
|
|
"file_id": "terrain_13",
|
|
"type": "terrain",
|
|
"position": {
|
|
"x": 768.0,
|
|
"y": 288.0
|
|
},
|
|
"rotation": 0.0,
|
|
"asset_id": "ground",
|
|
"scale": {
|
|
"x": 1.0,
|
|
"y": 1.0
|
|
}
|
|
},
|
|
{
|
|
"file_id": "terrain_14",
|
|
"type": "terrain",
|
|
"position": {
|
|
"x": 960.0,
|
|
"y": 288.0
|
|
},
|
|
"rotation": 0.0,
|
|
"asset_id": "ground",
|
|
"scale": {
|
|
"x": 1.0,
|
|
"y": 1.0
|
|
}
|
|
},
|
|
{
|
|
"file_id": "terrain_15",
|
|
"type": "terrain",
|
|
"position": {
|
|
"x": 1152.0,
|
|
"y": 288.0
|
|
},
|
|
"rotation": 0.0,
|
|
"asset_id": "ground",
|
|
"scale": {
|
|
"x": 1.0,
|
|
"y": 1.0
|
|
}
|
|
},
|
|
{
|
|
"file_id": "terrain_16",
|
|
"type": "terrain",
|
|
"position": {
|
|
"x": 1344.0,
|
|
"y": 288.0
|
|
},
|
|
"rotation": 0.0,
|
|
"asset_id": "ground",
|
|
"scale": {
|
|
"x": 1.0,
|
|
"y": 1.0
|
|
}
|
|
},
|
|
{
|
|
"file_id": "terrain_17",
|
|
"type": "terrain",
|
|
"position": {
|
|
"x": 1536.0,
|
|
"y": 288.0
|
|
},
|
|
"rotation": 0.0,
|
|
"asset_id": "ground",
|
|
"scale": {
|
|
"x": 1.0,
|
|
"y": 1.0
|
|
}
|
|
},
|
|
{
|
|
"file_id": "terrain_18",
|
|
"type": "terrain",
|
|
"position": {
|
|
"x": 1728.0,
|
|
"y": 288.0
|
|
},
|
|
"rotation": 0.0,
|
|
"asset_id": "ground",
|
|
"scale": {
|
|
"x": 1.0,
|
|
"y": 1.0
|
|
}
|
|
},
|
|
{
|
|
"file_id": "terrain_19",
|
|
"type": "terrain",
|
|
"position": {
|
|
"x": 1920.0,
|
|
"y": 288.0
|
|
},
|
|
"rotation": 0.0,
|
|
"asset_id": "ground",
|
|
"scale": {
|
|
"x": 1.0,
|
|
"y": 1.0
|
|
}
|
|
},
|
|
{
|
|
"file_id": "terrain_20",
|
|
"type": "terrain",
|
|
"position": {
|
|
"x": 2112.0,
|
|
"y": 288.0
|
|
},
|
|
"rotation": 0.0,
|
|
"asset_id": "ground",
|
|
"scale": {
|
|
"x": 1.0,
|
|
"y": 1.0
|
|
}
|
|
},
|
|
{
|
|
"file_id": "stickman_1",
|
|
"type": "stickman",
|
|
"position": {
|
|
"x": -1368.0,
|
|
"y": -156.0
|
|
},
|
|
"rotation": 0.0,
|
|
"stk_path": "res://content/stickmen/break.stk",
|
|
"facing_profile": "FORWARD",
|
|
"action_queue": [
|
|
{
|
|
"type": "move_to",
|
|
"target": {
|
|
"x": 2580.0,
|
|
"y": 228.0
|
|
},
|
|
"style": "run"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"event_rules": [],
|
|
"metadata": {
|
|
"created_unix": 1791088389,
|
|
"modified_unix": 1791167929.379,
|
|
"autosave": false,
|
|
"source_path": ""
|
|
}
|
|
} |