-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdecision.tscn
40 lines (33 loc) · 1.23 KB
/
decision.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
[gd_scene load_steps=3 format=3 uid="uid://cqynx6ifm1u2s"]
[ext_resource type="Script" path="res://choice1.gd" id="1_vlibc"]
[ext_resource type="Script" path="res://choice2.gd" id="2_si8fm"]
[node name="Decision" type="Node2D"]
[node name="ColorRect" type="ColorRect" parent="."]
offset_right = 1162.0
offset_bottom = 658.0
[node name="Label" type="Label" parent="."]
offset_left = 325.0
offset_top = 75.0
offset_right = 835.0
offset_bottom = 224.0
theme_override_colors/font_color = Color(0, 0, 0, 1)
theme_override_font_sizes/font_size = 40
text = "I have to make a choice ...."
[node name="Button" type="Button" parent="."]
offset_left = 52.0
offset_top = 234.0
offset_right = 550.0
offset_bottom = 462.0
theme_override_font_sizes/font_size = 20
text = "Save the witch and let the dark magic continue"
script = ExtResource("1_vlibc")
[node name="Button2" type="Button" parent="."]
offset_left = 591.0
offset_top = 234.0
offset_right = 1079.0
offset_bottom = 461.0
theme_override_font_sizes/font_size = 20
text = "Let the witch die and make the dark magic stop"
script = ExtResource("2_si8fm")
[connection signal="pressed" from="Button" to="Button" method="_on_pressed"]
[connection signal="pressed" from="Button2" to="Button2" method="_on_pressed"]