81 lines
2 KiB
Plaintext
81 lines
2 KiB
Plaintext
[gd_scene load_steps=4 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="PackedScene" uid="uid://fwvsy2g3lj4f" path="res://scenes/ui/ship_choice.tscn" id="3_the1x"]
|
|
|
|
[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 = 5
|
|
anchor_left = 0.5
|
|
anchor_right = 0.5
|
|
offset_left = -48.0
|
|
offset_right = 48.0
|
|
offset_bottom = 101.0
|
|
grow_horizontal = 2
|
|
|
|
[node name="Layout" type="VBoxContainer" parent="CanvasLayer/CenterContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="ExitButton" type="Button" parent="CanvasLayer/CenterContainer/Layout"]
|
|
layout_mode = 2
|
|
text = "Exit Game
|
|
"
|
|
|
|
[node name="InputButton" type="Button" parent="CanvasLayer/CenterContainer/Layout"]
|
|
layout_mode = 2
|
|
text = "Inputs
|
|
"
|
|
|
|
[node name="StartButton" type="Button" parent="CanvasLayer/CenterContainer/Layout"]
|
|
layout_mode = 2
|
|
text = "Start 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
|