From e17dabe40f098dbfb7ec93670de94833a9144d83 Mon Sep 17 00:00:00 2001 From: yuki Date: Tue, 25 Nov 2025 17:44:13 -0300 Subject: [PATCH] add title screen --- scenes/main_menu/main_menu.tscn | 30 +++++++++++++++++++++++++----- 1 file changed, 25 insertions(+), 5 deletions(-) diff --git a/scenes/main_menu/main_menu.tscn b/scenes/main_menu/main_menu.tscn index aa272d4..398b066 100644 --- a/scenes/main_menu/main_menu.tscn +++ b/scenes/main_menu/main_menu.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=7 format=3 uid="uid://5wfpwjykqson"] +[gd_scene load_steps=8 format=3 uid="uid://5wfpwjykqson"] [ext_resource type="FontFile" uid="uid://bce5el6o5igwn" path="res://assets/fonts/Axolotl.ttf" id="1_ob46e"] [ext_resource type="Script" uid="uid://xuibr7dn2qtw" path="res://scenes/main_menu/main_menu.gd" id="1_uqeha"] @@ -13,6 +13,10 @@ shader = ExtResource("2_uqeha") shader_parameter/palette = ExtResource("3_wem23") shader_parameter/palette_size = 120 +[sub_resource type="LabelSettings" id="LabelSettings_uqeha"] +font = ExtResource("1_ob46e") +font_size = 32 + [node name="MainMenu" type="Node2D"] script = ExtResource("1_uqeha") @@ -22,10 +26,10 @@ anchor_left = 0.5 anchor_top = 1.0 anchor_right = 0.5 anchor_bottom = 1.0 -offset_left = 24.0 -offset_top = 208.0 -offset_right = 99.0 -offset_bottom = 224.0 +offset_left = 125.0 +offset_top = 155.0 +offset_right = 200.0 +offset_bottom = 171.0 grow_horizontal = 2 grow_vertical = 0 size_flags_horizontal = 4 @@ -42,3 +46,19 @@ anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 metadata/_edit_lock_ = true + +[node name="Label2" type="Label" parent="."] +anchors_preset = 8 +anchor_left = 0.5 +anchor_top = 0.5 +anchor_right = 0.5 +anchor_bottom = 0.5 +offset_left = 45.0 +offset_top = 93.0 +offset_right = 275.0 +offset_bottom = 119.0 +grow_horizontal = 2 +grow_vertical = 2 +size_flags_horizontal = 4 +text = "girl will never sing again" +label_settings = SubResource("LabelSettings_uqeha")