Title screen

This commit is contained in:
MaddoScientisto 2025-02-09 16:31:04 +01:00
commit e3f42e04f7
4 changed files with 61 additions and 16 deletions

View file

@ -1,31 +1,36 @@
[gd_scene load_steps=2 format=3 uid="uid://5xajclchk3my"]
[gd_scene load_steps=5 format=3 uid="uid://5xajclchk3my"]
[ext_resource type="Script" path="res://Scripts/MainMenu.cs" id="1_702nk"]
[ext_resource type="Texture2D" uid="uid://dicat7qqa0a7o" path="res://Sprites/Portraits/CirnoTitle.png" id="2_mpelb"]
[ext_resource type="FontFile" uid="uid://ccm3u37q1hvux" path="res://fonts/Xolonium-Regular.ttf" id="3_bl0se"]
[sub_resource type="Theme" id="Theme_c7h4d"]
[node name="Control" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_right = 1.0
offset_bottom = -2.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_702nk")
GameScene = "res://Scenes/game.tscn"
MainMenuScene = "res://Scenes/MainMenu.tscn"
[node name="TextureRect" type="TextureRect" parent="."]
layout_mode = 0
offset_left = 79.0
offset_top = -14.0
offset_right = 241.0
offset_bottom = 148.0
texture = ExtResource("2_mpelb")
[node name="MarginContainer" type="MarginContainer" parent="."]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -63.5
offset_top = -64.0
offset_right = 63.5
offset_bottom = 64.0
grow_horizontal = 2
grow_vertical = 2
offset_right = 337.0
offset_bottom = 158.0
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"]
layout_mode = 2
@ -34,8 +39,10 @@ size_flags_vertical = 4
[node name="Label" type="Label" parent="MarginContainer/VBoxContainer"]
layout_mode = 2
theme_override_font_sizes/font_size = 38
text = "CIRNO: No Brain"
theme = SubResource("Theme_c7h4d")
theme_override_fonts/font = ExtResource("3_bl0se")
theme_override_font_sizes/font_size = 28
text = "CIRNO: No Reason"
[node name="StartButton" type="Button" parent="MarginContainer/VBoxContainer"]
layout_mode = 2