Oops
This commit is contained in:
@@ -2,28 +2,13 @@
|
||||
|
||||
[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"]
|
||||
[ext_resource type="Texture2D" uid="uid://swxqmtawd1yo" path="res://UI/TITLE-SCREEN-01.png" id="4_0156s"]
|
||||
|
||||
[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
|
||||
@@ -32,21 +17,45 @@ anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="Button" type="Button" parent="NewGame"]
|
||||
[node name="TextureRect" type="TextureRect" parent="NewGame"]
|
||||
layout_mode = 0
|
||||
offset_left = 654.0
|
||||
offset_top = 170.0
|
||||
offset_right = 1226.0
|
||||
offset_bottom = 374.0
|
||||
text = "One Player"
|
||||
offset_right = 1920.0
|
||||
offset_bottom = 1080.0
|
||||
texture = ExtResource("4_0156s")
|
||||
|
||||
[node name="Button" type="Button" parent="NewGame"]
|
||||
modulate = Color(1, 1, 1, 0)
|
||||
layout_mode = 0
|
||||
offset_left = 432.0
|
||||
offset_top = 597.0
|
||||
offset_right = 845.0
|
||||
offset_bottom = 723.0
|
||||
text = "
|
||||
"
|
||||
flat = true
|
||||
|
||||
[node name="Button2" type="Button" parent="NewGame"]
|
||||
modulate = Color(1, 1, 1, 0)
|
||||
layout_mode = 0
|
||||
offset_left = 647.0
|
||||
offset_top = 608.0
|
||||
offset_right = 1219.0
|
||||
offset_bottom = 812.0
|
||||
text = "Two Player"
|
||||
offset_left = 1061.0
|
||||
offset_top = 598.0
|
||||
offset_right = 1485.0
|
||||
offset_bottom = 720.0
|
||||
text = "
|
||||
"
|
||||
flat = true
|
||||
|
||||
[node name="Button3" type="Button" parent="NewGame"]
|
||||
modulate = Color(1, 1, 1, 0)
|
||||
layout_mode = 0
|
||||
offset_left = 748.0
|
||||
offset_top = 822.0
|
||||
offset_right = 1172.0
|
||||
offset_bottom = 944.0
|
||||
text = "
|
||||
"
|
||||
flat = true
|
||||
|
||||
[connection signal="pressed" from="NewGame/Button" to="." method="OnSinglePlayerPressed"]
|
||||
[connection signal="pressed" from="NewGame/Button2" to="." method="OnTwoPlayerPressed"]
|
||||
[connection signal="pressed" from="NewGame/Button3" to="." method="OnQuitButtonPressed"]
|
||||
|
||||
Reference in New Issue
Block a user