rosella
This commit is contained in:
@@ -8,12 +8,12 @@ uniform sampler2D noise_texture ;
|
||||
|
||||
void vertex() {
|
||||
float time = TIME * sway_speed;
|
||||
|
||||
|
||||
// Sample the noise texture using the vertex position
|
||||
vec2 noise_uv = VERTEX.xy * 0.1;
|
||||
float noise_value = texture(noise_texture, noise_uv).r;
|
||||
float randomness = noise_value * randomness_factor;
|
||||
|
||||
|
||||
// Calculate the sway offset
|
||||
float sway_offset = sin(time + VERTEX.y * 0.1) * sway_magnitude + randomness * sway_magnitude;
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
[ext_resource type="Script" path="res://SetPiece_.gd" id="2_j681b"]
|
||||
[ext_resource type="Script" path="res://ScalePoint_.gd" id="3_eyrgf"]
|
||||
[ext_resource type="Texture2D" uid="uid://c7exa6b4icgrh" path="res://scenes/healers/dojo2.png" id="3_pfso2"]
|
||||
[ext_resource type="Texture2D" uid="uid://2ng30f6gxsop" path="res://ComfyUI_09976_.png" id="3_iy781"]
|
||||
[ext_resource type="Texture2D" uid="uid://cc32vj8gx56iv" path="res://scenes/healers/rocks.png" id="5_45r0t"]
|
||||
[ext_resource type="Texture2D" uid="uid://dow3uuwdk3r4g" path="res://scenes/healers/trimmed-anim/frame_00002_.png" id="5_c6ua8"]
|
||||
[ext_resource type="Texture2D" uid="uid://jyv82n5hrkh3" path="res://scenes/healers/trimmed-anim/frame_00001_.png" id="5_utnk2"]
|
||||
@@ -273,6 +273,7 @@ y_sort_enabled = true
|
||||
script = SubResource("GDScript_bel53")
|
||||
|
||||
[node name="SetPiece" type="Polygon2D" parent="." groups=["set-piece"]]
|
||||
visible = false
|
||||
position = Vector2(78, 6)
|
||||
color = Color(1, 1, 1, 0.25)
|
||||
polygon = PackedVector2Array(1469, 886, 1460, 1102, 1787, 1042, 1744, 843)
|
||||
@@ -285,16 +286,17 @@ position = Vector2(1635, 1005)
|
||||
[node name="StartScalePoint" type="Node2D" parent="."]
|
||||
position = Vector2(1476, 742)
|
||||
script = ExtResource("3_eyrgf")
|
||||
target_scale = 0.135
|
||||
target_scale = 0.4
|
||||
|
||||
[node name="EndScalePoint" type="Node2D" parent="."]
|
||||
position = Vector2(1408, 1097)
|
||||
scale = Vector2(3, 3)
|
||||
script = ExtResource("3_eyrgf")
|
||||
target_scale = 0.275
|
||||
target_scale = 0.5
|
||||
|
||||
[node name="bg" type="Sprite2D" parent="."]
|
||||
scale = Vector2(0.79, 0.79)
|
||||
texture = ExtResource("3_pfso2")
|
||||
scale = Vector2(0.49, 0.49)
|
||||
texture = ExtResource("3_iy781")
|
||||
centered = false
|
||||
metadata/_edit_lock_ = true
|
||||
|
||||
@@ -314,7 +316,8 @@ libraries = {
|
||||
}
|
||||
|
||||
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
||||
position = Vector2(998, 600)
|
||||
visible = false
|
||||
position = Vector2(1061, 606)
|
||||
scale = Vector2(1.58, 1.58)
|
||||
sprite_frames = SubResource("SpriteFrames_7un2n")
|
||||
autoplay = "default"
|
||||
@@ -383,6 +386,7 @@ position = Vector2(2007, 1047)
|
||||
position = Vector2(2226, 1075)
|
||||
|
||||
[node name="healer_interior" parent="." instance=ExtResource("17_wwn3l")]
|
||||
visible = false
|
||||
position = Vector2(78, 6)
|
||||
color = Color(1, 1, 1, 0.27451)
|
||||
polygon = PackedVector2Array(344, 556, 296, 818, 614, 885, 735, 751, 636, 561)
|
||||
@@ -400,6 +404,7 @@ position = Vector2(497, 818)
|
||||
scale = Vector2(0.79, 0.79)
|
||||
|
||||
[node name="Polygon2D" type="Polygon2D" parent="Node2D"]
|
||||
visible = false
|
||||
z_index = 2
|
||||
material = SubResource("ShaderMaterial_0gqaa")
|
||||
position = Vector2(1497.47, -11.3924)
|
||||
@@ -411,6 +416,7 @@ uv = PackedVector2Array(96.6714, 6.12245, 71.5013, 41.4966, 106.195, 66.6667, 12
|
||||
internal_vertex_count = 26
|
||||
|
||||
[node name="Polygon2D2" type="Polygon2D" parent="Node2D"]
|
||||
visible = false
|
||||
z_index = 2
|
||||
material = SubResource("ShaderMaterial_3pjdn")
|
||||
position = Vector2(1472.15, -5.06329)
|
||||
@@ -422,6 +428,7 @@ uv = PackedVector2Array(96.6714, 6.12245, 71.5013, 41.4966, 106.195, 66.6667, 12
|
||||
internal_vertex_count = 26
|
||||
|
||||
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="Node2D/Polygon2D2"]
|
||||
visible = false
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="Node2D/Polygon2D2"]
|
||||
libraries = {
|
||||
|
||||
Reference in New Issue
Block a user