1
Fork 0
mirror of https://github.com/Steffo99/pineapple-surf.git synced 2024-11-21 23:34:21 +00:00

Do not spatially localize the shoot sound

This commit is contained in:
Steffo 2023-01-08 20:22:56 +01:00
parent fb87d88ada
commit 0411e649aa
Signed by: steffo
GPG key ID: 6965406171929D01
2 changed files with 2 additions and 3 deletions

View file

@ -6,7 +6,7 @@ var last_fired := 0
var remaining := 10
@onready var ray = $RayCast3D
@onready var audio_player := $AudioStreamPlayer3D
@onready var audio_player: AudioStreamPlayer = $ShootSound
# FIXME: use singleton class here as well
@onready var croptiles_container: Node3D = get_tree().root.find_child("CropTiles", true, false)
var croptile = preload("res://island/CropTile.tscn")

View file

@ -17,9 +17,8 @@ collide_with_areas = true
transform = Transform3D(-0.5, 0, -7.54979e-08, 0, 0.5, 0, 7.54979e-08, 0, -0.5, 0.6, -0.8, 0.5)
visible = false
[node name="AudioStreamPlayer3D" type="AudioStreamPlayer3D" parent="."]
[node name="ShootSound" type="AudioStreamPlayer" parent="."]
stream = ExtResource("4_uhlty")
volume_db = -7.517
max_polyphony = 10
[node name="model" parent="." instance=ExtResource("2_ra8vl")]