Work on shiny shader and updated to RC5

This commit is contained in:
2025-09-11 21:33:27 -04:00
parent d64859cf35
commit 82c630d668
30 changed files with 352 additions and 143 deletions

View File

@@ -3,15 +3,15 @@
importer="texture"
type="CompressedTexture2D"
uid="uid://crrd8mpcuync2"
path="res://.godot/imported/body.png-efd5e53b6f03adc4a57de5ce8dc4d3cd.ctex"
path="res://.godot/imported/body.png-5a897720f599ec630383f1f3dd8e9e9e.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://external/test portrait/farmer_f/body.png"
dest_files=["res://.godot/imported/body.png-efd5e53b6f03adc4a57de5ce8dc4d3cd.ctex"]
source_file="res://external/Test Portrait/Farmer_F/body.png"
dest_files=["res://.godot/imported/body.png-5a897720f599ec630383f1f3dd8e9e9e.ctex"]
[params]

View File

@@ -3,15 +3,15 @@
importer="texture"
type="CompressedTexture2D"
uid="uid://pp5ssn5m2n3i"
path="res://.godot/imported/brow_shadow-1.png-8dff8c187d59ecaaefbb84e877b32e20.ctex"
path="res://.godot/imported/brow_shadow-1.png-94d923d93f9bc0db18f7b963da1021dd.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://external/test portrait/farmer_f/brow_shadow-1.png"
dest_files=["res://.godot/imported/brow_shadow-1.png-8dff8c187d59ecaaefbb84e877b32e20.ctex"]
source_file="res://external/Test Portrait/Farmer_F/brow_shadow-1.png"
dest_files=["res://.godot/imported/brow_shadow-1.png-94d923d93f9bc0db18f7b963da1021dd.ctex"]
[params]

View File

@@ -3,15 +3,15 @@
importer="texture"
type="CompressedTexture2D"
uid="uid://x4e86o28672u"
path="res://.godot/imported/brow_shadow-2.png-b5d8d416acf1ddb95fd785200da8d3ce.ctex"
path="res://.godot/imported/brow_shadow-2.png-85a8d07465b9b109e67ad99a37d690d1.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://external/test portrait/farmer_f/brow_shadow-2.png"
dest_files=["res://.godot/imported/brow_shadow-2.png-b5d8d416acf1ddb95fd785200da8d3ce.ctex"]
source_file="res://external/Test Portrait/Farmer_F/brow_shadow-2.png"
dest_files=["res://.godot/imported/brow_shadow-2.png-85a8d07465b9b109e67ad99a37d690d1.ctex"]
[params]

View File

@@ -3,15 +3,15 @@
importer="texture"
type="CompressedTexture2D"
uid="uid://sv7bxo8a12i6"
path="res://.godot/imported/brow_shadow.png-f653be07b461bc5d7a18192996ffb73a.ctex"
path="res://.godot/imported/brow_shadow.png-e4497bbbff21d0b56dc81b07de4f06bc.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://external/test portrait/farmer_f/brow_shadow.png"
dest_files=["res://.godot/imported/brow_shadow.png-f653be07b461bc5d7a18192996ffb73a.ctex"]
source_file="res://external/Test Portrait/Farmer_F/brow_shadow.png"
dest_files=["res://.godot/imported/brow_shadow.png-e4497bbbff21d0b56dc81b07de4f06bc.ctex"]
[params]

View File

@@ -3,15 +3,15 @@
importer="texture"
type="CompressedTexture2D"
uid="uid://tpg08bgn2on7"
path="res://.godot/imported/brows-1.png-86a51529282fffa26d497e35e4cc9367.ctex"
path="res://.godot/imported/brows-1.png-70092c4bb56529f3cdeb7b51925eb071.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://external/test portrait/farmer_f/brows-1.png"
dest_files=["res://.godot/imported/brows-1.png-86a51529282fffa26d497e35e4cc9367.ctex"]
source_file="res://external/Test Portrait/Farmer_F/brows-1.png"
dest_files=["res://.godot/imported/brows-1.png-70092c4bb56529f3cdeb7b51925eb071.ctex"]
[params]

View File

@@ -3,15 +3,15 @@
importer="texture"
type="CompressedTexture2D"
uid="uid://brmta1rtiau4a"
path="res://.godot/imported/brows-2.png-01beea1c4e9cadf04c529dc849682c8a.ctex"
path="res://.godot/imported/brows-2.png-227c9708d0b7fde57b1ef42021508fcf.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://external/test portrait/farmer_f/brows-2.png"
dest_files=["res://.godot/imported/brows-2.png-01beea1c4e9cadf04c529dc849682c8a.ctex"]
source_file="res://external/Test Portrait/Farmer_F/brows-2.png"
dest_files=["res://.godot/imported/brows-2.png-227c9708d0b7fde57b1ef42021508fcf.ctex"]
[params]

View File

@@ -3,15 +3,15 @@
importer="texture"
type="CompressedTexture2D"
uid="uid://c3wwe6r000gpq"
path="res://.godot/imported/composite.png-a68e5c4a777094ce447b89a2ab45b35b.ctex"
path="res://.godot/imported/composite.png-b2c2e474fe243b72bd3471af031774d6.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://external/test portrait/farmer_f/composite.png"
dest_files=["res://.godot/imported/composite.png-a68e5c4a777094ce447b89a2ab45b35b.ctex"]
source_file="res://external/Test Portrait/Farmer_F/composite.png"
dest_files=["res://.godot/imported/composite.png-b2c2e474fe243b72bd3471af031774d6.ctex"]
[params]

View File

@@ -3,15 +3,15 @@
importer="texture"
type="CompressedTexture2D"
uid="uid://caow8dqiog7j4"
path="res://.godot/imported/ear.png-74df11e092bb05fcc54c7e7478ed4d95.ctex"
path="res://.godot/imported/ear.png-a1b457892f7236464123f2229af36695.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://external/test portrait/farmer_f/ear.png"
dest_files=["res://.godot/imported/ear.png-74df11e092bb05fcc54c7e7478ed4d95.ctex"]
source_file="res://external/Test Portrait/Farmer_F/ear.png"
dest_files=["res://.godot/imported/ear.png-a1b457892f7236464123f2229af36695.ctex"]
[params]

