aboutsummaryrefslogtreecommitdiff
path: root/client/player/particles/checkmark/checkmark.tscn
diff options
context:
space:
mode:
authortpart <tpart120@proton.me>2025-09-19 19:53:25 +0200
committertpart <tpart120@proton.me>2025-09-19 19:53:25 +0200
commite2335e907c45f84462ee6fabe2828cf38e494b51 (patch)
tree1154a1e95e25e40ed3ac50d6fd36884dfdb66c0e /client/player/particles/checkmark/checkmark.tscn
parent9c636b231b432976d9d7c3044f9e488f0f7cedf3 (diff)
downloadhurrycurry-e2335e907c45f84462ee6fabe2828cf38e494b51.tar
hurrycurry-e2335e907c45f84462ee6fabe2828cf38e494b51.tar.bz2
hurrycurry-e2335e907c45f84462ee6fabe2828cf38e494b51.tar.zst
Add checkmark (Closes #392), Refactor ding sound system to make it more consistent
Diffstat (limited to 'client/player/particles/checkmark/checkmark.tscn')
-rw-r--r--client/player/particles/checkmark/checkmark.tscn44
1 files changed, 44 insertions, 0 deletions
diff --git a/client/player/particles/checkmark/checkmark.tscn b/client/player/particles/checkmark/checkmark.tscn
new file mode 100644
index 00000000..c2fbf6b7
--- /dev/null
+++ b/client/player/particles/checkmark/checkmark.tscn
@@ -0,0 +1,44 @@
+[gd_scene load_steps=7 format=3 uid="uid://bdbw8whs3data"]
+
+[ext_resource type="Texture2D" uid="uid://c10wjga8ni7eq" path="res://player/particles/checkmark/checkmark.svg" id="1_co83x"]
+[ext_resource type="Script" uid="uid://bj1h0r3qvy6vm" path="res://player/particles/checkmark/checkmark.gd" id="2_ru6ov"]
+
+[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ru6ov"]
+transparency = 1
+no_depth_test = true
+shading_mode = 0
+vertex_color_use_as_albedo = true
+albedo_texture = ExtResource("1_co83x")
+billboard_mode = 2
+billboard_keep_scale = true
+
+[sub_resource type="QuadMesh" id="QuadMesh_4d8iq"]
+material = SubResource("StandardMaterial3D_ru6ov")
+
+[sub_resource type="Curve" id="Curve_co83x"]
+_data = [Vector2(0, 0), 0.0, 0.0, 0, 0, Vector2(0.49781358, 1), 0.0, 0.0, 0, 0, Vector2(0.9931608, 1), 0.0, 0.0, 0, 0]
+point_count = 3
+
+[sub_resource type="Gradient" id="Gradient_gh7p3"]
+offsets = PackedFloat32Array(0, 0.26672226, 0.4904026, 1)
+colors = PackedColorArray(1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0)
+
+[node name="Checkmark" type="CPUParticles3D"]
+emitting = false
+amount = 1
+one_shot = true
+explosiveness = 1.0
+mesh = SubResource("QuadMesh_4d8iq")
+direction = Vector3(0, 1, 0)
+spread = 0.0
+gravity = Vector3(0, 0, 0)
+initial_velocity_min = 1.0
+initial_velocity_max = 1.0
+scale_amount_min = 0.5
+scale_amount_max = 0.5
+scale_amount_curve = SubResource("Curve_co83x")
+color = Color(0, 1, 0, 1)
+color_ramp = SubResource("Gradient_gh7p3")
+script = ExtResource("2_ru6ov")
+
+[connection signal="finished" from="." to="." method="_on_finished"]