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