View File

@@ -3,15 +3,15 @@
importer="texture"
type="CompressedTexture2D"
uid="uid://csp7xbtu0tpn7"
path="res://.godot/imported/eye-white-1.png-a31a2b044ab6206c129b0739fd4c0c80.ctex"
path="res://.godot/imported/eye-white-1.png-fb75b817d294c00ebeee3e6996a2c02e.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://external/test portrait/farmer_f/eye-white-1.png"
dest_files=["res://.godot/imported/eye-white-1.png-a31a2b044ab6206c129b0739fd4c0c80.ctex"]
source_file="res://external/Test Portrait/Farmer_F/eye-white-1.png"
dest_files=["res://.godot/imported/eye-white-1.png-fb75b817d294c00ebeee3e6996a2c02e.ctex"]
[params]

View File

@@ -3,15 +3,15 @@
importer="texture"
type="CompressedTexture2D"
uid="uid://mygmunn3voie"
path="res://.godot/imported/eyes-iris-1.png-d2077e2e658acf3840075cfe98f86f4e.ctex"
path="res://.godot/imported/eyes-iris-1.png-3c96067ab402ea99f8e1b1b7db594f4c.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://external/test portrait/farmer_f/eyes-iris-1.png"
dest_files=["res://.godot/imported/eyes-iris-1.png-d2077e2e658acf3840075cfe98f86f4e.ctex"]
source_file="res://external/Test Portrait/Farmer_F/eyes-iris-1.png"
dest_files=["res://.godot/imported/eyes-iris-1.png-3c96067ab402ea99f8e1b1b7db594f4c.ctex"]
[params]

View File

@@ -3,15 +3,15 @@
importer="texture"
type="CompressedTexture2D"
uid="uid://wnkr20dtf734"
path="res://.godot/imported/eyes-lashes-1.png-1460ddc60d7a087da2d517ce8f1a5faa.ctex"
path="res://.godot/imported/eyes-lashes-1.png-8a4535f7647af11ff99b165ee021e8cc.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://external/test portrait/farmer_f/eyes-lashes-1.png"
dest_files=["res://.godot/imported/eyes-lashes-1.png-1460ddc60d7a087da2d517ce8f1a5faa.ctex"]
source_file="res://external/Test Portrait/Farmer_F/eyes-lashes-1.png"
dest_files=["res://.godot/imported/eyes-lashes-1.png-8a4535f7647af11ff99b165ee021e8cc.ctex"]
[params]

View File

@@ -3,15 +3,15 @@
importer="texture"
type="CompressedTexture2D"
uid="uid://dd063tm4qo5nc"
path="res://.godot/imported/eyes.png-da6eb5fdf7f113844fe8e5414a1f2331.ctex"
path="res://.godot/imported/eyes.png-1384a95ac331738bfe48af30a8953f10.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://external/test portrait/farmer_f/eyes.png"
dest_files=["res://.godot/imported/eyes.png-da6eb5fdf7f113844fe8e5414a1f2331.ctex"]
source_file="res://external/Test Portrait/Farmer_F/eyes.png"
dest_files=["res://.godot/imported/eyes.png-1384a95ac331738bfe48af30a8953f10.ctex"]
[params]

View File

@@ -3,15 +3,15 @@
importer="texture"
type="CompressedTexture2D"
uid="uid://li44lgsa0ky"
path="res://.godot/imported/eyes_shadow.png-c0450e5470a67b3e212b544dfeadc885.ctex"
path="res://.godot/imported/eyes_shadow.png-639516c9b7d6a71a22fcd4597236a89e.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://external/test portrait/farmer_f/eyes_shadow.png"
dest_files=["res://.godot/imported/eyes_shadow.png-c0450e5470a67b3e212b544dfeadc885.ctex"]
source_file="res://external/Test Portrait/Farmer_F/eyes_shadow.png"
dest_files=["res://.godot/imported/eyes_shadow.png-639516c9b7d6a71a22fcd4597236a89e.ctex"]
[params]

View File

@@ -3,15 +3,15 @@
importer="texture"
type="CompressedTexture2D"
uid="uid://can8npg0ufr3f"
path="res://.godot/imported/hair_bg.png-71bd584ff51ea6c704ba2eb2b8124703.ctex"
path="res://.godot/imported/hair_bg.png-07f942d8008a0d2581909922002bbbe2.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://external/test portrait/farmer_f/hair_bg.png"
dest_files=["res://.godot/imported/hair_bg.png-71bd584ff51ea6c704ba2eb2b8124703.ctex"]
source_file="res://external/Test Portrait/Farmer_F/hair_bg.png"
dest_files=["res://.godot/imported/hair_bg.png-07f942d8008a0d2581909922002bbbe2.ctex"]
[params]

View File

@@ -3,15 +3,15 @@
importer="texture"
type="CompressedTexture2D"
uid="uid://vt17lekvchdg"
path="res://.godot/imported/hair_fg.png-9dfae38fbf9812dad9b45d15a1cbd791.ctex"
path="res://.godot/imported/hair_fg.png-9f5c6bb27fb0349d9ddfba99f87aa5c6.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://external/test portrait/farmer_f/hair_fg.png"
dest_files=["res://.godot/imported/hair_fg.png-9dfae38fbf9812dad9b45d15a1cbd791.ctex"]
source_file="res://external/Test Portrait/Farmer_F/hair_fg.png"
dest_files=["res://.godot/imported/hair_fg.png-9f5c6bb27fb0349d9ddfba99f87aa5c6.ctex"]
[params]

View File

@@ -3,15 +3,15 @@
importer="texture"
type="CompressedTexture2D"
uid="uid://cru775pghpate"
path="res://.godot/imported/hair_fg_shadow.png-609d7f961008e48f548f0e05277dafb4.ctex"
path="res://.godot/imported/hair_fg_shadow.png-41de10e26ae2147aace92ba197b28075.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://external/test portrait/farmer_f/hair_fg_shadow.png"
dest_files=["res://.godot/imported/hair_fg_shadow.png-609d7f961008e48f548f0e05277dafb4.ctex"]
source_file="res://external/Test Portrait/Farmer_F/hair_fg_shadow.png"
dest_files=["res://.godot/imported/hair_fg_shadow.png-41de10e26ae2147aace92ba197b28075.ctex"]
[params]

