Files
GameJam2023/Scenes/MainMenu.tscn
2023-09-03 00:16:40 -07:00

31 lines
937 B
Plaintext

[gd_scene load_steps=3 format=3 uid="uid://b12gq4yqc3d8i"]
[ext_resource type="Script" path="res://Scripts/MainMenu.cs" id="1_6aikc"]
[ext_resource type="PackedScene" uid="uid://cjl20bs56430j" path="res://UI/Animations/UIAnimations.tscn" id="2_erh7e"]
[node name="MainMenu" type="Node2D"]
script = ExtResource("1_6aikc")
[node name="Control" type="Control" parent="."]
visible = false
z_index = 10
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="Button" type="Button" parent="Control"]
layout_mode = 0
offset_left = 583.0
offset_top = 441.0
offset_right = 1155.0
offset_bottom = 645.0
text = "Play"
[node name="UIAnimations" parent="." instance=ExtResource("2_erh7e")]
[connection signal="IntroAnimationsCompleted" from="." to="." method="OnAllAnimationsFinished"]
[connection signal="pressed" from="Control/Button" to="." method="OnStartButtonPressed"]