-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain_window.tscn
166 lines (147 loc) · 5.71 KB
/
main_window.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
[gd_scene load_steps=16 format=3 uid="uid://dhgppagy2p0l0"]
[ext_resource type="Texture2D" uid="uid://o34sfyeojsgi" path="res://Sprites/Background.png" id="1_xs0gr"]
[ext_resource type="LabelSettings" uid="uid://bfqrdk86cm1io" path="res://Styles/Main Window Styles/TextButtonShadow_large.tres" id="2_13662"]
[ext_resource type="LabelSettings" uid="uid://dmnwc0n77e1a7" path="res://Styles/Main Window Styles/TextButtonShadow.tres" id="3_p2vdp"]
[ext_resource type="Theme" uid="uid://bxe5pf3einr0o" path="res://Styles/Main Window Styles/MainButton.tres" id="4_nbm8l"]
[ext_resource type="Script" path="res://Scripts/Main Window Scripts/PlayRedguard.gd" id="5_lvwkv"]
[ext_resource type="Script" path="res://Scripts/Main Window Scripts/OpenOptionsWindow.gd" id="7_w3t3n"]
[ext_resource type="Script" path="res://Scripts/Main Window Scripts/UninstallButton.gd" id="9_6utra"]
[ext_resource type="Script" path="res://Scripts/Main Window Scripts/Quit.gd" id="9_7kvq2"]
[ext_resource type="Script" path="res://Scripts/Main Window Scripts/OpenWebsite.gd" id="9_q77og"]
[ext_resource type="Script" path="res://Scripts/Main Window Scripts/AudioPlayer.gd" id="10_3pgcw"]
[ext_resource type="PackedScene" uid="uid://hsdvm4xbgyuj" path="res://options_window.tscn" id="10_isej0"]
[ext_resource type="AudioStream" uid="uid://c7qe7tgy8stp" path="res://Sounds/RATTLE1.wav" id="11_lbt5i"]
[ext_resource type="AudioStream" uid="uid://cxgweq2fugss2" path="res://Sounds/RATTLE2.wav" id="12_y6138"]
[ext_resource type="AudioStream" uid="uid://lprnjvrf68ed" path="res://Sounds/RATTLE3.wav" id="13_l0gq0"]
[ext_resource type="AudioStream" uid="uid://cxcj7mj525hjd" path="res://Sounds/SCRAPE2.wav" id="14_wbjay"]
[node name="Main Window Root" type="Control"]
texture_filter = 1
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="Background" type="TextureRect" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_right = 640.0
offset_bottom = 480.0
grow_horizontal = 2
grow_vertical = 2
scale = Vector2(0.5, 0.5)
texture = ExtResource("1_xs0gr")
[node name="Main Button Shadows" type="VBoxContainer" parent="."]
self_modulate = Color(1, 1, 1, 0)
layout_mode = 0
offset_left = 229.0
offset_top = 201.0
offset_right = 621.0
offset_bottom = 479.0
theme_override_constants/separation = 8
[node name="Label" type="Label" parent="Main Button Shadows"]
self_modulate = Color(0, 0, 0, 0.533333)
layout_mode = 2
text = "PLAY REDGUARD"
label_settings = ExtResource("2_13662")
horizontal_alignment = 2
[node name="Label2" type="Label" parent="Main Button Shadows"]
self_modulate = Color(0, 0, 0, 0.533333)
layout_mode = 2
text = "GAME OPTIONS"
label_settings = ExtResource("3_p2vdp")
horizontal_alignment = 2
[node name="Label3" type="Label" parent="Main Button Shadows"]
self_modulate = Color(0, 0, 0, 0.533333)
layout_mode = 2
text = "TECHNICAL SUPPORT"
label_settings = ExtResource("3_p2vdp")
horizontal_alignment = 2
[node name="Label4" type="Label" parent="Main Button Shadows"]
self_modulate = Color(0, 0, 0, 0.533333)
layout_mode = 2
text = "WWW.BETHSOFT.COM"
label_settings = ExtResource("3_p2vdp")
horizontal_alignment = 2
[node name="Label5" type="Label" parent="Main Button Shadows"]
self_modulate = Color(0, 0, 0, 0.533333)
layout_mode = 2
text = "UNINSTALL"
label_settings = ExtResource("3_p2vdp")
horizontal_alignment = 2
[node name="Label6" type="Label" parent="Main Button Shadows"]
self_modulate = Color(0, 0, 0, 0.533333)
layout_mode = 2
text = "QUIT"
label_settings = ExtResource("3_p2vdp")
horizontal_alignment = 2
[node name="Main Buttons" type="VBoxContainer" parent="."]
self_modulate = Color(1, 1, 1, 0)
layout_mode = 0
offset_left = 235.0
offset_top = 194.0
offset_right = 627.0
offset_bottom = 477.0
theme_override_constants/separation = 3
[node name="Play Redguard" type="Button" parent="Main Buttons"]
layout_mode = 2
focus_mode = 0
theme = ExtResource("4_nbm8l")
theme_override_font_sizes/font_size = 48
text = "PLAY REDGUARD"
flat = true
alignment = 2
script = ExtResource("5_lvwkv")
[node name="Game Options" type="Button" parent="Main Buttons"]
layout_mode = 2
focus_mode = 0
theme = ExtResource("4_nbm8l")
text = "GAME OPTIONS"
flat = true
alignment = 2
script = ExtResource("7_w3t3n")
windowScene = ExtResource("10_isej0")
[node name="Technical Support" type="Button" parent="Main Buttons"]
layout_mode = 2
focus_mode = 0
theme = ExtResource("4_nbm8l")
text = "TECHNICAL SUPPORT"
flat = true
alignment = 2
script = ExtResource("9_q77og")
url = "https://github.com/RGUnity/redguard-unity/wiki"
[node name="Bethsoft" type="Button" parent="Main Buttons"]
layout_mode = 2
focus_mode = 0
theme = ExtResource("4_nbm8l")
text = "WWW.BETHSOFT.COM"
flat = true
alignment = 2
script = ExtResource("9_q77og")
url = "https://web.archive.org/web/20060421213800/http://redguard.bethsoft.com/"
[node name="Uninstall" type="Button" parent="Main Buttons"]
layout_mode = 2
focus_mode = 0
theme = ExtResource("4_nbm8l")
text = "UNINSTALL"
flat = true
alignment = 2
script = ExtResource("9_6utra")
[node name="Quit" type="Button" parent="Main Buttons"]
layout_mode = 2
focus_mode = 0
theme = ExtResource("4_nbm8l")
text = "QUIT"
flat = true
alignment = 2
script = ExtResource("9_7kvq2")
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="." node_paths=PackedStringArray("buttonParent")]
volume_db = -7.0
script = ExtResource("10_3pgcw")
hoverSounds = Array[AudioStream]([ExtResource("11_lbt5i"), ExtResource("12_y6138"), ExtResource("13_l0gq0")])
pressedSounds = Array[AudioStream]([ExtResource("14_wbjay")])
buttonParent = NodePath("../Main Buttons")
testButtonPath = NodePath("../Main Buttons/Technical Support")
[connection signal="pressed" from="Main Buttons/Uninstall" to="Main Buttons/Uninstall" method="_on_pressed"]