-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathMainMenu.tscn
41 lines (34 loc) · 1.18 KB
/
MainMenu.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
[gd_scene load_steps=4 format=3 uid="uid://drekry47fcjgd"]
[ext_resource type="Script" path="res://MainMenu.gd" id="1_fncpg"]
[ext_resource type="PackedScene" path="res://loading_screen.tscn" id="2_2ljy7"]
[ext_resource type="PackedScene" uid="uid://dhmslu1jfrrdq" path="res://load_menu.tscn" id="3_p3ebn"]
[node name="Control" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_fncpg")
[node name="StartGame" type="Button" parent="."]
layout_mode = 0
offset_left = 96.0
offset_top = 199.0
offset_right = 389.0
offset_bottom = 237.0
text = "Start Game"
[node name="LoadGame" type="Button" parent="."]
layout_mode = 0
offset_left = 96.0
offset_top = 255.0
offset_right = 389.0
offset_bottom = 293.0
text = "Load Game"
[node name="LoadingScreen" parent="." instance=ExtResource("2_2ljy7")]
visible = false
layout_mode = 1
[node name="LoadMenu" parent="." instance=ExtResource("3_p3ebn")]
visible = false
layout_mode = 1
[connection signal="button_down" from="StartGame" to="." method="_on_start_game_button_down"]
[connection signal="button_down" from="LoadGame" to="." method="_on_load_game_button_down"]