248 lines
7.2 KiB
Plaintext
248 lines
7.2 KiB
Plaintext
[gd_scene load_steps=20 format=2]
|
|
|
|
[ext_resource path="res://src/UserInterface/Buttons/QuitButton.tscn" type="PackedScene" id=1]
|
|
[ext_resource path="res://src/UserInterface/Titel.tscn" type="PackedScene" id=2]
|
|
[ext_resource path="res://src/UserInterface/Buttons/ChangeSceneButton.tscn" type="PackedScene" id=3]
|
|
[ext_resource path="res://src/Utilities/SignalManager.tscn" type="PackedScene" id=4]
|
|
[ext_resource path="res://assets/meta/ui_theme.tres" type="Theme" id=5]
|
|
[ext_resource path="res://assets/environment/background/Spaceship-Wall-Menu.png" type="Texture" id=6]
|
|
[ext_resource path="res://assets/environment/background/starry-space.png" type="Texture" id=7]
|
|
[ext_resource path="res://src/UserInterface/Buttons/PlayButton.gd" type="Script" id=8]
|
|
[ext_resource path="res://src/UserInterface/Screens/MainMenu/LevelSelectButtonGroup.tres" type="ButtonGroup" id=9]
|
|
[ext_resource path="res://assets/meta/montserrat_extrabold.otf" type="DynamicFontData" id=10]
|
|
[ext_resource path="res://src/UserInterface/Screens/MainMenu/LevelList.gd" type="Script" id=11]
|
|
[ext_resource path="res://src/UserInterface/Buttons/MenuNavigationButton.gd" type="Script" id=12]
|
|
[ext_resource path="res://assets/ui/sci-fi-godot-theme/sci-fi-theme.tres" type="Theme" id=13]
|
|
[ext_resource path="res://src/UserInterface/Screens/MainMenu/MainScreen.gd" type="Script" id=14]
|
|
|
|
[sub_resource type="Gradient" id=6]
|
|
interpolation_mode = 2
|
|
offsets = PoolRealArray( 0, 0.797721 )
|
|
colors = PoolColorArray( 0, 0, 0, 0, 0, 0, 0, 0.513726 )
|
|
|
|
[sub_resource type="GradientTexture2D" id=5]
|
|
gradient = SubResource( 6 )
|
|
width = 640
|
|
height = 360
|
|
fill = 1
|
|
fill_from = Vector2( 0.497242, 0.46915 )
|
|
fill_to = Vector2( 1, 1 )
|
|
|
|
[sub_resource type="Gradient" id=7]
|
|
interpolation_mode = 2
|
|
offsets = PoolRealArray( 0, 0.797721 )
|
|
colors = PoolColorArray( 0, 0, 0, 0, 0, 0, 0, 0.513726 )
|
|
|
|
[sub_resource type="GradientTexture2D" id=3]
|
|
gradient = SubResource( 7 )
|
|
width = 1280
|
|
height = 360
|
|
fill = 1
|
|
fill_from = Vector2( 0.514029, 0.849867 )
|
|
fill_to = Vector2( 1, 0.994443 )
|
|
|
|
[sub_resource type="DynamicFont" id=1]
|
|
size = 60
|
|
font_data = ExtResource( 10 )
|
|
|
|
[node name="MainScreen" type="Control"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
mouse_filter = 2
|
|
size_flags_horizontal = 0
|
|
size_flags_vertical = 0
|
|
theme = ExtResource( 5 )
|
|
script = ExtResource( 14 )
|
|
|
|
[node name="SignalManager" parent="." instance=ExtResource( 4 )]
|
|
|
|
[node name="background" type="TextureRect" parent="."]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
margin_top = -128.0
|
|
margin_bottom = -128.0
|
|
texture = ExtResource( 7 )
|
|
expand = true
|
|
stretch_mode = 1
|
|
|
|
[node name="background2" type="TextureRect" parent="."]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
texture = ExtResource( 6 )
|
|
expand = true
|
|
stretch_mode = 1
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="."]
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
margin_left = -583.0
|
|
margin_top = -35.0
|
|
margin_right = 567.0
|
|
margin_bottom = 291.0
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
texture = SubResource( 5 )
|
|
expand = true
|
|
stretch_mode = 1
|
|
|
|
[node name="TextureRect2" type="TextureRect" parent="."]
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
margin_left = -583.0
|
|
margin_top = -412.0
|
|
margin_right = 567.0
|
|
margin_bottom = -86.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
texture = SubResource( 3 )
|
|
expand = true
|
|
stretch_mode = 1
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="."]
|
|
anchor_left = 0.5
|
|
anchor_top = 0.02
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.02
|
|
margin_left = -130.0
|
|
margin_right = 130.0
|
|
margin_bottom = 85.0
|
|
theme = ExtResource( 13 )
|
|
|
|
[node name="Panel" type="Panel" parent="MarginContainer"]
|
|
margin_right = 260.0
|
|
margin_bottom = 85.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
theme = ExtResource( 13 )
|
|
theme_type_variation = "Panel2"
|
|
|
|
[node name="Titel" parent="MarginContainer" instance=ExtResource( 2 )]
|
|
margin_right = 260.0
|
|
margin_bottom = 85.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
theme = ExtResource( 13 )
|
|
custom_fonts/font = SubResource( 1 )
|
|
text = "Blobby"
|
|
|
|
[node name="MenuContainer" type="HBoxContainer" parent="."]
|
|
anchor_left = 0.45
|
|
anchor_top = 0.75
|
|
anchor_right = 0.45
|
|
anchor_bottom = 0.75
|
|
margin_left = -120.0
|
|
margin_top = -85.0
|
|
margin_right = 192.0
|
|
margin_bottom = 50.0
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
|
|
[node name="Buttons" type="VBoxContainer" parent="MenuContainer"]
|
|
margin_right = 154.0
|
|
margin_bottom = 135.0
|
|
focus_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
|
|
[node name="PlayButton" type="Button" parent="MenuContainer/Buttons"]
|
|
unique_name_in_owner = true
|
|
margin_right = 154.0
|
|
margin_bottom = 30.0
|
|
focus_neighbour_top = NodePath("../QuitButton")
|
|
focus_neighbour_bottom = NodePath("../Controlls")
|
|
size_flags_vertical = 3
|
|
theme = ExtResource( 13 )
|
|
text = "Begin"
|
|
script = ExtResource( 8 )
|
|
|
|
[node name="Controlls" parent="MenuContainer/Buttons" instance=ExtResource( 3 )]
|
|
unique_name_in_owner = true
|
|
margin_top = 34.0
|
|
margin_right = 154.0
|
|
margin_bottom = 65.0
|
|
focus_neighbour_top = NodePath("../PlayButton")
|
|
focus_neighbour_bottom = NodePath("../Audio")
|
|
theme = ExtResource( 13 )
|
|
text = "Controls"
|
|
script = ExtResource( 12 )
|
|
next_screen_path = "res://src/UserInterface/Screens/MainMenu/ControlsMenu/ControlsMenu.tscn"
|
|
|
|
[node name="Audio" parent="MenuContainer/Buttons" instance=ExtResource( 3 )]
|
|
unique_name_in_owner = true
|
|
margin_top = 69.0
|
|
margin_right = 154.0
|
|
margin_bottom = 100.0
|
|
focus_neighbour_top = NodePath("../Controlls")
|
|
focus_neighbour_bottom = NodePath("../QuitButton")
|
|
theme = ExtResource( 13 )
|
|
text = "Audio"
|
|
script = ExtResource( 12 )
|
|
next_screen_path = "res://src/UserInterface/Screens/MainMenu/AudioMenu.tscn"
|
|
|
|
[node name="QuitButton" parent="MenuContainer/Buttons" instance=ExtResource( 1 )]
|
|
unique_name_in_owner = true
|
|
anchor_left = 0.0
|
|
anchor_right = 0.0
|
|
margin_left = 0.0
|
|
margin_top = 104.0
|
|
margin_right = 154.0
|
|
margin_bottom = 135.0
|
|
focus_neighbour_top = NodePath("../Audio")
|
|
focus_neighbour_bottom = NodePath("../PlayButton")
|
|
|
|
[node name="Panel" type="PanelContainer" parent="MenuContainer"]
|
|
margin_left = 158.0
|
|
margin_right = 312.0
|
|
margin_bottom = 135.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
theme = ExtResource( 13 )
|
|
|
|
[node name="LevelList" type="ScrollContainer" parent="MenuContainer/Panel"]
|
|
margin_left = 15.0
|
|
margin_top = 16.0
|
|
margin_right = 138.0
|
|
margin_bottom = 118.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
theme = ExtResource( 13 )
|
|
follow_focus = true
|
|
scroll_horizontal_enabled = false
|
|
script = ExtResource( 11 )
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="MenuContainer/Panel/LevelList"]
|
|
margin_right = 123.0
|
|
margin_bottom = 102.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
alignment = 1
|
|
|
|
[node name="InvisibleCunt" type="CheckBox" parent="MenuContainer/Panel/LevelList/VBoxContainer"]
|
|
visible = false
|
|
margin_right = 123.0
|
|
margin_bottom = 102.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
focus_neighbour_left = NodePath("../../../../Buttons/PlayButton")
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
group = ExtResource( 9 )
|
|
|
|
[connection signal="button_up" from="MenuContainer/Buttons/PlayButton" to="MenuContainer/Buttons/PlayButton" method="_on_button_up"]
|