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

@@ -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