[gd_scene load_steps=4 format=3 uid="uid://dy7yamc168r7g"] [ext_resource type="Script" uid="uid://cmf13qcy55iyu" path="res://Scripts/Levels/lsTitle.gd" id="1_ejj3f"] [ext_resource type="Theme" uid="uid://6yg0iliv7s1m" path="res://Themes/title_button.tres" id="11_6sqe5"] [sub_resource type="Theme" id="Theme_1hel7"] Button/font_sizes/font_size = 30 [node name="Title" type="Node2D"] script = ExtResource("1_ejj3f") [node name="Background" type="CanvasLayer" parent="."] layer = -128 [node name="ColorRect" type="ColorRect" parent="Background"] anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 color = Color(0, 0, 0, 1) [node name="TextureRect" type="TextureRect" parent="Background"] anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 expand_mode = 1 [node name="Gui" type="CanvasLayer" parent="."] [node name="Label_Title" type="Label" parent="Gui"] offset_left = 64.0 offset_top = 56.0 offset_right = 224.0 offset_bottom = 304.0 theme = SubResource("Theme_1hel7") theme_override_font_sizes/font_size = 40 text = "Five Nights in Pathos" autowrap_mode = 3 [node name="bContinue" type="Button" parent="Gui"] anchors_preset = 4 anchor_top = 0.5 anchor_bottom = 0.5 offset_left = 64.0 offset_top = 56.0 offset_right = 230.0 offset_bottom = 106.0 grow_vertical = 2 theme = ExtResource("11_6sqe5") theme_override_font_sizes/font_size = 30 text = "Continue " alignment = 0 [node name="bNew_Game" type="Button" parent="Gui"] anchors_preset = 4 anchor_top = 0.5 anchor_bottom = 0.5 offset_left = 64.0 offset_top = -32.0 offset_right = 230.0 offset_bottom = 18.0 grow_vertical = 2 theme = ExtResource("11_6sqe5") theme_override_font_sizes/font_size = 30 text = "New Game" alignment = 0 [node name="Version" type="Label" parent="Gui"] offset_left = 1216.0 offset_top = 688.0 offset_right = 1263.0 offset_bottom = 711.0 text = "V0.0.1" [node name="Music" type="AudioStreamPlayer2D" parent="."] autoplay = true [node name="Ambience" type="AudioStreamPlayer2D" parent="Music"] autoplay = true [connection signal="pressed" from="Gui/bContinue" to="." method="_on_b_continue_pressed"] [connection signal="pressed" from="Gui/bNew_Game" to="." method="_on_b_new_game_pressed"]