From af692e1591059a52550d1947dd2db15e862e7e88 Mon Sep 17 00:00:00 2001 From: Mikhail Aristov <12281487+MikhailAristov@users.noreply.github.com> Date: Sun, 28 Jan 2024 11:24:37 +0100 Subject: [PATCH] +logo in main menu --- godot/sprites/title_tough_crowd.svg | 240 +++++++++++++++++++++ godot/sprites/title_tough_crowd.svg.import | 37 ++++ godot/ui/components/game_logo.tscn | 4 +- 3 files changed, 279 insertions(+), 2 deletions(-) create mode 100644 godot/sprites/title_tough_crowd.svg create mode 100644 godot/sprites/title_tough_crowd.svg.import diff --git a/godot/sprites/title_tough_crowd.svg b/godot/sprites/title_tough_crowd.svg new file mode 100644 index 0000000..607f362 --- /dev/null +++ b/godot/sprites/title_tough_crowd.svg @@ -0,0 +1,240 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/godot/sprites/title_tough_crowd.svg.import b/godot/sprites/title_tough_crowd.svg.import new file mode 100644 index 0000000..ce8ddb4 --- /dev/null +++ b/godot/sprites/title_tough_crowd.svg.import @@ -0,0 +1,37 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bjw0tkgm1xw4g" +path="res://.godot/imported/title_tough_crowd.svg-7d127687f288d8aa415aebb0fe1f52c6.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://sprites/title_tough_crowd.svg" +dest_files=["res://.godot/imported/title_tough_crowd.svg-7d127687f288d8aa415aebb0fe1f52c6.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 +svg/scale=1.0 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false diff --git a/godot/ui/components/game_logo.tscn b/godot/ui/components/game_logo.tscn index 3c702ec..a82a0db 100644 --- a/godot/ui/components/game_logo.tscn +++ b/godot/ui/components/game_logo.tscn @@ -1,6 +1,6 @@ [gd_scene load_steps=2 format=3 uid="uid://b4blrdjthcxnn"] -[ext_resource type="Texture2D" uid="uid://dmelj2qgr8w7k" path="res://icon.svg" id="1_scjn5"] +[ext_resource type="Texture2D" uid="uid://bjw0tkgm1xw4g" path="res://sprites/title_tough_crowd.svg" id="1_ehg6o"] [node name="GameLogo" type="CenterContainer"] offset_right = 110.0 @@ -15,4 +15,4 @@ theme_override_constants/margin_bottom = 10 [node name="TextureRect" type="TextureRect" parent="MarginContainer"] layout_mode = 2 -texture = ExtResource("1_scjn5") +texture = ExtResource("1_ehg6o")