cutscene progress.

This commit is contained in:
2025-08-01 16:06:32 -07:00
parent 44d3f10875
commit 90be9ae6b3
34 changed files with 209 additions and 281 deletions

90
test_cutscene.tres Executable file → Normal file
View File

@@ -1,97 +1,69 @@
[gd_resource type="Resource" script_class="CutsceneResource" load_steps=2 format=3 uid="uid://bfngefj7emehe"]
[ext_resource type="Script" path="res://addons/cutscene_editor/editor/resources/CutsceneResource.gd" id="1_p6huk"]
[ext_resource type="Script" path="res://addons/cutscene_editor/editor/resources/CutsceneResource.gd" id="1_bldsf"]
[resource]
script = ExtResource("1_p6huk")
script = ExtResource("1_bldsf")
nodes = [{
"id": "entry_476938218",
"id": "entry_3571283853",
"parameters": {},
"position": {
"x": 262.0,
"y": 155.0
"x": 286.0,
"y": 192.0
},
"type": "entry"
}, {
"id": "move_3499731826",
"id": "move_189049872",
"parameters": {
"character": "",
"move_3499731826": 700.0,
"MoveActionNode": 100.0,
"character": "Character1",
"speed": 100.0,
"target_x": 0.0,
"target_y": 0.0
"target_x": 101.0,
"target_y": 501.0
},
"position": {
"x": 380.0,
"y": 40.0
"x": 500.0,
"y": 198.0
},
"type": "move"
}, {
"id": "exit_1710964436",
"id": "exit_1874420853",
"parameters": {},
"position": {
"x": 1020.0,
"y": 140.0
"x": 1220.0,
"y": 220.0
},
"type": "exit"
}, {
"id": "move_2800650428",
"id": "turn_299006216",
"parameters": {
"character": "",
"move_2800650428": 91.0,
"speed": 100.0,
"target_x": 0.0,
"target_y": 0.0
"character": "Character2",
"target": "a",
"turn_speed": 200.0
},
"position": {
"x": 640.0,
"y": 60.0
"x": 880.0,
"y": 220.0
},
"type": "move"
}, {
"id": "MoveActionNode",
"parameters": {
"MoveActionNode": 50.0,
"character": "",
"speed": 100.0,
"target_x": 0.0,
"target_y": 0.0
},
"position": {
"x": 520.0,
"y": 340.0
},
"type": "move"
"type": "turn"
}]
connections = [{
"from_node": "entry_476938218",
"from_node": "entry_3571283853",
"from_port": 0,
"id": "conn_4022396",
"to_node": "move_3499731826",
"id": "conn_179030",
"to_node": "move_189049872",
"to_port": 0
}, {
"from_node": "move_3499731826",
"from_node": "move_189049872",
"from_port": 0,
"id": "conn_4022396",
"to_node": "move_2800650428",
"id": "conn_179030",
"to_node": "turn_299006216",
"to_port": 0
}, {
"from_node": "move_2800650428",
"from_node": "turn_299006216",
"from_port": 0,
"id": "conn_4022396",
"to_node": "exit_1710964436",
"to_port": 0
}, {
"from_node": "move_3499731826",
"from_port": 0,
"id": "conn_4022396",
"to_node": "MoveActionNode",
"to_port": 0
}, {
"from_node": "MoveActionNode",
"from_port": 0,
"id": "conn_4022396",
"to_node": "exit_1710964436",
"id": "conn_179030",
"to_node": "exit_1874420853",
"to_port": 0
}]
metadata = {