From 619c35028ed14e6f39216a462bbc6d3a63ffa069 Mon Sep 17 00:00:00 2001 From: MaddoScientisto Date: Sat, 15 Mar 2025 20:47:12 +0100 Subject: [PATCH] New title logo --- Scenes/MainMenu.tscn | 26 ++++++++++++++++++-------- Sprites/UI/NewTitle.png | 3 +++ Sprites/UI/NewTitle.png.import | 34 ++++++++++++++++++++++++++++++++++ 3 files changed, 55 insertions(+), 8 deletions(-) create mode 100644 Sprites/UI/NewTitle.png create mode 100644 Sprites/UI/NewTitle.png.import diff --git a/Scenes/MainMenu.tscn b/Scenes/MainMenu.tscn index 740eda36..24e0dd49 100644 --- a/Scenes/MainMenu.tscn +++ b/Scenes/MainMenu.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=22 format=3 uid="uid://5xajclchk3my"] +[gd_scene load_steps=23 format=3 uid="uid://5xajclchk3my"] [ext_resource type="Script" uid="uid://dql102fvubniv" path="res://Scripts/MainMenu.cs" id="1_702nk"] [ext_resource type="PackedScene" uid="uid://c84shrj84g4t2" path="res://Scenes/HUD/MusicRoom.tscn" id="2_if7li"] @@ -15,13 +15,14 @@ [ext_resource type="PackedScene" uid="uid://bmj8t4pou6608" path="res://Scenes/HUD/TitleCrystal.tscn" id="8_riqfo"] [ext_resource type="PackedScene" uid="uid://bemu3l6b1e84y" path="res://Scenes/HUD/debug_menu.tscn" id="9_nwlsr"] [ext_resource type="Texture2D" uid="uid://p242xo3qxwve" path="res://Sprites/UI/Crystal3.png" id="9_riqfo"] +[ext_resource type="Texture2D" uid="uid://cywk6rtvwc62p" path="res://Sprites/UI/NewTitle.png" id="12_7v4os"] [ext_resource type="Texture2D" uid="uid://cv1fmski5dvhk" path="res://Sprites/Briefing/Intro/robot pov/l1_robot pov1.png" id="12_7467j"] [ext_resource type="Resource" uid="uid://byo74ews118nl" path="res://Resources/Music/No_Reason.tres" id="13_fh7cp"] [ext_resource type="FontFile" uid="uid://cyk27h5aox1n7" path="res://fonts/sector_034.ttf" id="14_yxkem"] -[sub_resource type="AtlasTexture" id="AtlasTexture_aoyqx"] +[sub_resource type="AtlasTexture" id="AtlasTexture_quqih"] atlas = ExtResource("9_riqfo") -region = Rect2(320, 0, 32, 16) +region = Rect2(576, 0, 32, 16) [sub_resource type="Theme" id="Theme_c7h4d"] @@ -61,12 +62,12 @@ offset_bottom = 61.375 texture = ExtResource("2_j4e6a") [node name="TitleCrystal" parent="." instance=ExtResource("8_riqfo")] -offset_left = 160.36 -offset_top = 44.855 -offset_right = 192.36 -offset_bottom = 60.855 +offset_left = 154.42 +offset_top = 40.995 +offset_right = 186.42 +offset_bottom = 56.995 rotation = 3.14159 -texture = SubResource("AtlasTexture_aoyqx") +texture = SubResource("AtlasTexture_quqih") [node name="MarginContainer" type="MarginContainer" parent="."] anchors_preset = 15 @@ -137,7 +138,15 @@ layout_mode = 2 size_flags_horizontal = 3 theme_override_constants/separation = -9 +[node name="TextureRect2" type="TextureRect" parent="MarginContainer/GridContainer/Title/VBoxContainer"] +layout_mode = 2 +size_flags_horizontal = 4 +size_flags_vertical = 0 +texture = ExtResource("12_7v4os") +stretch_mode = 2 + [node name="Title" type="Label" parent="MarginContainer/GridContainer/Title/VBoxContainer"] +visible = false layout_mode = 2 theme = SubResource("Theme_c7h4d") theme_override_fonts/font = ExtResource("3_bl0se") @@ -147,6 +156,7 @@ label_settings = ExtResource("7_loo7a") horizontal_alignment = 1 [node name="SubTitle" type="Label" parent="MarginContainer/GridContainer/Title/VBoxContainer"] +visible = false layout_mode = 2 size_flags_horizontal = 4 size_flags_vertical = 0 diff --git a/Sprites/UI/NewTitle.png b/Sprites/UI/NewTitle.png new file mode 100644 index 00000000..cfb48b8a --- /dev/null +++ b/Sprites/UI/NewTitle.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:507d49ea9d3bd8cdd16f353a4feef8aff25cdba5b4a2d1fb3c8c526225e34a28 +size 3948 diff --git a/Sprites/UI/NewTitle.png.import b/Sprites/UI/NewTitle.png.import new file mode 100644 index 00000000..f1a31ba6 --- /dev/null +++ b/Sprites/UI/NewTitle.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cywk6rtvwc62p" +path="res://.godot/imported/NewTitle.png-ad05929eef008207862206c461d9dedc.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Sprites/UI/NewTitle.png" +dest_files=["res://.godot/imported/NewTitle.png-ad05929eef008207862206c461d9dedc.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1