mirror of
https://github.com/Steffo99/pineapple-surf.git
synced 2024-11-22 07:44:20 +00:00
Do not spatially localize the shoot sound
This commit is contained in:
parent
fb87d88ada
commit
0411e649aa
2 changed files with 2 additions and 3 deletions
|
@ -6,7 +6,7 @@ var last_fired := 0
|
||||||
var remaining := 10
|
var remaining := 10
|
||||||
|
|
||||||
@onready var ray = $RayCast3D
|
@onready var ray = $RayCast3D
|
||||||
@onready var audio_player := $AudioStreamPlayer3D
|
@onready var audio_player: AudioStreamPlayer = $ShootSound
|
||||||
# FIXME: use singleton class here as well
|
# FIXME: use singleton class here as well
|
||||||
@onready var croptiles_container: Node3D = get_tree().root.find_child("CropTiles", true, false)
|
@onready var croptiles_container: Node3D = get_tree().root.find_child("CropTiles", true, false)
|
||||||
var croptile = preload("res://island/CropTile.tscn")
|
var croptile = preload("res://island/CropTile.tscn")
|
||||||
|
|
|
@ -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)
|
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
|
visible = false
|
||||||
|
|
||||||
[node name="AudioStreamPlayer3D" type="AudioStreamPlayer3D" parent="."]
|
[node name="ShootSound" type="AudioStreamPlayer" parent="."]
|
||||||
stream = ExtResource("4_uhlty")
|
stream = ExtResource("4_uhlty")
|
||||||
volume_db = -7.517
|
|
||||||
max_polyphony = 10
|
max_polyphony = 10
|
||||||
|
|
||||||
[node name="model" parent="." instance=ExtResource("2_ra8vl")]
|
[node name="model" parent="." instance=ExtResource("2_ra8vl")]
|
||||||
|
|
Loading…
Reference in a new issue