A lot of UI work....

opening slash animation
main menu
load first level
This commit is contained in:
2023-09-02 15:50:21 -07:00
parent c3d19b8e0d
commit 11a2554697
11 changed files with 465 additions and 2 deletions

28
Scenes/MainMenu.tscn Normal file
View File

@@ -0,0 +1,28 @@
[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="."]
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"]