47 lines
1.5 KiB
Plaintext
47 lines
1.5 KiB
Plaintext
[gd_scene load_steps=5 format=3 uid="uid://bj1x4w8ek53u1"]
|
|
|
|
[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"]
|
|
|
|
[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
|
|
|
|
[node name="Start button" type="Button" parent="."]
|
|
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"
|
|
script = ExtResource("1_psue8")
|
|
|
|
[node name="Exit button" type="Button" parent="."]
|
|
layout_mode = 0
|
|
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"
|
|
script = ExtResource("2_1dhkb")
|
|
|
|
[node name="Background" type="Sprite2D" parent="."]
|
|
z_index = -100
|
|
position = Vector2(566.395, 298)
|
|
scale = Vector2(2.76893, 2.78546)
|
|
texture = ExtResource("3_u2sub")
|
|
|
|
[connection signal="pressed" from="Start button" to="Start button" method="_on_pressed"]
|
|
[connection signal="pressed" from="Exit button" to="Exit button" method="_on_pressed"]
|