View File

@@ -3,15 +3,15 @@
importer="texture"
type="CompressedTexture2D"
uid="uid://dj6fagfp2sbrx"
path="res://.godot/imported/hat-bg.png-972a86d8449c11d1a72a4f21b15efd0a.ctex"
path="res://.godot/imported/hat-bg.png-00e20fcd79ddb550d12459624be7d9b1.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://external/test portrait/farmer_f/hat-bg.png"
dest_files=["res://.godot/imported/hat-bg.png-972a86d8449c11d1a72a4f21b15efd0a.ctex"]
source_file="res://external/Test Portrait/Farmer_F/hat-bg.png"
dest_files=["res://.godot/imported/hat-bg.png-00e20fcd79ddb550d12459624be7d9b1.ctex"]
[params]

View File

@@ -3,15 +3,15 @@
importer="texture"
type="CompressedTexture2D"
uid="uid://b303qa76o5r1m"
path="res://.godot/imported/hat.png-21e48868d0218210b390afa680a1202d.ctex"
path="res://.godot/imported/hat.png-9bb6fa9d1f7f7503ee26b1749cdf7c0a.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://external/test portrait/farmer_f/hat.png"
dest_files=["res://.godot/imported/hat.png-21e48868d0218210b390afa680a1202d.ctex"]
source_file="res://external/Test Portrait/Farmer_F/hat.png"
dest_files=["res://.godot/imported/hat.png-9bb6fa9d1f7f7503ee26b1749cdf7c0a.ctex"]
[params]

View File

@@ -3,15 +3,15 @@
importer="texture"
type="CompressedTexture2D"
uid="uid://dyeu4kwwnxjn5"
path="res://.godot/imported/hat_fg.png-2dddd61ae84da22b32d123d3533338c5.ctex"
path="res://.godot/imported/hat_fg.png-e2cae14f649780ea2aba38b34358b587.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://external/test portrait/farmer_f/hat_fg.png"
dest_files=["res://.godot/imported/hat_fg.png-2dddd61ae84da22b32d123d3533338c5.ctex"]
source_file="res://external/Test Portrait/Farmer_F/hat_fg.png"
dest_files=["res://.godot/imported/hat_fg.png-e2cae14f649780ea2aba38b34358b587.ctex"]
[params]

View File

@@ -3,15 +3,15 @@
importer="texture"
type="CompressedTexture2D"
uid="uid://dbdjaye6srxhx"
path="res://.godot/imported/head.png-47039f8abc285b87bb176b5b43ee9a5f.ctex"
path="res://.godot/imported/head.png-df46fa0b8e2741bbf0fad9b3a03fedea.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://external/test portrait/farmer_f/head.png"
dest_files=["res://.godot/imported/head.png-47039f8abc285b87bb176b5b43ee9a5f.ctex"]
source_file="res://external/Test Portrait/Farmer_F/head.png"
dest_files=["res://.godot/imported/head.png-df46fa0b8e2741bbf0fad9b3a03fedea.ctex"]
[params]

BIN
external/mage.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 148 KiB

40
external/mage.png.import vendored Normal file
View File

