You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Babushka/scenes/Babushka_scene_startMenu.tscn

43 lines
1.3 KiB

[gd_scene load_steps=4 format=3 uid="uid://c6wnoif01ltld"]
[ext_resource type="Script" uid="uid://cssdu8viimwm6" path="res://scripts/CSharp/Common/SceneTransition.cs" id="1_fj2fh"]
[ext_resource type="Texture2D" uid="uid://bys8kq256upf3" path="res://art/ui/StartScreen/Trailer01.png" id="1_qerdf"]
[ext_resource type="PackedScene" uid="uid://gigb28qk8t12" path="res://scenes/Babushka_scene_farm_outside_2d.tscn" id="2_r0y6o"]
[node name="BabushkaSceneStartMenu" type="Node2D"]
script = ExtResource("1_fj2fh")
_sceneToLoad = ExtResource("2_r0y6o")
[node name="CanvasLayer" type="CanvasLayer" parent="."]
[node name="TextureRect" type="TextureRect" parent="CanvasLayer"]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("1_qerdf")
expand_mode = 2
stretch_mode = 6
metadata/_edit_use_anchors_ = true
[node name="Start" type="Button" parent="CanvasLayer/TextureRect"]
custom_minimum_size = Vector2(100, 30)
layout_mode = 1
anchors_preset = 7
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
offset_left = -76.0
offset_top = -98.0
offset_right = 24.0
offset_bottom = -67.0
grow_horizontal = 2
grow_vertical = 0
scale = Vector2(2, 2)
text = "Start"
icon_alignment = 1
[connection signal="pressed" from="CanvasLayer/TextureRect/Start" to="." method="LoadScene"]