100 lines
2.7 KiB
Plaintext
100 lines
2.7 KiB
Plaintext
[gd_scene load_steps=7 format=3 uid="uid://bh3heupvlc1ok"]
|
|
|
|
[ext_resource type="Script" path="res://script/ui/main_menu.cs" id="1_wxwq5"]
|
|
[ext_resource type="PackedScene" uid="uid://01tjlnox4crb" path="res://scenes/ui/input_menu.tscn" id="2_2h615"]
|
|
[ext_resource type="FontFile" uid="uid://dtpvg4lmre10g" path="res://assets/Fonts/Kenney Future Narrow.ttf" id="2_i5fg3"]
|
|
[ext_resource type="PackedScene" uid="uid://fwvsy2g3lj4f" path="res://scenes/ui/ship_choice.tscn" id="3_the1x"]
|
|
|
|
[sub_resource type="Theme" id="Theme_g7jy6"]
|
|
default_font = ExtResource("2_i5fg3")
|
|
|
|
[sub_resource type="LabelSettings" id="LabelSettings_lgp16"]
|
|
font_size = 50
|
|
|
|
[node name="MainMenu" type="Control"]
|
|
layout_mode = 3
|
|
anchors_preset = 0
|
|
offset_right = 40.0
|
|
offset_bottom = 40.0
|
|
script = ExtResource("1_wxwq5")
|
|
|
|
[node name="CanvasLayer" type="CanvasLayer" parent="."]
|
|
layer = -2
|
|
|
|
[node name="ColorRect" type="ColorRect" parent="CanvasLayer"]
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
color = Color(0.143949, 0.135649, 0.124581, 1)
|
|
|
|
[node name="CenterContainer" type="CenterContainer" parent="CanvasLayer"]
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="Layout" type="VBoxContainer" parent="CanvasLayer/CenterContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="CanvasLayer/CenterContainer/Layout"]
|
|
layout_mode = 2
|
|
theme = SubResource("Theme_g7jy6")
|
|
text = "Starfighter"
|
|
label_settings = SubResource("LabelSettings_lgp16")
|
|
horizontal_alignment = 1
|
|
|
|
[node name="VSeparator" type="VSeparator" parent="CanvasLayer/CenterContainer/Layout"]
|
|
visibility_layer = 0
|
|
custom_minimum_size = Vector2(0, 400)
|
|
layout_mode = 2
|
|
|
|
[node name="InputButton" type="Button" parent="CanvasLayer/CenterContainer/Layout"]
|
|
visible = false
|
|
layout_mode = 2
|
|
text = "Inputs
|
|
"
|
|
|
|
[node name="StartButton" type="Button" parent="CanvasLayer/CenterContainer/Layout"]
|
|
custom_minimum_size = Vector2(400, 200)
|
|
layout_mode = 2
|
|
text = "Start Game
|
|
"
|
|
|
|
[node name="ExitButton" type="Button" parent="CanvasLayer/CenterContainer/Layout"]
|
|
layout_mode = 2
|
|
text = "Exit Game
|
|
"
|
|
|
|
[node name="InputMenu" parent="." instance=ExtResource("2_2h615")]
|
|
visible = false
|
|
layout_mode = 0
|
|
anchors_preset = 0
|
|
anchor_left = 0.0
|
|
anchor_top = 0.0
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
offset_left = 770.0
|
|
offset_top = 270.0
|
|
offset_right = 1170.0
|
|
offset_bottom = 770.0
|
|
grow_horizontal = 1
|
|
grow_vertical = 1
|
|
|
|
[node name="ShipChoice" parent="." instance=ExtResource("3_the1x")]
|
|
visible = false
|
|
layout_mode = 0
|
|
anchors_preset = 0
|
|
anchor_left = 0.0
|
|
anchor_top = 0.0
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
offset_left = 770.0
|
|
offset_top = 270.0
|
|
offset_right = 1170.0
|
|
offset_bottom = 470.0
|
|
grow_horizontal = 1
|
|
grow_vertical = 1
|