source: Studio/Main_Menu.tscn@ f7b09c8

sandbox
Last change on this file since f7b09c8 was f7b09c8, checked in by Kevin Chapman <victory2b@…>, 4 years ago

First Draft of world test with working movement and loading screen.

  • Property mode set to 100644
File size: 7.3 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
80script = ExtResource( 1 )
81__meta__ = {
82"_edit_use_anchors_": false
83}
84testing_area_scene = "res://Testing_Area.tscn"
85space_level_scene = "res://assets/Space_Level_Objects/Space_Level.tscn"
86ruins_level_scene = "res://assets/Ruin_Level_Objects/Ruins_Level.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
106[node name="Title_Label" type="Label" parent="Start_Menu"]
107margin_left = 20.0
108margin_top = 10.0
109margin_right = 227.0
110margin_bottom = 77.0
111rect_scale = Vector2( 1.4, 1.4 )
112custom_fonts/font = SubResource( 6 )
113custom_colors/font_color_shadow = Color( 0, 0, 0, 1 )
114custom_constants/shadow_offset_x = 3
115custom_constants/shadow_offset_y = 3
116text = "Revenant
117"
118align = 1
119valign = 1
120
121[node name="Button_Start" type="Button" parent="Start_Menu"]
122anchor_left = 0.5
123anchor_top = 1.0
124anchor_right = 0.5
125anchor_bottom = 1.0
126margin_left = -155.0
127margin_top = -250.0
128margin_right = 155.0
129margin_bottom = -200.0
130custom_fonts/font = SubResource( 6 )
131text = "Start game"
132__meta__ = {
133"_edit_use_anchors_": false
134}
135
136[node name="Button_Open_Godot" type="Button" parent="Start_Menu"]
137anchor_left = 0.5
138anchor_top = 1.0
139anchor_right = 0.5
140anchor_bottom = 1.0
141margin_left = -155.0
142margin_top = -190.0
143margin_right = 156.0
144margin_bottom = -140.0
145custom_fonts/font = SubResource( 6 )
146text = "Open website"
147
148[node name="Button_Options" type="Button" parent="Start_Menu"]
149anchor_left = 0.5
150anchor_top = 1.0
151anchor_right = 0.5
152anchor_bottom = 1.0
153margin_left = -155.0
154margin_top = -130.0
155margin_right = 155.0
156margin_bottom = -80.0
157custom_fonts/font = SubResource( 6 )
158text = "Options"
159
160[node name="Button_Quit" type="Button" parent="Start_Menu"]
161anchor_left = 0.5
162anchor_top = 1.0
163anchor_right = 0.5
164anchor_bottom = 1.0
165margin_left = -155.0
166margin_top = -70.0
167margin_right = 155.0
168margin_bottom = -20.0
169custom_fonts/font = SubResource( 6 )
170text = "Quit"
171
172[node name="Options_Menu" type="Panel" parent="."]
173visible = false
174modulate = Color( 1, 1, 1, 0.901961 )
175margin_left = 0.205399
176margin_top = 0.470268
177margin_right = 330.205
178margin_bottom = 602.47
179custom_styles/panel = SubResource( 5 )
180__meta__ = {
181"_edit_use_anchors_": false
182}
183
184[node name="Title_Label" type="Label" parent="Options_Menu"]
185margin_left = 20.0
186margin_top = 10.0
187margin_right = 227.0
188margin_bottom = 53.0
189rect_scale = Vector2( 1.4, 1.4 )
190custom_fonts/font = SubResource( 6 )
191custom_colors/font_color_shadow = Color( 0, 0, 0, 1 )
192custom_constants/shadow_offset_x = 3
193custom_constants/shadow_offset_y = 3
194text = "Options"
195align = 1
196valign = 1
197
198[node name="Label_Mouse_Sensitivity" type="Label" parent="Options_Menu"]
199margin_top = 120.0
200margin_right = 330.0
201margin_bottom = 152.0
202custom_fonts/font = SubResource( 6 )
203text = "Mouse sensitivity"
204align = 1
205valign = 1
206
207[node name="HSlider_Mouse_Sensitivity" type="HSlider" parent="Options_Menu"]
208margin_left = 10.0
209margin_top = 160.0
210margin_right = 320.0
211margin_bottom = 176.0
212min_value = 0.001
213max_value = 0.4
214step = 0.004
215value = 0.012
216
217[node name="Label_Joypad_Sensitivity" type="Label" parent="Options_Menu"]
218visible = false
219margin_top = 190.0
220margin_right = 330.0
221margin_bottom = 222.0
222custom_fonts/font = SubResource( 6 )
223text = "Joypad sensitivity"
224align = 1
225valign = 1
226
227[node name="HSlider_Joypad_Sensitivity" type="HSlider" parent="Options_Menu"]
228visible = false
229margin_left = 10.0
230margin_top = 230.0
231margin_right = 320.0
232margin_bottom = 246.0
233min_value = 0.1
234max_value = 5.0
235step = 0.1
236value = 0.1
237
238[node name="Check_Button_VSync" type="CheckButton" parent="Options_Menu"]
239anchor_left = 0.5
240anchor_top = 1.0
241anchor_right = 0.5
242anchor_bottom = 1.0
243margin_left = -143.009
244margin_top = -232.421
245margin_right = 126.991
246margin_bottom = -192.421
247custom_fonts/font = SubResource( 6 )
248pressed = true
249text = "V-Sync"
250
251[node name="Button_Fullscreen" type="Button" parent="Options_Menu"]
252anchor_left = 0.5
253anchor_top = 1.0
254anchor_right = 0.5
255anchor_bottom = 1.0
256margin_left = -136.335
257margin_top = -169.073
258margin_right = 133.665
259margin_bottom = -119.073
260custom_fonts/font = SubResource( 6 )
261text = "Fullscreen"
262
263[node name="Check_Button_Debug" type="CheckButton" parent="Options_Menu"]
264anchor_left = 0.5
265anchor_top = 1.0
266anchor_right = 0.5
267anchor_bottom = 1.0
268margin_left = -152.33
269margin_top = -109.955
270margin_right = 157.67
271margin_bottom = -69.9548
272custom_fonts/font = SubResource( 6 )
273text = "Debug display"
274
275[node name="Button_Back" type="Button" parent="Options_Menu"]
276pause_mode = 1
277anchor_left = 0.5
278anchor_top = 1.0
279anchor_right = 0.5
280anchor_bottom = 1.0
281margin_left = -155.0
282margin_top = -60.656
283margin_right = 155.0
284margin_bottom = -10.656
285custom_fonts/font = SubResource( 6 )
286text = "Back"
Note: See TracBrowser for help on using the repository browser.