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.
87 lines
3.3 KiB
87 lines
3.3 KiB
[gd_scene load_steps=5 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="Script" uid="uid://iquhbkr7pqeg" path="res://scripts/CSharp/Common/Savegame/SaveCheats.cs" id="3_dl0t1"]
|
|
[ext_resource type="Texture2D" uid="uid://c7atj6ohlmir3" path="res://art/ui/StartScreen/titlescreen.png" id="3_r0y6o"]
|
|
[ext_resource type="Texture2D" uid="uid://du612t3xytly3" path="res://art/ui/StartScreen/babushkalog_white.png" id="4_dl0t1"]
|
|
|
|
[node name="BabushkaSceneStartMenu" type="Node2D"]
|
|
script = ExtResource("1_fj2fh")
|
|
_sceneNamesToLoad = PackedStringArray("res://scenes/Babushka_scene_farm_outside_2d.tscn")
|
|
|
|
[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("3_r0y6o")
|
|
expand_mode = 2
|
|
stretch_mode = 6
|
|
metadata/_edit_use_anchors_ = true
|
|
|
|
[node name="Text" type="TextureRect" parent="CanvasLayer/TextureRect"]
|
|
layout_mode = 1
|
|
offset_left = 50.0
|
|
offset_top = -100.0
|
|
offset_right = 1970.0
|
|
offset_bottom = 980.0
|
|
scale = Vector2(0.5, 0.5)
|
|
texture = ExtResource("4_dl0t1")
|
|
stretch_mode = 3
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="CanvasLayer/TextureRect"]
|
|
custom_minimum_size = Vector2(500, 300)
|
|
layout_mode = 0
|
|
offset_left = 204.0
|
|
offset_top = 497.0
|
|
offset_right = 704.0
|
|
offset_bottom = 797.0
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="CanvasLayer/TextureRect/VBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_constants/margin_top = 10
|
|
theme_override_constants/margin_bottom = 10
|
|
|
|
[node name="Continue" type="Button" parent="CanvasLayer/TextureRect/VBoxContainer/MarginContainer"]
|
|
custom_minimum_size = Vector2(100, 80)
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 36
|
|
toggle_mode = true
|
|
text = "Continue
|
|
"
|
|
|
|
[node name="MarginContainer2" type="MarginContainer" parent="CanvasLayer/TextureRect/VBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_constants/margin_top = 10
|
|
theme_override_constants/margin_bottom = 10
|
|
|
|
[node name="New Game" type="Button" parent="CanvasLayer/TextureRect/VBoxContainer/MarginContainer2"]
|
|
custom_minimum_size = Vector2(100, 80)
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 36
|
|
toggle_mode = true
|
|
text = "New Game
|
|
"
|
|
script = ExtResource("3_dl0t1")
|
|
|
|
[node name="MarginContainer3" type="MarginContainer" parent="CanvasLayer/TextureRect/VBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_constants/margin_top = 10
|
|
theme_override_constants/margin_bottom = 10
|
|
|
|
[node name="Quit" type="Button" parent="CanvasLayer/TextureRect/VBoxContainer/MarginContainer3"]
|
|
custom_minimum_size = Vector2(100, 80)
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 36
|
|
toggle_mode = true
|
|
text = "Quit
|
|
"
|
|
|
|
[connection signal="pressed" from="CanvasLayer/TextureRect/VBoxContainer/MarginContainer/Continue" to="." method="LoadScene"]
|
|
[connection signal="pressed" from="CanvasLayer/TextureRect/VBoxContainer/MarginContainer2/New Game" to="." method="LoadScene"]
|
|
[connection signal="pressed" from="CanvasLayer/TextureRect/VBoxContainer/MarginContainer2/New Game" to="CanvasLayer/TextureRect/VBoxContainer/MarginContainer2/New Game" method="Reset"]
|
|
[connection signal="pressed" from="CanvasLayer/TextureRect/VBoxContainer/MarginContainer3/Quit" to="." method="Quit"]
|