summaryrefslogtreecommitdiff
path: root/client/map/tiles/sink_bubbles.tscn
diff options
context:
space:
mode:
authornokoe <nokoe@mailbox.org>2024-06-29 14:47:54 +0200
committernokoe <nokoe@mailbox.org>2024-06-29 14:48:34 +0200
commitb0042dce860406431f2e486112b14987c665f6a8 (patch)
treec1af63a49ed4ddd179cb2236d3c81d676e76f497 /client/map/tiles/sink_bubbles.tscn
parent7df4af963c93e3bfc92f9e42b9e946186c1f89d2 (diff)
downloadhurrycurry-b0042dce860406431f2e486112b14987c665f6a8.tar
hurrycurry-b0042dce860406431f2e486112b14987c665f6a8.tar.bz2
hurrycurry-b0042dce860406431f2e486112b14987c665f6a8.tar.zst
sink effect
Diffstat (limited to 'client/map/tiles/sink_bubbles.tscn')
-rw-r--r--client/map/tiles/sink_bubbles.tscn56
1 files changed, 56 insertions, 0 deletions
diff --git a/client/map/tiles/sink_bubbles.tscn b/client/map/tiles/sink_bubbles.tscn
new file mode 100644
index 00000000..6e4487fa
--- /dev/null
+++ b/client/map/tiles/sink_bubbles.tscn
@@ -0,0 +1,56 @@
+[gd_scene load_steps=8 format=3 uid="uid://ckxtlgx7hg368"]
+
+[ext_resource type="Script" path="res://map/tiles/sink_bubbles.gd" id="1_xt81f"]
+
+[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_b8p5f"]
+vertex_color_use_as_albedo = true
+
+[sub_resource type="SphereMesh" id="SphereMesh_1r04j"]
+material = SubResource("StandardMaterial3D_b8p5f")
+radius = 0.025
+height = 0.05
+
+[sub_resource type="Gradient" id="Gradient_p7a7b"]
+offsets = PackedFloat32Array(0, 0.753333)
+colors = PackedColorArray(0.119726, 0.715743, 1, 1, 1, 1, 1, 1)
+
+[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_588v1"]
+vertex_color_use_as_albedo = true
+
+[sub_resource type="SphereMesh" id="SphereMesh_3wrov"]
+material = SubResource("StandardMaterial3D_588v1")
+radius = 0.05
+height = 0.1
+
+[sub_resource type="Curve" id="Curve_wu4je"]
+_data = [Vector2(0.264045, 0), 0.0, 0.0, 0, 0, Vector2(0.460674, 1), 0.0, 0.0, 0, 0, Vector2(0.949438, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
+point_count = 4
+
+[node name="SinkBubbles" type="Node3D"]
+script = ExtResource("1_xt81f")
+
+[node name="Stream" type="CPUParticles3D" parent="."]
+transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.75, -0.05)
+emitting = false
+amount = 10
+lifetime = 0.2
+mesh = SubResource("SphereMesh_1r04j")
+direction = Vector3(0, -1, 0)
+spread = 10.0
+initial_velocity_min = 0.1
+initial_velocity_max = 0.3
+color_ramp = SubResource("Gradient_p7a7b")
+
+[node name="Bubbles" type="CPUParticles3D" parent="."]
+transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.55, 0)
+emitting = false
+amount = 30
+mesh = SubResource("SphereMesh_3wrov")
+direction = Vector3(0, 1, 0)
+spread = 90.0
+gravity = Vector3(0, -0.2, 0)
+initial_velocity_min = 0.1
+initial_velocity_max = 0.3
+scale_amount_min = 0.0
+scale_amount_max = 1.5
+scale_amount_curve = SubResource("Curve_wu4je")