53 lines
1.5 KiB
Plaintext
53 lines
1.5 KiB
Plaintext
[gd_scene load_steps=4 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"]
|
|
[ext_resource type="Texture2D" uid="uid://srnf2fpwhlka" path="res://UI/titlescreenneedtext.png" id="3_7s65g"]
|
|
|
|
[node name="MainMenu" type="Node2D"]
|
|
script = ExtResource("1_6aikc")
|
|
|
|
[node name="UIAnimations" parent="." instance=ExtResource("2_erh7e")]
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="."]
|
|
anchors_preset = 14
|
|
anchor_top = 0.5
|
|
anchor_right = 1.0
|
|
anchor_bottom = 0.5
|
|
offset_left = -7.0
|
|
offset_top = -170.0
|
|
offset_right = 1974.0
|
|
offset_bottom = 1395.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
size_flags_horizontal = 4
|
|
texture = ExtResource("3_7s65g")
|
|
expand_mode = 1
|
|
|
|
[node name="NewGame" 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="NewGame"]
|
|
layout_mode = 0
|
|
offset_left = 654.0
|
|
offset_top = 170.0
|
|
offset_right = 1226.0
|
|
offset_bottom = 374.0
|
|
text = "One Player"
|
|
|
|
[node name="Button2" type="Button" parent="NewGame"]
|
|
layout_mode = 0
|
|
offset_left = 647.0
|
|
offset_top = 608.0
|
|
offset_right = 1219.0
|
|
offset_bottom = 812.0
|
|
text = "Two Player"
|
|
|
|
[connection signal="pressed" from="NewGame/Button" to="." method="OnSinglePlayerPressed"]
|
|
[connection signal="pressed" from="NewGame/Button2" to="." method="OnTwoPlayerPressed"]
|