60 lines
2.1 KiB
Plaintext
60 lines
2.1 KiB
Plaintext
[gd_scene load_steps=6 format=3 uid="uid://b12gq4yqc3d8i"]
|
|
|
|
[ext_resource type="Script" path="res://UI/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://cctv3qmvq8tup" path="res://UI/TitleScreenFixed.png" id="3_718bb"]
|
|
[ext_resource type="Texture2D" uid="uid://b4dodyvo2d4j0" path="res://UI/buttonoutline.png" id="4_g5pcy"]
|
|
[ext_resource type="Texture2D" uid="uid://cgutt1y2s74dr" path="res://UI/Quit.png" id="5_6xvn1"]
|
|
|
|
[node name="MainMenu" type="Node2D"]
|
|
script = ExtResource("1_6aikc")
|
|
|
|
[node name="UIAnimations" parent="." instance=ExtResource("2_erh7e")]
|
|
|
|
[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="TextureRect" type="TextureRect" parent="NewGame"]
|
|
layout_mode = 0
|
|
offset_right = 1920.0
|
|
offset_bottom = 1080.0
|
|
texture = ExtResource("3_718bb")
|
|
|
|
[node name="1Player" type="TextureButton" parent="NewGame"]
|
|
layout_mode = 0
|
|
offset_left = 424.0
|
|
offset_top = 599.0
|
|
offset_right = 854.0
|
|
offset_bottom = 745.0
|
|
focus_neighbor_right = NodePath("../2 Player")
|
|
focus_neighbor_bottom = NodePath("../Quit")
|
|
texture_focused = ExtResource("4_g5pcy")
|
|
|
|
[node name="2 Player" type="TextureButton" parent="NewGame"]
|
|
layout_mode = 0
|
|
offset_left = 1055.0
|
|
offset_top = 598.0
|
|
offset_right = 1485.0
|
|
offset_bottom = 744.0
|
|
focus_neighbor_left = NodePath("../1Player")
|
|
focus_neighbor_bottom = NodePath("../Quit")
|
|
texture_focused = ExtResource("4_g5pcy")
|
|
|
|
[node name="Quit" type="TextureButton" parent="NewGame"]
|
|
layout_mode = 0
|
|
offset_left = 905.0
|
|
offset_top = 858.0
|
|
offset_right = 1335.0
|
|
offset_bottom = 1004.0
|
|
focus_neighbor_top = NodePath("../1Player")
|
|
texture_focused = ExtResource("5_6xvn1")
|
|
|
|
[connection signal="pressed" from="NewGame/1Player" to="." method="OneSinglePlayerPressed"]
|
|
[connection signal="pressed" from="NewGame/2 Player" to="." method="OnTwoPlayerPressed"]
|
|
[connection signal="pressed" from="NewGame/Quit" to="." method="OnQuitButtonPressed"]
|