58 lines
2 KiB
Text
58 lines
2 KiB
Text
[gd_scene load_steps=5 format=3 uid="uid://cx1lvrbofx0je"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://beyhkcr2uvmc7" path="res://assets/space.png" id="1_l1ky1"]
|
|
[ext_resource type="Theme" uid="uid://bcbicfiflkrja" path="res://theme/interface.tres" id="1_yi36i"]
|
|
[ext_resource type="Script" uid="uid://b1rw7bmvcl11o" path="res://scenes/UI/mainMenu/mainMenu.gd" id="2_dwrcc"]
|
|
[ext_resource type="Texture2D" uid="uid://cd5anydes4tv3" path="res://assets/player/shotgunShip.png" id="4_u55jd"]
|
|
|
|
[node name="mainMenu" type="Control"]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme = ExtResource("1_yi36i")
|
|
script = ExtResource("2_dwrcc")
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="."]
|
|
offset_left = -2160.0
|
|
offset_top = -2624.0
|
|
offset_right = 3984.0
|
|
offset_bottom = 3520.0
|
|
texture = ExtResource("1_l1ky1")
|
|
stretch_mode = 1
|
|
|
|
[node name="CenterContainer" type="CenterContainer" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="CenterContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="CenterContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
texture = ExtResource("4_u55jd")
|
|
stretch_mode = 2
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="CenterContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="ButtonStart" type="Button" parent="CenterContainer/VBoxContainer/MarginContainer"]
|
|
layout_mode = 2
|
|
text = "Play"
|
|
|
|
[node name="MarginContainer3" type="MarginContainer" parent="CenterContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="ButtonStartTouch" type="Button" parent="CenterContainer/VBoxContainer/MarginContainer3"]
|
|
layout_mode = 2
|
|
text = "Play
|
|
Touchscreen"
|
|
|
|
[connection signal="pressed" from="CenterContainer/VBoxContainer/MarginContainer/ButtonStart" to="." method="_on_button_start_pressed"]
|
|
[connection signal="pressed" from="CenterContainer/VBoxContainer/MarginContainer3/ButtonStartTouch" to="." method="_on_button_start_touch_pressed"]
|