Implemented additional audio for mirror from Maggie; fixed shader flash

on damage from hitting glass shards.
This commit is contained in:
Henry 2026-02-28 16:11:13 +00:00
parent 78472ee95c
commit 004e1063b8
9 changed files with 69 additions and 4 deletions

View file

@ -2,6 +2,7 @@
[ext_resource type="Shader" uid="uid://x02irwg8ynvp" path="res://shaders/pixel_highlight.gdshader" id="1_d4l8f"]
[ext_resource type="Texture2D" uid="uid://cklakjbjislch" path="res://sprites/table.png" id="1_kcy6j"]
[ext_resource type="AudioStream" uid="uid://cs4pq5u144agp" path="res://sounds/MIRROR_SHATTER.wav" id="3_twce5"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_twce5"]
shader = ExtResource("1_d4l8f")
@ -25,3 +26,7 @@ hframes = 2
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=982140641]
shape = SubResource("RectangleShape2D_d4l8f")
[node name="MirrorShatter" type="AudioStreamPlayer2D" parent="." unique_id=1479442361]
stream = ExtResource("3_twce5")
volume_db = -13.178