starfighter/MB_FYP/scenes/main_menu.tscn

47 lines
1.1 KiB
Plaintext

[gd_scene load_steps=3 format=3 uid="uid://bh3heupvlc1ok"]
[ext_resource type="Script" path="res://script/main_menu.cs" id="1_wxwq5"]
[ext_resource type="PackedScene" uid="uid://01tjlnox4crb" path="res://scenes/input_menu.tscn" id="2_2h615"]
[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="Layout" type="VBoxContainer" parent="."]
layout_mode = 0
offset_right = 40.0
offset_bottom = 40.0
[node name="StartButton" type="Button" parent="Layout"]
layout_mode = 2
text = "Start Game
"
[node name="InputButton" type="Button" parent="Layout"]
layout_mode = 2
text = "Inputs
"
[node name="ExitButton" type="Button" parent="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