@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://c25xtpn3k8s8d"
path="res://.godot/imported/mage.png-2f7cf9836d55d440949a539929eb6c3b.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://external/mage.png"
dest_files=["res://.godot/imported/mage.png-2f7cf9836d55d440949a539929eb6c3b.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
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/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
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

BIN
external/xp.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 151 KiB

40
external/xp.png.import vendored Normal file
View File

@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://b8i33rhb4mw40"
path="res://.godot/imported/xp.png-583c461f08becf1161bb0c5be9b7bc3d.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://external/xp.png"
dest_files=["res://.godot/imported/xp.png-583c461f08becf1161bb0c5be9b7bc3d.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=1
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
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=0

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=12 format=3 uid="uid://dfa6ep4o53s08"]
[gd_scene load_steps=13 format=3 uid="uid://dfa6ep4o53s08"]
[ext_resource type="Script" uid="uid://cci652umkym1f" path="res://scripts/test_scene.gd" id="1_752n1"]
[ext_resource type="Texture2D" uid="uid://c5yxq22ao1oyf" path="res://graphics/doorlight.png" id="2_oi1nh"]
@@ -7,6 +7,7 @@
[ext_resource type="PackedScene" uid="uid://c8ofw6na082gv" path="res://templates/main_panel.tscn" id="4_4k18p"]
[ext_resource type="PackedScene" uid="uid://c7jagw4y7w42l" path="res://templates/top_menu.tscn" id="5_p1w2f"]
[ext_resource type="AudioStream" uid="uid://cmray2frojcd" path="res://sounds/Door Hinge Creaking Door.wav" id="7_oi1nh"]
[ext_resource type="Texture2D" uid="uid://c25xtpn3k8s8d" path="res://external/mage.png" id="8_4k18p"]
[sub_resource type="CanvasItemMaterial" id="CanvasItemMaterial_752n1"]
blend_mode = 3
@@ -66,7 +67,7 @@ script = ExtResource("1_752n1")
visible = false
z_index = 100
material = SubResource("CanvasItemMaterial_752n1")
anchors_preset = -1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 3.0
@@ -106,7 +107,6 @@ total_visitors = 1
[node name="UI" type="CanvasLayer" parent="."]
[node name="VBoxContainer" type="VBoxContainer" parent="UI"]
anchors_preset = -1
offset_left = 1485.0
offset_top = 23.0
offset_right = 1886.0
@@ -124,4 +124,10 @@ layout_mode = 2
stream = ExtResource("7_oi1nh")
volume_db = -24.535
[node name="Mage" type="Sprite2D" parent="."]
z_index = 4096
position = Vector2(952, 354)
scale = Vector2(0.1890599, 0.1890599)
texture = ExtResource("8_4k18p")
[connection signal="timeout" from="Guildhall/VisitorSpawner/Timer" to="Guildhall/VisitorSpawner" method="_on_timer_timeout"]

View File

@@ -51,8 +51,11 @@ corner_detail = 5
[node name="Control" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 1.0
offset_right = 1.0
offset_bottom = 37.0
grow_horizontal = 2
grow_vertical = 2
@@ -147,7 +150,7 @@ clip_contents = false
custom_minimum_size = Vector2(0, 700)
layout_mode = 2
[node name="CycleList" type="Container" parent="PanelContainer/MarginContainer/VBoxContainer/HBoxContainer/PanelContainer2/VBoxContainer/ScrollContainer"]
[node name="CycleList" type="Container" parent="PanelContainer/MarginContainer/VBoxContainer/HBoxContainer/PanelContainer2/VBoxContainer/ScrollContainer" node_paths=PackedStringArray("scroll_container")]
unique_name_in_owner = true
process_mode = 1
custom_minimum_size = Vector2(0, 111)
@@ -155,6 +158,7 @@ layout_mode = 2
script = ExtResource("2_532of")
hold_duration = 0.25
is_vertical = true
scroll_container = NodePath("..")
metadata/_custom_type_script = "uid://d3mey1366662n"
[node name="ShiftCycle" parent="PanelContainer/MarginContainer/VBoxContainer/HBoxContainer/PanelContainer2/VBoxContainer/ScrollContainer/CycleList" instance=ExtResource("2_rxjlm")]

View File

@@ -0,0 +1,69 @@
shader_type canvas_item;
render_mode blend_premul_alpha;
uniform float Line_Smoothness : hint_range(0, 0.1) = 0.045;
uniform float Line_Width : hint_range(0, 0.2) = 0.09;
uniform float Brightness = 3.0;
uniform float Rotation_deg : hint_range(-90, 90) = 30;
uniform float Distortion : hint_range(1, 2) = 1.8;
uniform float Speed = 0.7;
uniform float Position : hint_range(0, 1) = 0;
uniform float Position_Min = 0.25;
uniform float Position_Max = 0.5;
uniform float Alpha : hint_range(0, 1) = 1;
vec2 rotate_uv(vec2 uv, vec2 center, float rotation, bool use_degrees){
float _angle = rotation;
if(use_degrees){
_angle = rotation * (3.1415926/180.0);
}
mat2 _rotation = mat2(
vec2(cos(_angle), -sin(_angle)),
vec2(sin(_angle), cos(_angle))
);
vec2 _delta = uv - center;
_delta = _rotation * _delta;
return _delta + center;
}
void fragment() {
vec2 center_uv = UV - vec2(0.5, 0.5);
float gradient_to_edge = max(abs(center_uv.x), abs(center_uv.y));
gradient_to_edge = gradient_to_edge * Distortion;
gradient_to_edge = 1.0 - gradient_to_edge;
vec2 rotaded_uv = rotate_uv(UV, vec2(0.5, 0.5), Rotation_deg, true);
float remapped_position;
{
float output_range = Position_Max - Position_Min;
remapped_position = Position_Min + output_range * Position;
}
float remapped_time = TIME * Speed + remapped_position;
remapped_time = fract(remapped_time);
{
float output_range = 2.0 - (-2.0);
remapped_time = -2.0 + output_range * remapped_time;
}
vec2 offset_uv = vec2(rotaded_uv.xy) + vec2(remapped_time, 0.0);
float line = vec3(offset_uv, 0.0).x;
line = abs(line);
line = gradient_to_edge * line;
line = sqrt(line);
float line_smoothness = clamp(Line_Smoothness, 0.001, 1.0);
float offset_plus = Line_Width + line_smoothness;
float offset_minus = Line_Width - line_smoothness;
float remapped_line;
{
float input_range = offset_minus - offset_plus;
remapped_line = (line - offset_plus) / input_range;
}
remapped_line = remapped_line * Brightness;
remapped_line = min(remapped_line, Alpha);
COLOR.rgb = vec3(COLOR.xyz) * vec3(remapped_line);
COLOR.a = remapped_line;
}

View File

@@ -0,0 +1 @@
uid://cuicvb6logcpd

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=14 format=3 uid="uid://bktxswsjql86p"]
[gd_scene load_steps=17 format=3 uid="uid://bktxswsjql86p"]
[ext_resource type="Script" uid="uid://ccsiubi5y75qg" path="res://scripts/npc_profile_window.gd" id="1_4xbne"]
[ext_resource type="Texture2D" uid="uid://cbt6po52ad37x" path="res://external/profile-window.png" id="2_s0l16"]
@@ -9,14 +9,16 @@
[ext_resource type="Texture2D" uid="uid://cjjtgrr56guj0" path="res://graphics/ui/item-slot.png" id="7_ktflt"]
[ext_resource type="Texture2D" uid="uid://d1btg2hfnjx6r" path="res://graphics/ui/inventory-heading.png" id="8_1nmd1"]
[ext_resource type="Texture2D" uid="uid://blt2b7f6iqb8j" path="res://graphics/questview/test-char.png" id="10_tiew1"]
[ext_resource type="Texture2D" uid="uid://b8i33rhb4mw40" path="res://external/xp.png" id="11_ktflt"]
[ext_resource type="Script" uid="uid://cw6yo5opbrpr8" path="res://scripts/item_slot.gd" id="11_tiew1"]
[ext_resource type="Shader" uid="uid://cuicvb6logcpd" path="res://shaders/item_shine.gdshader" id="12_1nmd1"]
[sub_resource type="CanvasItemMaterial" id="CanvasItemMaterial_ktflt"]
blend_mode = 3
[sub_resource type="Gradient" id="Gradient_1nmd1"]
offsets = PackedFloat32Array(0.2754717, 0.36226416, 0.43773586)
colors = PackedColorArray(1, 1, 1, 1, 0.46274376, 0.4643005, 0.5605066, 1, 1, 1, 1, 1)
colors = PackedColorArray(1, 1, 1, 1, 0.64289534, 0.6450979, 0.73285794, 1, 1, 1, 1, 1)
[sub_resource type="GradientTexture2D" id="GradientTexture2D_bj16a"]
gradient = SubResource("Gradient_1nmd1")
@@ -24,6 +26,19 @@ width = 100
height = 49
fill_to = Vector2(0, 1)
[sub_resource type="ShaderMaterial" id="ShaderMaterial_bj16a"]
shader = ExtResource("12_1nmd1")
shader_parameter/Line_Smoothness = 0.06400000304
shader_parameter/Line_Width = 0.20000000298023
shader_parameter/Brightness = 3.0
shader_parameter/Rotation_deg = 30.0
shader_parameter/Distortion = 1.8
shader_parameter/Speed = 0.6
shader_parameter/Position = 0.0
shader_parameter/Position_Min = 0.25
shader_parameter/Position_Max = 0.5
shader_parameter/Alpha = 0.8550000406125
[node name="Profile Window" type="Window"]
transparent_bg = true
oversampling_override = 1.0
@@ -39,7 +54,6 @@ script = ExtResource("1_4xbne")
[node name="CloseButton" type="Button" parent="."]
modulate = Color(1, 1, 1, 0)
anchors_preset = -1
offset_left = 586.0
offset_top = 15.0
offset_right = 625.0
@@ -47,13 +61,13 @@ offset_bottom = 54.0
[node name="DragRegion" type="Control" parent="."]
layout_mode = 3
anchors_preset = 0
offset_left = 2.0
offset_top = 11.0
offset_right = 584.0
offset_bottom = 56.0
[node name="TextureRect" type="TextureRect" parent="."]
anchors_preset = -1
offset_right = 635.0
offset_bottom = 843.0
texture = ExtResource("2_s0l16")
@@ -61,13 +75,13 @@ texture = ExtResource("2_s0l16")
[node name="HSeparator" type="Control" parent="."]
custom_minimum_size = Vector2(0, 100)
layout_mode = 3
anchors_preset = 0
offset_left = 3.0
offset_top = 4.0
offset_right = 629.0
offset_bottom = 839.0
[node name="TextureRect2" type="TextureRect" parent="."]
anchors_preset = -1
offset_left = 3.0
offset_top = 4.0
offset_right = 629.0
@@ -78,7 +92,6 @@ unique_name_in_owner = true
self_modulate = Color(1, 1, 1, 0)
clip_contents = true
custom_minimum_size = Vector2(153, 153)
anchors_preset = -1
offset_left = 27.0
offset_top = 103.0
offset_right = 180.0
@@ -88,7 +101,6 @@ expand_mode = 1
[node name="NameLabel" type="Label" parent="."]
unique_name_in_owner = true
anchors_preset = -1
offset_left = 74.0
offset_top = 54.0
offset_right = 178.0
@@ -100,7 +112,6 @@ text = "Name"
[node name="JobLabel" type="Label" parent="."]
unique_name_in_owner = true
anchors_preset = -1
offset_left = 188.0
offset_top = 100.0
offset_right = 272.0
@@ -112,7 +123,6 @@ text = "Class"
[node name="LevelLabel" type="Label" parent="."]
unique_name_in_owner = true
anchors_preset = -1
offset_left = 188.0
offset_top = 127.0
offset_right = 272.0
@@ -123,7 +133,6 @@ text = "Lv ##"
[node name="ExpLabel" type="Label" parent="."]
unique_name_in_owner = true
anchors_preset = -1
offset_left = 188.0
offset_top = 156.0
offset_right = 314.0
@@ -136,7 +145,6 @@ text = "Exp: ##/##"
[node name="LifeLabel" type="Label" parent="."]
unique_name_in_owner = true
custom_minimum_size = Vector2(100, 0)
anchors_preset = -1
offset_left = 26.0
offset_top = 273.0
offset_right = 652.0
@@ -146,7 +154,6 @@ text = "Life: ####/####"
[node name="EnergyLabel" type="Label" parent="."]
unique_name_in_owner = true
anchors_preset = -1
offset_left = 234.0
offset_top = 273.0
offset_right = 860.0
@@ -158,7 +165,6 @@ text = "Energy: ####/####"
[node name="STRLabel" type="Label" parent="."]
unique_name_in_owner = true
clip_children = 2
anchors_preset = -1
offset_left = 110.0
offset_top = 302.0
offset_right = 210.0
@@ -185,7 +191,6 @@ texture = SubResource("GradientTexture2D_bj16a")
[node name="INTLabel" type="Label" parent="."]
unique_name_in_owner = true
clip_children = 2
anchors_preset = -1
offset_left = 110.0
offset_top = 364.0
offset_right = 210.0
@@ -205,7 +210,6 @@ texture = SubResource("GradientTexture2D_bj16a")
[node name="Label" type="Label" parent="."]
modulate = Color(0.4, 0.22666667, 0, 1)
anchors_preset = -1
offset_left = 65.0
offset_top = 405.0
offset_right = 139.0
@@ -216,7 +220,6 @@ text = "ATK"
[node name="Label2" type="Label" parent="."]
modulate = Color(0.4, 0.22666667, 0, 1)
anchors_preset = -1
offset_left = 201.0
offset_top = 405.0
offset_right = 275.0
@@ -227,7 +230,6 @@ text = "MAG"
[node name="Label3" type="Label" parent="."]
modulate = Color(0.4, 0.22666667, 0, 1)
anchors_preset = -1
offset_left = 330.0
offset_top = 405.0
offset_right = 408.0
@@ -238,7 +240,6 @@ text = "PDEF"
[node name="Label4" type="Label" parent="."]
modulate = Color(0.4, 0.22666667, 0, 1)
anchors_preset = -1
offset_left = 481.0
offset_top = 405.0
offset_right = 569.0
@@ -250,7 +251,6 @@ text = "MDEF"
[node name="ATKLabel" type="Label" parent="."]
unique_name_in_owner = true
clip_children = 2
anchors_preset = -1
offset_left = 43.0
offset_top = 436.0
offset_right = 143.0
@@ -277,7 +277,6 @@ texture = SubResource("GradientTexture2D_bj16a")
[node name="MAGLabel" type="Label" parent="."]
unique_name_in_owner = true
clip_children = 2
anchors_preset = -1
offset_left = 188.0
offset_top = 435.0
offset_right = 288.0
@@ -304,7 +303,6 @@ texture = SubResource("GradientTexture2D_bj16a")
[node name="PDEFLabel" type="Label" parent="."]
unique_name_in_owner = true
clip_children = 2
anchors_preset = -1
offset_left = 316.0
offset_top = 435.0
offset_right = 416.0
@@ -325,7 +323,6 @@ texture = SubResource("GradientTexture2D_bj16a")
[node name="MDEFLabel" type="Label" parent="."]
unique_name_in_owner = true
clip_children = 2
anchors_preset = -1
offset_left = 471.0
offset_top = 435.0
offset_right = 571.0
@@ -346,7 +343,6 @@ texture = SubResource("GradientTexture2D_bj16a")
[node name="DEXLabel" type="Label" parent="."]
unique_name_in_owner = true
clip_children = 2
anchors_preset = -1
offset_left = 111.0
offset_top = 333.0
offset_right = 211.0
@@ -367,7 +363,6 @@ texture = SubResource("GradientTexture2D_bj16a")
[node name="CHALabel" type="Label" parent="."]
unique_name_in_owner = true
clip_children = 2
anchors_preset = -1
offset_left = 254.0
offset_top = 302.0
offset_right = 354.0
@@ -388,7 +383,6 @@ texture = SubResource("GradientTexture2D_bj16a")
[node name="FAILabel" type="Label" parent="."]
unique_name_in_owner = true
clip_children = 2
anchors_preset = -1
offset_left = 254.0
offset_top = 333.0
offset_right = 354.0
@@ -409,7 +403,6 @@ texture = SubResource("GradientTexture2D_bj16a")
[node name="LUKLabel" type="Label" parent="."]
unique_name_in_owner = true
clip_children = 2
anchors_preset = -1
offset_left = 254.0
offset_top = 364.0
offset_right = 354.0
@@ -428,7 +421,6 @@ offset_bottom = 64.0
texture = SubResource("GradientTexture2D_bj16a")
[node name="GearBanner" type="TextureRect" parent="."]
anchors_preset = -1
offset_left = -89.0
offset_top = 485.0
offset_right = 382.0
@@ -436,7 +428,6 @@ offset_bottom = 509.0
texture = ExtResource("6_tiew1")
[node name="Sideview" type="NinePatchRect" parent="."]
anchors_preset = -1
offset_left = 13.0
offset_top = 543.0
offset_right = 238.0
@@ -457,7 +448,6 @@ texture = ExtResource("10_tiew1")
[node name="GearGrid" type="GridContainer" parent="."]
unique_name_in_owner = true
anchors_preset = -1
offset_left = 241.0
offset_top = 545.0
offset_right = 462.0
@@ -478,7 +468,6 @@ texture = ExtResource("7_ktflt")
[node name="VSeparator" type="VSeparator" parent="."]
modulate = Color(1.2044971, 0.7664488, 0.43147072, 1)
custom_minimum_size = Vector2(0, 275)
anchors_preset = -1
offset_left = 314.0
offset_top = 512.0
offset_right = 318.0
@@ -486,7 +475,6 @@ offset_bottom = 812.0
scale = Vector2(2, 1)
[node name="InventoryBanner" type="TextureRect" parent="."]
anchors_preset = -1
offset_left = 236.0
offset_top = 485.0
offset_right = 707.0
@@ -495,7 +483,6 @@ texture = ExtResource("8_1nmd1")
[node name="InventoryGrid" type="GridContainer" parent="."]
unique_name_in_owner = true
anchors_preset = -1
offset_left = 325.0
offset_top = 513.0
offset_right = 621.0
@@ -514,29 +501,80 @@ offset_bottom = 71.0
texture = ExtResource("7_ktflt")
[node name="Item" type="TextureRect" parent="InventoryGrid/ItemSlot"]
clip_children = 2
texture_filter = 3
clip_contents = true
layout_mode = 0
offset_left = 3.0
offset_top = 3.0
offset_right = 67.0
offset_bottom = 67.0
texture = ExtResource("11_ktflt")
expand_mode = 1
[node name="ItemSlot" type="Control" parent="InventoryGrid/ItemSlot"]
custom_minimum_size = Vector2(71, 71)
anchors_preset = 0
script = ExtResource("11_tiew1")
[node name="Square" type="TextureRect" parent="InventoryGrid/ItemSlot/ItemSlot"]
[node name="Shine" type="ColorRect" parent="InventoryGrid/ItemSlot/Item"]
material = SubResource("ShaderMaterial_bj16a")
layout_mode = 0
offset_right = 71.0
offset_bottom = 71.0
texture = ExtResource("7_ktflt")
offset_right = 64.0
offset_bottom = 64.0
[node name="Item" type="TextureRect" parent="InventoryGrid/ItemSlot/ItemSlot"]
[node name="CountLabel" type="Label" parent="InventoryGrid/ItemSlot"]
visible = false
clip_children = 2
layout_mode = 0
offset_left = 3.0
offset_top = 3.0
offset_right = 67.0
offset_left = 1.0
offset_top = 52.0
offset_right = 37.363632
offset_bottom = 68.0
theme = ExtResource("5_wafq0")
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
theme_override_constants/shadow_offset_x = 1
theme_override_constants/shadow_offset_y = 1
theme_override_constants/outline_size = 1
theme_override_fonts/font = ExtResource("6_ktflt")
theme_override_font_sizes/font_size = 16
text = "999"
horizontal_alignment = 1
vertical_alignment = 2
[node name="TextureRect" type="TextureRect" parent="InventoryGrid/ItemSlot/CountLabel"]
material = SubResource("CanvasItemMaterial_ktflt")
layout_mode = 1
anchors_preset = -1
offset_top = -11.0
offset_right = 35.0
offset_bottom = 36.0
texture = SubResource("GradientTexture2D_bj16a")
expand_mode = 1
[node name="PerLabel" type="Label" parent="InventoryGrid/ItemSlot"]
visible = false
clip_children = 2
layout_mode = 0
offset_left = 35.0
offset_top = 51.0
offset_right = 71.36363
offset_bottom = 67.0
theme = ExtResource("5_wafq0")
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
theme_override_constants/shadow_offset_x = 1
theme_override_constants/shadow_offset_y = 1
theme_override_constants/outline_size = 1
theme_override_fonts/font = ExtResource("6_ktflt")
theme_override_font_sizes/font_size = 12
text = "PER"
horizontal_alignment = 1
vertical_alignment = 2
[node name="TextureRect" type="TextureRect" parent="InventoryGrid/ItemSlot/PerLabel"]
material = SubResource("CanvasItemMaterial_ktflt")
layout_mode = 1
anchors_preset = -1
offset_top = -11.0
offset_right = 35.0
offset_bottom = 36.0
texture = SubResource("GradientTexture2D_bj16a")
expand_mode = 1
[node name="ItemSlot2" type="Control" parent="InventoryGrid"]
custom_minimum_size = Vector2(71, 71)
@@ -813,7 +851,6 @@ offset_bottom = 67.0
[connection signal="pressed" from="CloseButton" to="." method="_on_close_requested"]
[connection signal="gui_input" from="DragRegion" to="." method="_on_drag_region_gui_input"]
[connection signal="gui_input" from="InventoryGrid/ItemSlot" to="InventoryGrid/ItemSlot" method="_on_gui_input"]
[connection signal="gui_input" from="InventoryGrid/ItemSlot/ItemSlot" to="InventoryGrid/ItemSlot/ItemSlot" method="_on_gui_input"]
[connection signal="gui_input" from="InventoryGrid/ItemSlot2" to="InventoryGrid/ItemSlot2" method="_on_gui_input"]
[connection signal="gui_input" from="InventoryGrid/ItemSlot3" to="InventoryGrid/ItemSlot3" method="_on_gui_input"]
[connection signal="gui_input" from="InventoryGrid/ItemSlot4" to="InventoryGrid/ItemSlot4" method="_on_gui_input"]

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=11 format=3 uid="uid://djhq68y24p5px"]
[gd_scene load_steps=14 format=3 uid="uid://djhq68y24p5px"]
[ext_resource type="Texture2D" uid="uid://biir7hjo6b4nl" path="res://graphics/adventurer-profile-pic.png" id="1_4aa5t"]
[ext_resource type="Texture2D" uid="uid://bldpiytpdrge6" path="res://graphics/icon.svg" id="1_h0ett"]
@@ -10,6 +10,21 @@
[ext_resource type="Texture2D" uid="uid://cjjtgrr56guj0" path="res://graphics/ui/item-slot.png" id="6_qu58s"]
[ext_resource type="FontFile" uid="uid://cju0vb3cw5qoj" path="res://fonts/Bagnard.otf" id="6_ye5k7"]
[ext_resource type="Texture2D" uid="uid://d1btg2hfnjx6r" path="res://graphics/ui/inventory-heading.png" id="7_ycvrv"]
[ext_resource type="Texture2D" uid="uid://b8i33rhb4mw40" path="res://external/xp.png" id="11_ye5k7"]
[ext_resource type="Shader" uid="uid://cuicvb6logcpd" path="res://shaders/item_shine.gdshader" id="12_fkivb"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_lfbrd"]
shader = ExtResource("12_fkivb")
shader_parameter/Line_Smoothness = 0.06400000304
shader_parameter/Line_Width = 0.20000000298023
shader_parameter/Brightness = 3.0
shader_parameter/Rotation_deg = 30.0
shader_parameter/Distortion = 1.8
shader_parameter/Speed = 0.6
shader_parameter/Position = 0.0
shader_parameter/Position_Min = 0.25
shader_parameter/Position_Max = 0.5
shader_parameter/Alpha = 0.8550000406125
[node name="Profile Window" type="Window"]
oversampling_override = 1.0
@@ -22,7 +37,6 @@ popup_window = true
script = ExtResource("1_ldy3k")
[node name="TextureRect" type="TextureRect" parent="."]
anchors_preset = -1
offset_right = 635.0
offset_bottom = 843.0
texture = ExtResource("1_sdlbe")
@@ -30,13 +44,13 @@ texture = ExtResource("1_sdlbe")
[node name="HSeparator" type="Control" parent="."]
custom_minimum_size = Vector2(0, 100)
layout_mode = 3
anchors_preset = 0
offset_left = 3.0
offset_top = 4.0
offset_right = 629.0
offset_bottom = 839.0
[node name="TextureRect2" type="TextureRect" parent="."]
anchors_preset = -1
offset_left = 3.0
offset_top = 4.0
offset_right = 629.0
@@ -46,7 +60,6 @@ offset_bottom = 839.0
self_modulate = Color(1, 1, 1, 0)
clip_contents = true
custom_minimum_size = Vector2(153, 153)
anchors_preset = -1
offset_left = 27.0
offset_top = 103.0
offset_right = 180.0
@@ -56,17 +69,17 @@ expand_mode = 1
[node name="Portrait" type="TextureRect" parent="PortraitFrame"]
unique_name_in_owner = true
texture_filter = 3
layout_mode = 0
offset_left = -49.0
offset_top = 7.0
offset_right = 79.0
offset_bottom = 135.0
offset_left = -2.0
offset_top = -11.0
offset_right = 80.0
offset_bottom = 71.0
scale = Vector2(2, 2)
texture = ExtResource("2_uhag7")
expand_mode = 1
[node name="NameLabel" type="Label" parent="."]
anchors_preset = -1
offset_left = 68.0
offset_top = 66.0
offset_right = 172.0
@@ -78,7 +91,6 @@ theme_override_font_sizes/font_size = 36
text = "Name"
[node name="ClassLabel" type="Label" parent="."]
anchors_preset = -1
offset_left = 198.0
offset_top = 126.0
offset_right = 282.0
@@ -89,7 +101,6 @@ theme_override_font_sizes/font_size = 24
text = "Class"
[node name="LevelLabel" type="Label" parent="."]
anchors_preset = -1
offset_left = 198.0
offset_top = 145.0
offset_right = 282.0
@@ -99,7 +110,6 @@ theme_override_font_sizes/font_size = 24
text = "Lv ##"
[node name="ExpLabel" type="Label" parent="."]
anchors_preset = -1
offset_left = 198.0
offset_top = 164.0
offset_right = 282.0
@@ -111,7 +121,6 @@ text = "Exp: ##/##"
[node name="LifeLabel" type="Label" parent="."]
custom_minimum_size = Vector2(100, 0)
anchors_preset = -1
offset_left = 26.0
offset_top = 273.0
offset_right = 652.0
@@ -120,7 +129,6 @@ theme_override_font_sizes/font_size = 24
text = "Life: ####/####"
[node name="EnergyLabel" type="Label" parent="."]
anchors_preset = -1
offset_left = 234.0
offset_top = 273.0
offset_right = 860.0
@@ -130,7 +138,6 @@ theme_override_font_sizes/font_size = 24
text = "Energy: ####/####"
[node name="STRLabel" type="Label" parent="."]
anchors_preset = -1
offset_left = 109.0
offset_top = 297.0
offset_right = 209.0
@@ -147,7 +154,6 @@ horizontal_alignment = 1
vertical_alignment = 2
[node name="INTLabel" type="Label" parent="."]
anchors_preset = -1
offset_left = 109.0
offset_top = 364.0
offset_right = 209.0
@@ -158,7 +164,6 @@ horizontal_alignment = 1
vertical_alignment = 2
[node name="DEXLabel" type="Label" parent="."]
anchors_preset = -1
offset_left = 110.0
offset_top = 333.0
offset_right = 210.0
@@ -169,7 +174,6 @@ horizontal_alignment = 1
vertical_alignment = 2
[node name="CHALabel" type="Label" parent="."]
anchors_preset = -1
offset_left = 253.0
offset_top = 302.0
offset_right = 353.0
@@ -180,7 +184,6 @@ horizontal_alignment = 1
vertical_alignment = 2
[node name="FAILabel" type="Label" parent="."]
anchors_preset = -1
offset_left = 253.0
offset_top = 333.0
offset_right = 353.0
@@ -191,7 +194,6 @@ horizontal_alignment = 1
vertical_alignment = 2
[node name="LUKLabel" type="Label" parent="."]
anchors_preset = -1
offset_left = 253.0
offset_top = 364.0
offset_right = 353.0
@@ -202,11 +204,10 @@ horizontal_alignment = 1
vertical_alignment = 2
[node name="HBoxContainer2" type="HBoxContainer" parent="."]
anchors_preset = -1
offset_left = 3.0
offset_top = 4.0
offset_right = 629.0
offset_bottom = 839.0
offset_left = -2.0
offset_top = 9.0
offset_right = 624.0
offset_bottom = 844.0
[node name="VBoxContainer" type="VBoxContainer" parent="HBoxContainer2"]
custom_minimum_size = Vector2(100, 0)
@@ -220,7 +221,6 @@ theme_override_constants/separation = -8
[node name="HBoxContainer3" type="HBoxContainer" parent="."]
visible = false
anchors_preset = -1
offset_left = 3.0
offset_top = 4.0
offset_right = 629.0
@@ -240,7 +240,6 @@ texture = ExtResource("1_4aa5t")
[node name="ConsumableList" type="HBoxContainer" parent="."]
visible = false
anchors_preset = -1
offset_left = 3.0
offset_top = 4.0
offset_right = 629.0
@@ -278,7 +277,6 @@ texture = ExtResource("1_4aa5t")
expand_mode = 1
[node name="TextureRect3" type="TextureRect" parent="."]
anchors_preset = -1
offset_left = -89.0
offset_top = 466.0
offset_right = 382.0
@@ -286,7 +284,6 @@ offset_bottom = 490.0
texture = ExtResource("5_ldy3k")
[node name="TextureRect5" type="NinePatchRect" parent="."]
anchors_preset = -1
offset_left = 13.0
offset_top = 524.0
offset_right = 238.0
@@ -298,7 +295,6 @@ patch_margin_right = 6
patch_margin_bottom = 6
[node name="GearGrid" type="GridContainer" parent="."]
anchors_preset = -1
offset_left = 241.0
offset_top = 526.0
offset_right = 462.0
@@ -317,7 +313,6 @@ layout_mode = 2
texture = ExtResource("6_qu58s")
[node name="TextureRect4" type="TextureRect" parent="."]
anchors_preset = -1
offset_left = 236.0
offset_top = 466.0
offset_right = 707.0
@@ -333,7 +328,6 @@ offset_right = 84.0
offset_bottom = 72.0
[node name="InventoryGrid" type="GridContainer" parent="."]
anchors_preset = -1
offset_left = 325.0
offset_top = 494.0
offset_right = 771.0
@@ -344,6 +338,24 @@ columns = 4
layout_mode = 2
texture = ExtResource("6_qu58s")
[node name="TextureRect" type="TextureRect" parent="InventoryGrid/TextureRect"]
clip_children = 2
texture_filter = 3
clip_contents = true
layout_mode = 0
offset_left = 3.0
offset_top = 3.0
offset_right = 67.0
offset_bottom = 67.0
texture = ExtResource("11_ye5k7")
expand_mode = 1
[node name="Shine" type="ColorRect" parent="InventoryGrid/TextureRect/TextureRect"]
material = SubResource("ShaderMaterial_lfbrd")
layout_mode = 0
offset_right = 64.0
offset_bottom = 64.0
[node name="TextureRect2" type="TextureRect" parent="InventoryGrid"]
layout_mode = 2
texture = ExtResource("6_qu58s")
@@ -414,7 +426,6 @@ texture = ExtResource("6_qu58s")
[node name="CloseButton" type="Button" parent="."]
modulate = Color(1, 1, 1, 0)
anchors_preset = -1
offset_left = 586.0
offset_top = 15.0
offset_right = 625.0
@@ -422,6 +433,7 @@ offset_bottom = 54.0
[node name="DragRegion" type="Control" parent="."]
layout_mode = 3
anchors_preset = 0
offset_left = 2.0
offset_top = 11.0
offset_right = 584.0