polish splash screen

This commit is contained in:
Matteo Sonaglioni
2026-06-30 18:16:50 +02:00
parent b2d2cca36d
commit 200e99418a
7 changed files with 198 additions and 37 deletions

View File

@@ -3,12 +3,16 @@
[ext_resource type="Script" uid="uid://bf1f2kp8ghtei" path="res://core/scene_manager/scene_manager.gd" id="1_7resu"]
[ext_resource type="Resource" uid="uid://dr612tmciq8pg" path="res://core/scene_manager/scene_config.tres" id="2_vtdwt"]
[ext_resource type="Theme" uid="uid://bg8megpn77mod" path="res://core/font/main_theme.tres" id="3_j173j"]
[ext_resource type="Texture2D" uid="uid://dlrq07g7w5gg8" path="res://core/splash_screen/tgcc_logo.png" id="4_k2alh"]
[node name="SceneManager" type="CanvasLayer" unique_id=399843239]
process_mode = 3
layer = 100
script = ExtResource("1_7resu")
config = ExtResource("2_vtdwt")
fade_in_duration = 1.0
black_screen_duration = 3.0
fade_out_duration = 1.0
[node name="ColorRect" type="ColorRect" parent="." unique_id=1075660170]
anchors_preset = 15
@@ -20,7 +24,6 @@ mouse_filter = 2
color = Color(0, 0, 0, 0)
[node name="LoadingScreen" type="Control" parent="." unique_id=1075176512]
visible = false
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
@@ -46,3 +49,19 @@ theme = ExtResource("3_j173j")
theme_override_font_sizes/font_size = 32
text = "Loading..."
uppercase = true
[node name="Logo" type="TextureRect" parent="LoadingScreen" unique_id=425934742]
layout_mode = 1
anchors_preset = 3
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -233.0
offset_top = -236.0
offset_right = 791.0
offset_bottom = 788.0
grow_horizontal = 0
grow_vertical = 0
scale = Vector2(0.22, 0.22)
texture = ExtResource("4_k2alh")