Crystalline-awakening/startMenu/Main Menu.tscn

47 lines
1.5 KiB
Plaintext
Raw Normal View History

2025-05-17 15:50:12 +00:00
[gd_scene load_steps=5 format=3 uid="uid://bj1x4w8ek53u1"]
2025-05-17 13:57:10 +00:00
2025-05-18 12:59:58 +00:00
[ext_resource type="Script" uid="uid://dseq7dsrcpds6" path="res://startMenu/start_game.gd" id="1_psue8"]
[ext_resource type="Script" uid="uid://br2tmqcmfkf7a" path="res://startMenu/exit_game.gd" id="2_1dhkb"]
[ext_resource type="Texture2D" uid="uid://yqukd7l5xsxg" path="res://startMenu/Cat on news.PNG" id="3_u2sub"]
2025-05-17 13:57:10 +00:00
[sub_resource type="SystemFont" id="SystemFont_7yr4w"]
[node name="Control" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
2025-05-17 14:28:23 +00:00
[node name="Start button" type="Button" parent="."]
2025-05-17 13:57:10 +00:00
layout_mode = 0
offset_left = 367.0
offset_top = 168.0
offset_right = 777.0
offset_bottom = 246.0
theme_override_fonts/font = SubResource("SystemFont_7yr4w")
theme_override_font_sizes/font_size = 51
text = "Start"
2025-05-18 12:59:58 +00:00
script = ExtResource("1_psue8")
2025-05-17 13:57:10 +00:00
2025-05-17 14:28:23 +00:00
[node name="Exit button" type="Button" parent="."]
2025-05-17 15:07:53 +00:00
layout_mode = 0
2025-05-17 13:57:10 +00:00
offset_left = 368.0
offset_top = 332.0
offset_right = 778.0
offset_bottom = 410.0
theme_override_fonts/font = SubResource("SystemFont_7yr4w")
theme_override_font_sizes/font_size = 51
text = "Exit"
2025-05-18 12:59:58 +00:00
script = ExtResource("2_1dhkb")
2025-05-17 13:57:10 +00:00
2025-05-17 14:28:23 +00:00
[node name="Background" type="Sprite2D" parent="."]
2025-05-17 13:57:10 +00:00
z_index = -100
2025-05-21 17:27:01 +00:00
position = Vector2(566.395, 298)
scale = Vector2(2.76893, 2.78546)
2025-05-18 12:59:58 +00:00
texture = ExtResource("3_u2sub")
2025-05-17 14:28:23 +00:00
[connection signal="pressed" from="Start button" to="Start button" method="_on_pressed"]
[connection signal="pressed" from="Exit button" to="Exit button" method="_on_pressed"]