Files
tux-typing-plus/scenes/menus/start_menu/title.tscn

151 lines
4.6 KiB
Plaintext
Raw Normal View History

2026-02-08 00:01:34 -05:00
[gd_scene format=3 uid="uid://c536b5suvq3ep"]
[ext_resource type="Shader" uid="uid://b4yhwgv8l8djq" path="res://scroll.gdshader" id="1_kpexm"]
[ext_resource type="Texture2D" uid="uid://db557qcd1godx" path="res://textures/scrolbackground.png" id="2_3xoar"]
[ext_resource type="Texture2D" uid="uid://dew71sa7dwdnc" path="res://textures/tux typing +.png" id="3_mom7w"]
[ext_resource type="Script" uid="uid://cvxtof1igytdj" path="res://scenes/menus/start_menu/start_button.gd" id="4_jd0r5"]
2026-02-10 00:05:50 -05:00
[ext_resource type="AudioStream" uid="uid://cphmtgjrvot1n" path="res://assets/audio/music/menus/Discovery (Title Screen) - Sonic Mania [OST] [UZpxOFyEOZY].mp3" id="5_tufir"]
[ext_resource type="AudioStream" uid="uid://podscahsf0d4" path="res://assets/audio/sfx/MenuAccept.wav" id="6_uskxy"]
2026-02-08 00:01:34 -05:00
[sub_resource type="ShaderMaterial" id="ShaderMaterial_nlc08"]
shader = ExtResource("1_kpexm")
shader_parameter/speed = 0.1
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_nlc08"]
bg_color = Color(1, 1, 1, 1)
border_width_left = 10
border_width_top = 10
border_width_right = 10
border_width_bottom = 10
border_color = Color(0.9254902, 0.38039216, 0.6666667, 1)
corner_radius_top_left = 25
corner_radius_top_right = 25
corner_radius_bottom_right = 25
corner_radius_bottom_left = 25
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_jd0r5"]
bg_color = Color(0.5014065, 0.50140655, 0.50140643, 1)
border_width_left = 10
border_width_top = 10
border_width_right = 10
border_width_bottom = 10
border_color = Color(0.9254902, 0.38039216, 0.6666667, 1)
corner_radius_top_left = 25
corner_radius_top_right = 25
corner_radius_bottom_right = 25
corner_radius_bottom_left = 25
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_jn0s6"]
bg_color = Color(0.8646751, 0.86467516, 0.8646751, 1)
border_width_left = 10
border_width_top = 10
border_width_right = 10
border_width_bottom = 10
border_color = Color(0.9254902, 0.38039216, 0.6666667, 1)
corner_radius_top_left = 25
corner_radius_top_right = 25
corner_radius_bottom_right = 25
corner_radius_bottom_left = 25
[sub_resource type="LabelSettings" id="LabelSettings_jd0r5"]
font_size = 65
outline_size = 30
outline_color = Color(0.97571033, 0.39818302, 0.64404315, 1)
shadow_size = 32
shadow_color = Color(0.9254902, 0.38039216, 0.6666667, 1)
shadow_offset = Vector2(9.8, 5.495)
[node name="Control" type="Control" unique_id=2056562558]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="ColorRect" type="ColorRect" parent="." unique_id=832996317]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="background" type="TextureRect" parent="." unique_id=1048489066]
material = SubResource("ShaderMaterial_nlc08")
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("2_3xoar")
stretch_mode = 1
[node name="title" type="TextureRect" parent="." unique_id=279459107]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -507.04675
offset_top = -381.5
offset_right = 507.04675
offset_bottom = 381.5
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("3_mom7w")
[node name="StartButton" type="Button" parent="." unique_id=701951005]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -129.375
offset_top = 115.0
offset_right = 129.375
offset_bottom = 239.5
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/normal = SubResource("StyleBoxFlat_nlc08")
theme_override_styles/pressed = SubResource("StyleBoxFlat_jd0r5")
theme_override_styles/hover = SubResource("StyleBoxFlat_jn0s6")
script = ExtResource("4_jd0r5")
[node name="StartLabel" type="Label" parent="StartButton" unique_id=175730246]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
text = "Start!"
label_settings = SubResource("LabelSettings_jd0r5")
horizontal_alignment = 1
vertical_alignment = 1
2026-02-10 00:05:50 -05:00
[node name="TitleMusic" type="AudioStreamPlayer2D" parent="." unique_id=200515057]
stream = ExtResource("5_tufir")
volume_db = -20.0
autoplay = true
[node name="ButtonPress" type="AudioStreamPlayer2D" parent="." unique_id=878860967]
stream = ExtResource("6_uskxy")
volume_db = -20.0
[node name="Fade" type="ColorRect" parent="." unique_id=884781609]
modulate = Color(1, 1, 1, 0)
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
color = Color(0, 0, 0, 1)
2026-02-08 00:01:34 -05:00
[connection signal="pressed" from="StartButton" to="StartButton" method="_on_pressed"]