Replace background of sidebar

This commit is contained in:
2023-09-04 21:12:34 -07:00
parent 4e3b200a8d
commit d0ea3eeec1
5 changed files with 76 additions and 40 deletions

View File

@@ -1,8 +1,8 @@
[gd_scene load_steps=6 format=3 uid="uid://dq1gtd55p04do"]
[ext_resource type="Texture2D" uid="uid://dieoh0r7a5try" path="res://Textures/Portraits/Pisces.jpg" id="1_id5nf"]
[ext_resource type="Script" path="res://Scripts/StageGUI.cs" id="1_wr2m0"]
[ext_resource type="Texture2D" uid="uid://2vog2nty4qrj" path="res://Textures/wheel.png" id="4_3jyfi"]
[ext_resource type="Texture2D" uid="uid://fqmkmpmackem" path="res://Textures/Portraits/character-BACKGROUND-ONLY.png" id="4_xa2n6"]
[sub_resource type="Animation" id="Animation_ptfpl"]
resource_name = "Rollover"
@@ -25,33 +25,32 @@ offset_bottom = -36.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_wr2m0")
metadata/_edit_horizontal_guides_ = [-342.0]
[node name="Placeholder1" type="ColorRect" parent="."]
custom_minimum_size = Vector2(410, 1080)
[node name="SidebarLeft" type="TextureRect" parent="."]
layout_mode = 1
anchors_preset = 4
anchor_top = 0.5
anchor_bottom = 0.5
offset_top = -540.0
offset_right = 240.0
offset_right = 420.0
offset_bottom = 540.0
grow_vertical = 2
color = Color(1, 0.447059, 1, 1)
texture = ExtResource("4_xa2n6")
[node name="Placeholder2" type="ColorRect" parent="."]
custom_minimum_size = Vector2(410, 1080)
[node name="SidebarLeft2" type="TextureRect" parent="."]
layout_mode = 1
anchors_preset = 6
anchor_left = 1.0
anchor_top = 0.5
anchor_right = 1.0
anchor_bottom = 0.5
offset_left = -300.0
offset_left = -420.0
offset_top = -540.0
offset_bottom = 540.0
grow_horizontal = 0
grow_vertical = 2
color = Color(1, 0.447059, 1, 1)
texture = ExtResource("4_xa2n6")
[node name="CharacterSelect" type="Control" parent="."]
layout_mode = 1
@@ -85,34 +84,3 @@ offset_right = 1871.0
offset_bottom = 399.0
texture = ExtResource("4_3jyfi")
expand_mode = 1
[node name="P1_Portrait" type="TextureRect" parent="CharacterSelect"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 30.0
offset_top = 400.0
offset_right = -722.0
offset_bottom = 400.0
grow_horizontal = 2
grow_vertical = 2
scale = Vector2(0.3, 0.3)
texture = ExtResource("1_id5nf")
expand_mode = 1
flip_h = true
[node name="P2_Portrait" type="TextureRect" parent="CharacterSelect"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 1545.0
offset_top = 400.0
offset_right = 793.0
offset_bottom = 400.0
grow_horizontal = 2
grow_vertical = 2
scale = Vector2(0.3, 0.3)
texture = ExtResource("1_id5nf")
expand_mode = 1

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

View File

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dhn08vs88telq"
path="res://.godot/imported/character-BACKGROUND-ONLY.png-ae42ea0737fd64304b94cb0c74945024.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Scenes/character-BACKGROUND-ONLY.png"
dest_files=["res://.godot/imported/character-BACKGROUND-ONLY.png-ae42ea0737fd64304b94cb0c74945024.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

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

View File

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://fqmkmpmackem"
path="res://.godot/imported/character-BACKGROUND-ONLY.png-b5f3bdef667ac48a938fe2ce74e000c5.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Textures/Portraits/character-BACKGROUND-ONLY.png"
dest_files=["res://.godot/imported/character-BACKGROUND-ONLY.png-b5f3bdef667ac48a938fe2ce74e000c5.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