source: Studio/Main_Menu.tscn@ 49e3bfa

sandbox
Last change on this file since 49e3bfa was ef2ca13, checked in by Kevin Chapman <victory2b@…>, 3 years ago

Enabled the death Popup when player reaches 0 heath.

  • Property mode set to 100644
File size: 8.4 KB
Line 
1[gd_scene load_steps=9 format=2]
2
3[ext_resource path="res://Main_Menu.gd" type="Script" id=1]
4[ext_resource path="res://assets/Titillium-Regular.otf" type="DynamicFontData" id=3]
5
6[sub_resource type="StreamTexture" id=1]
7flags = 4
8load_path = "res://.import/Equirectangular.png-5fcd9b47184fa58d90f4eb61d0b0f6ae.stex"
9
10[sub_resource type="PanoramaSky" id=2]
11radiance_size = 0
12panorama = SubResource( 1 )
13
14[sub_resource type="Environment" id=3]
15background_mode = 2
16background_sky = SubResource( 2 )
17fog_height_min = 0.0
18fog_height_max = 100.0
19tonemap_mode = 3
20ssao_quality = 0
21dof_blur_far_amount = 0.08
22glow_enabled = true
23glow_levels/1 = true
24glow_levels/2 = true
25glow_levels/5 = false
26glow_intensity = 1.0
27glow_strength = 1.1
28glow_blend_mode = 0
29glow_bicubic_upscale = true
30
31[sub_resource type="Animation" id=4]
32length = 9.0
33loop = true
34tracks/0/type = "value"
35tracks/0/path = NodePath("Main_Menu_Camera:rotation_degrees")
36tracks/0/interp = 1
37tracks/0/loop_wrap = true
38tracks/0/imported = false
39tracks/0/enabled = true
40tracks/0/keys = {
41"times": PoolRealArray( 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ),
42"transitions": PoolRealArray( 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ),
43"update": 0,
44"values": [ Vector3( 0, 0, 0 ), Vector3( 40, 40, 40 ), Vector3( 80, 80, 80 ), Vector3( 120, 120, 120 ), Vector3( 160, 160, 160 ), Vector3( 200, 200, 200 ), Vector3( 240, 240, 240 ), Vector3( 280, 280, 280 ), Vector3( 320, 320, 320 ), Vector3( 360, 360, 360 ) ]
45}
46tracks/1/type = "value"
47tracks/1/path = NodePath("World_Environment:environment:background_sky:panorama")
48tracks/1/interp = 1
49tracks/1/loop_wrap = true
50tracks/1/imported = false
51tracks/1/enabled = true
52tracks/1/keys = {
53"times": PoolRealArray( 0 ),
54"transitions": PoolRealArray( 1 ),
55"update": 1,
56"values": [ SubResource( 1 ) ]
57}
58
59[sub_resource type="StyleBoxFlat" id=5]
60bg_color = Color( 0.199219, 0.199219, 0.199219, 1 )
61border_width_left = 4
62border_width_top = 4
63border_width_right = 4
64border_width_bottom = 4
65border_color = Color( 0.0535583, 0.064363, 0.152344, 1 )
66border_blend = true
67corner_radius_top_left = 10
68corner_radius_top_right = 10
69corner_radius_bottom_right = 10
70corner_radius_bottom_left = 10
71
72[sub_resource type="DynamicFont" id=6]
73size = 32
74use_filter = true
75font_data = ExtResource( 3 )
76
77[node name="Main_Menu" type="Control"]
78anchor_right = 1.0
79anchor_bottom = 1.0
80margin_top = -3.24492
81margin_bottom = -3.24493
82script = ExtResource( 1 )
83__meta__ = {
84"_edit_use_anchors_": false
85}
86testing_area_scene = "res://Testing_Area.tscn"
87
88[node name="Background_Animation" type="Spatial" parent="."]
89
90[node name="World_Environment" type="WorldEnvironment" parent="Background_Animation"]
91environment = SubResource( 3 )
92
93[node name="Main_Menu_Camera" type="Camera" parent="Background_Animation"]
94
95[node name="Animation_Player" type="AnimationPlayer" parent="Background_Animation"]
96autoplay = "Background_Animation"
97playback_speed = 0.18
98anims/Background_Animation = SubResource( 4 )
99
100[node name="Start_Menu" type="Panel" parent="."]
101modulate = Color( 1, 1, 1, 0.901961 )
102margin_right = 330.0
103margin_bottom = 601.0
104custom_styles/panel = SubResource( 5 )
105__meta__ = {
106"_edit_use_anchors_": false
107}
108
109[node name="Title_Label" type="Label" parent="Start_Menu"]
110margin_left = 20.0
111margin_top = 10.0
112margin_right = 227.0
113margin_bottom = 77.0
114rect_scale = Vector2( 1.4, 1.4 )
115custom_fonts/font = SubResource( 6 )
116custom_colors/font_color_shadow = Color( 0, 0, 0, 1 )
117custom_constants/shadow_offset_x = 3
118custom_constants/shadow_offset_y = 3
119text = "Revenant
120"
121align = 1
122valign = 1
123
124[node name="Button_Start" type="Button" parent="Start_Menu"]
125anchor_left = 0.5
126anchor_top = 1.0
127anchor_right = 0.5
128anchor_bottom = 1.0
129margin_left = -155.0
130margin_top = -250.0
131margin_right = 155.0
132margin_bottom = -200.0
133custom_fonts/font = SubResource( 6 )
134text = "Start game"
135__meta__ = {
136"_edit_use_anchors_": false
137}
138
139[node name="Button_Open_Godot" type="Button" parent="Start_Menu"]
140anchor_left = 0.5
141anchor_top = 1.0
142anchor_right = 0.5
143anchor_bottom = 1.0
144margin_left = -155.0
145margin_top = -190.0
146margin_right = 156.0
147margin_bottom = -140.0
148custom_fonts/font = SubResource( 6 )
149text = "Open website"
150
151[node name="Button_Options" type="Button" parent="Start_Menu"]
152anchor_left = 0.5
153anchor_top = 1.0
154anchor_right = 0.5
155anchor_bottom = 1.0
156margin_left = -155.0
157margin_top = -130.0
158margin_right = 155.0
159margin_bottom = -80.0
160custom_fonts/font = SubResource( 6 )
161text = "Options"
162
163[node name="Button_Quit" type="Button" parent="Start_Menu"]
164anchor_left = 0.5
165anchor_top = 1.0
166anchor_right = 0.5
167anchor_bottom = 1.0
168margin_left = -155.0
169margin_top = -70.0
170margin_right = 155.0
171margin_bottom = -20.0
172custom_fonts/font = SubResource( 6 )
173text = "Quit"
174
175[node name="Options_Menu" type="Panel" parent="."]
176visible = false
177modulate = Color( 1, 1, 1, 0.901961 )
178margin_left = 0.205399
179margin_top = -1.1171
180margin_right = 330.205
181margin_bottom = 600.883
182custom_styles/panel = SubResource( 5 )
183__meta__ = {
184"_edit_use_anchors_": false
185}
186
187[node name="Title_Label" type="Label" parent="Options_Menu"]
188margin_left = 20.0
189margin_top = 10.0
190margin_right = 227.0
191margin_bottom = 53.0
192rect_scale = Vector2( 1.4, 1.4 )
193custom_fonts/font = SubResource( 6 )
194custom_colors/font_color_shadow = Color( 0, 0, 0, 1 )
195custom_constants/shadow_offset_x = 3
196custom_constants/shadow_offset_y = 3
197text = "Options"
198align = 1
199valign = 1
200__meta__ = {
201"_edit_use_anchors_": false
202}
203
204[node name="Label_Mouse_Sensitivity" type="Label" parent="Options_Menu"]
205margin_top = 118.413
206margin_right = 330.0
207margin_bottom = 150.413
208custom_fonts/font = SubResource( 6 )
209text = "Mouse sensitivity"
210align = 1
211valign = 1
212__meta__ = {
213"_edit_use_anchors_": false
214}
215
216[node name="HSlider_Mouse_Sensitivity" type="HSlider" parent="Options_Menu"]
217margin_left = 10.0
218margin_top = 160.0
219margin_right = 320.0
220margin_bottom = 176.0
221min_value = 1.0
222max_value = 14.0
223value = 8.0
224__meta__ = {
225"_edit_use_anchors_": false
226}
227
228[node name="Check_Button_VSync" type="CheckButton" parent="Options_Menu"]
229anchor_left = 0.5
230anchor_top = 1.0
231anchor_right = 0.5
232anchor_bottom = 1.0
233margin_left = -143.009
234margin_top = -232.421
235margin_right = 126.991
236margin_bottom = -192.421
237custom_fonts/font = SubResource( 6 )
238pressed = true
239text = "V-Sync"
240
241[node name="Button_Fullscreen" type="Button" parent="Options_Menu"]
242anchor_left = 0.5
243anchor_top = 1.0
244anchor_right = 0.5
245anchor_bottom = 1.0
246margin_left = -136.335
247margin_top = -169.073
248margin_right = 133.665
249margin_bottom = -119.073
250rect_pivot_offset = Vector2( 217.761, 1.22488 )
251custom_fonts/font = SubResource( 6 )
252text = "Fullscreen"
253
254[node name="Button_Keybind" type="Button" parent="Options_Menu"]
255anchor_left = 0.5
256anchor_top = 1.0
257anchor_right = 0.5
258anchor_bottom = 1.0
259margin_left = -133.812
260margin_top = -304.457
261margin_right = 136.188
262margin_bottom = -254.457
263rect_pivot_offset = Vector2( 217.761, 1.22488 )
264custom_fonts/font = SubResource( 6 )
265text = "Keybinds"
266
267[node name="Check_Button_Debug" type="CheckButton" parent="Options_Menu"]
268anchor_left = 0.5
269anchor_top = 1.0
270anchor_right = 0.5
271anchor_bottom = 1.0
272margin_left = -152.33
273margin_top = -109.955
274margin_right = 157.67
275margin_bottom = -69.9548
276custom_fonts/font = SubResource( 6 )
277text = "Debug display"
278
279[node name="Button_Back" type="Button" parent="Options_Menu"]
280pause_mode = 1
281anchor_left = 0.5
282anchor_top = 1.0
283anchor_right = 0.5
284anchor_bottom = 1.0
285margin_left = -155.0
286margin_top = -60.656
287margin_right = 155.0
288margin_bottom = -10.656
289custom_fonts/font = SubResource( 6 )
290text = "Back"
291
292[node name="Keybind_Menu" type="Panel" parent="."]
293visible = false
294modulate = Color( 1, 1, 1, 0.901961 )
295margin_left = 336.38
296margin_top = 0.334869
297margin_right = 666.38
298margin_bottom = 601.335
299custom_styles/panel = SubResource( 5 )
300__meta__ = {
301"_edit_use_anchors_": false
302}
303
304[node name="Title_Label" type="Label" parent="Keybind_Menu"]
305margin_left = 20.0
306margin_top = 10.0
307margin_right = 227.0
308margin_bottom = 77.0
309rect_scale = Vector2( 1.4, 1.4 )
310custom_fonts/font = SubResource( 6 )
311custom_colors/font_color_shadow = Color( 0, 0, 0, 1 )
312custom_constants/shadow_offset_x = 3
313custom_constants/shadow_offset_y = 3
314text = "Keybinds
315"
316align = 1
317valign = 1
318
319[node name="Button_Save" type="Button" parent="Keybind_Menu"]
320anchor_left = 0.5
321anchor_top = 1.0
322anchor_right = 0.5
323anchor_bottom = 1.0
324margin_left = -155.0
325margin_top = -70.0
326margin_right = 155.0
327margin_bottom = -20.0
328custom_fonts/font = SubResource( 6 )
329text = "Save"
330__meta__ = {
331"_edit_use_anchors_": false
332}
333
334[node name="VBoxContainer" type="VBoxContainer" parent="Keybind_Menu"]
335margin_left = 4.0
336margin_top = 59.0
337margin_right = 320.0
338margin_bottom = 503.0
Note: See TracBrowser for help on using the repository browser.