66 lines
1.9 KiB
Text
66 lines
1.9 KiB
Text
[gd_scene load_steps=4 format=3 uid="uid://kk4ecpjc4puc"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://btcmnw6q6g0h0" path="res://objects/pinned_photo.tscn" id="1_iugs1"]
|
|
|
|
[sub_resource type="GDScript" id="GDScript_lm1ej"]
|
|
script/source = "extends Node
|
|
|
|
func set_conclusion(method : int, motive : int, murderer : int) -> void:
|
|
%Method.clue = method
|
|
%Motive.clue = motive
|
|
%Murderer.clue = murderer
|
|
|
|
func _ready() -> void:
|
|
%Method.input_pickable = false
|
|
%Motive.input_pickable = false
|
|
%Murderer.input_pickable = false
|
|
$MethodActual.input_pickable = false
|
|
$MotiveActual.input_pickable = false
|
|
$MurdererActual.input_pickable = false
|
|
"
|
|
|
|
[sub_resource type="LabelSettings" id="LabelSettings_iugs1"]
|
|
font_size = 40
|
|
|
|
[node name="ResultsUI" type="Node"]
|
|
script = SubResource("GDScript_lm1ej")
|
|
|
|
[node name="YourConclusionLabel" type="Label" parent="."]
|
|
offset_left = 230.0
|
|
offset_top = 147.0
|
|
offset_right = 543.0
|
|
offset_bottom = 202.0
|
|
text = "Your Conclusion"
|
|
label_settings = SubResource("LabelSettings_iugs1")
|
|
|
|
[node name="Method" parent="." instance=ExtResource("1_iugs1")]
|
|
unique_name_in_owner = true
|
|
position = Vector2(559, 313)
|
|
|
|
[node name="Motive" parent="." instance=ExtResource("1_iugs1")]
|
|
unique_name_in_owner = true
|
|
position = Vector2(936, 379)
|
|
|
|
[node name="Murderer" parent="." instance=ExtResource("1_iugs1")]
|
|
unique_name_in_owner = true
|
|
position = Vector2(1316, 306)
|
|
|
|
[node name="Label2" type="Label" parent="."]
|
|
offset_left = 347.0
|
|
offset_top = 599.0
|
|
offset_right = 660.0
|
|
offset_bottom = 654.0
|
|
text = "The Truth"
|
|
label_settings = SubResource("LabelSettings_iugs1")
|
|
|
|
[node name="MethodActual" parent="." instance=ExtResource("1_iugs1")]
|
|
position = Vector2(559, 734)
|
|
clue = 0
|
|
|
|
[node name="MotiveActual" parent="." instance=ExtResource("1_iugs1")]
|
|
position = Vector2(933, 720)
|
|
clue = 8
|
|
|
|
[node name="MurdererActual" parent="." instance=ExtResource("1_iugs1")]
|
|
position = Vector2(1316, 727)
|
|
clue = 12
|