Floppy_Bort/scenes/gui/startscreen/startscreen.torch
megamichi 1bae9f78bd init
2025-02-11 19:47:33 +01:00

265 lines
5.7 KiB
Text

[orchestration type="OScript" load_steps=14 format=3 uid="uid://b8x2gyqycqrwr"]
[obj type="OScriptFunction" id="OScriptFunction_fx4b6"]
guid = "4A1F41EB-67C4-426C-8DCD-816349F7865C"
method = {
"name": &"_on_play_pressed"
}
id = 0
[obj type="OScriptFunction" id="OScriptFunction_vp4yh"]
guid = "11178596-046B-467D-966A-41FF7DA575C7"
method = {
"name": &"_on_exit_pressed"
}
id = 4
[obj type="OScriptGraph" id="OScriptGraph_rq4gi"]
graph_name = &"EventGraph"
offset = Vector2(-552.654, 103.831)
zoom = 0.883177
flags = 8
nodes = Array[int]([0, 1, 2, 3, 4, 5, 6, 8, 10, 11])
functions = Array[int]([0, 4])
[obj type="OScriptNodeEvent" id="OScriptNodeEvent_i4kj0"]
function_id = "4A1F41EB-67C4-426C-8DCD-816349F7865C"
id = 0
position = Vector2(-440, -120)
pin_data = Array[Dictionary]([{
"pin_name": &"ExecOut",
"dir": 1,
"flags": 4
}])
[obj type="OScriptNodeSceneTree" id="OScriptNodeSceneTree_a1eq1"]
id = 1
position = Vector2(-400, -20)
pin_data = Array[Dictionary]([{
"pin_name": &"scene_tree",
"type": 24,
"dir": 1,
"flags": 2,
"target_class": "SceneTree"
}])
[obj type="OScriptNodeCallMemberFunction" id="OScriptNodeCallMemberFunction_wd3kt"]
function_name = &"change_scene_to_file"
target_class_name = "SceneTree"
target_type = 24
flags = 520
method = {
"name": &"change_scene_to_file",
"return": {
"type": 2,
"class_name": &"Error",
"usage": 65542
},
"args": [{
"name": &"path",
"type": 4
}]
}
chain = false
id = 2
position = Vector2(80, -100)
pin_data = Array[Dictionary]([{
"pin_name": &"ExecIn",
"flags": 4
}, {
"pin_name": &"ExecOut",
"dir": 1,
"flags": 4
}, {
"pin_name": &"target",
"type": 24,
"flags": 2050,
"label": "SceneTree",
"target_class": "SceneTree"
}, {
"pin_name": &"path",
"type": 4,
"flags": 2,
"dv": ""
}, {
"pin_name": &"return_value",
"type": 2,
"dir": 1,
"flags": 33554434,
"label": "Error",
"target_class": "Error",
"usage": 65542
}])
[obj type="OScriptNodeResourcePath" id="OScriptNodeResourcePath_h36mq"]
path = "res://scenes/main.tscn"
id = 3
position = Vector2(-220, 100)
pin_data = Array[Dictionary]([{
"pin_name": &"path",
"type": 4,
"dir": 1,
"flags": 2050,
"label": "res://scenes/main.tscn",
"dv": ""
}])
[obj type="OScriptNodeEvent" id="OScriptNodeEvent_tgoc7"]
function_id = "11178596-046B-467D-966A-41FF7DA575C7"
id = 4
position = Vector2(-420, 560)
pin_data = Array[Dictionary]([{
"pin_name": &"ExecOut",
"dir": 1,
"flags": 4
}])
[obj type="OScriptNodeSceneTree" id="OScriptNodeSceneTree_gxroo"]
id = 5
position = Vector2(-300, 640)
pin_data = Array[Dictionary]([{
"pin_name": &"scene_tree",
"type": 24,
"dir": 1,
"flags": 2,
"target_class": "SceneTree"
}])
[obj type="OScriptNodeCallMemberFunction" id="OScriptNodeCallMemberFunction_jd1xd"]
function_name = &"quit"
target_class_name = "SceneTree"
target_type = 24
flags = 520
method = {
"name": &"quit",
"default_args": [0],
"args": [{
"name": &"exit_code",
"type": 2
}]
}
chain = false
id = 6
position = Vector2(-40, 560)
pin_data = Array[Dictionary]([{
"pin_name": &"ExecIn",
"flags": 4
}, {
"pin_name": &"ExecOut",
"dir": 1,
"flags": 4
}, {
"pin_name": &"target",
"type": 24,
"flags": 2050,
"label": "SceneTree",
"target_class": "SceneTree"
}, {
"pin_name": &"exit_code",
"type": 2,
"flags": 2,
"dv": 0
}])
[obj type="OScriptNodeSceneNode" id="OScriptNodeSceneNode_14yay"]
node_path = NodePath("music")
target_class_name = "AudioStreamPlayer"
id = 8
position = Vector2(80, 60)
pin_data = Array[Dictionary]([{
"pin_name": &"music",
"type": 24,
"dir": 1,
"flags": 2050,
"target_class": "AudioStreamPlayer"
}])
[obj type="OScriptNodeCallMemberFunction" id="OScriptNodeCallMemberFunction_3sx2o"]
function_name = &"add_child"
target_class_name = "Node"
target_type = 24
flags = 520
method = {
"name": &"add_child",
"default_args": [false, 0],
"args": [{
"name": &"node",
"type": 24,
"class_name": &"Node"
}, {
"name": &"force_readable_name",
"type": 1
}, {
"name": &"internal",
"type": 2,
"class_name": &"Node.InternalMode",
"usage": 65542
}]
}
chain = false
id = 10
position = Vector2(420, -60)
pin_data = Array[Dictionary]([{
"pin_name": &"ExecIn",
"flags": 4
}, {
"pin_name": &"ExecOut",
"dir": 1,
"flags": 4
}, {
"pin_name": &"target",
"type": 24,
"flags": 2050,
"label": "Node",
"target_class": "Node"
}, {
"pin_name": &"node",
"type": 24,
"flags": 2,
"target_class": "Node"
}, {
"pin_name": &"force_readable_name",
"type": 1,
"flags": 2,
"dv": false
}, {
"pin_name": &"internal",
"type": 2,
"flags": 33554434,
"target_class": "Node.InternalMode",
"dv": 0,
"usage": 65542
}])
[obj type="OScriptNodeCallMemberFunction" id="OScriptNodeCallMemberFunction_hc3ng"]
function_name = &"queue_free"
target_class_name = "Node"
target_type = 24
flags = 520
method = {
"name": &"queue_free"
}
chain = false
id = 11
position = Vector2(-160, -120)
pin_data = Array[Dictionary]([{
"pin_name": &"ExecIn",
"flags": 4
}, {
"pin_name": &"ExecOut",
"dir": 1,
"flags": 4
}, {
"pin_name": &"target",
"type": 24,
"flags": 2050,
"label": "Node",
"target_class": "Node"
}])
[resource]
base_type = &"Control"
functions = Array[OScriptFunction]([SubResource("OScriptFunction_fx4b6"), SubResource("OScriptFunction_vp4yh")])
connections = Array[int]([11, 0, 2, 0, 4, 0, 6, 0, 2, 0, 10, 0, 0, 0, 11, 0, 1, 0, 2, 1, 5, 0, 6, 1, 8, 0, 11, 1, 3, 0, 2, 2, 8, 0, 10, 2])
nodes = Array[OScriptNode]([SubResource("OScriptNodeEvent_i4kj0"), SubResource("OScriptNodeSceneTree_a1eq1"), SubResource("OScriptNodeCallMemberFunction_wd3kt"), SubResource("OScriptNodeResourcePath_h36mq"), SubResource("OScriptNodeEvent_tgoc7"), SubResource("OScriptNodeSceneTree_gxroo"), SubResource("OScriptNodeCallMemberFunction_jd1xd"), SubResource("OScriptNodeSceneNode_14yay"), SubResource("OScriptNodeCallMemberFunction_3sx2o"), SubResource("OScriptNodeCallMemberFunction_hc3ng")])
graphs = Array[OScriptGraph]([SubResource("OScriptGraph_rq4gi")])