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