summaryrefslogtreecommitdiff
path: root/arrow.tscn
diff options
context:
space:
mode:
Diffstat (limited to 'arrow.tscn')
-rw-r--r--arrow.tscn7
1 files changed, 6 insertions, 1 deletions
diff --git a/arrow.tscn b/arrow.tscn
index 16b4cd9..4b78cdb 100644
--- a/arrow.tscn
+++ b/arrow.tscn
@@ -1,8 +1,9 @@
-[gd_scene load_steps=6 format=3 uid="uid://dwmf4eu5xn0bc"]
+[gd_scene load_steps=7 format=3 uid="uid://dwmf4eu5xn0bc"]
[ext_resource type="Texture2D" uid="uid://dmksn3gk0ixjr" path="res://arrow.png" id="1_cagmk"]
[ext_resource type="Script" path="res://arrow.gd" id="1_cg6vj"]
[ext_resource type="Shader" path="res://arrow.gdshader" id="1_p0a20"]
+[ext_resource type="AudioStream" uid="uid://bi6rnsdwfyax5" path="res://bowshot.wav" id="4_kpay4"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_tt0m2"]
shader = ExtResource("1_p0a20")
@@ -21,3 +22,7 @@ texture = ExtResource("1_cagmk")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(27, 0)
shape = SubResource("RectangleShape2D_j0cyp")
+
+[node name="ShotSound" type="AudioStreamPlayer2D" parent="."]
+stream = ExtResource("4_kpay4")
+volume_db = 5.0