Using better plunk sound for grunk collection

This commit is contained in:
Rob Kelly 2025-08-18 18:11:44 -06:00
parent e25bede7f6
commit bbb8a1e231
12 changed files with 15 additions and 109 deletions

BIN
assets/sfx/tools/collect1.wav (Stored with Git LFS)

Binary file not shown.

View File

@ -1,24 +0,0 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://dxstv7gr5n2yg"
path="res://.godot/imported/collect1.wav-11646d00ef9f7f39c8a9fae841f61c4f.sample"
[deps]
source_file="res://assets/sfx/tools/collect1.wav"
dest_files=["res://.godot/imported/collect1.wav-11646d00ef9f7f39c8a9fae841f61c4f.sample"]
[params]
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=false
edit/normalize=false
edit/loop_mode=0
edit/loop_begin=0
edit/loop_end=-1
compress/mode=2

BIN
assets/sfx/tools/collect2.wav (Stored with Git LFS)

Binary file not shown.

View File

@ -1,24 +0,0 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://b4prjqpwjpv7p"
path="res://.godot/imported/collect2.wav-cf3cbf3e79a99d102ddf430dfdd5dce7.sample"
[deps]
source_file="res://assets/sfx/tools/collect2.wav"
dest_files=["res://.godot/imported/collect2.wav-cf3cbf3e79a99d102ddf430dfdd5dce7.sample"]
[params]
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=false
edit/normalize=false
edit/loop_mode=0
edit/loop_begin=0
edit/loop_end=-1
compress/mode=2

BIN
assets/sfx/tools/collect3.wav (Stored with Git LFS)

Binary file not shown.

BIN
assets/sfx/tools/collect4.wav (Stored with Git LFS)

Binary file not shown.

View File

@ -1,24 +0,0 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://bpx8hu288l8pe"
path="res://.godot/imported/collect4.wav-a71eb8ba5bdd639c52d02fa1a3726783.sample"
[deps]
source_file="res://assets/sfx/tools/collect4.wav"
dest_files=["res://.godot/imported/collect4.wav-a71eb8ba5bdd639c52d02fa1a3726783.sample"]
[params]
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=false
edit/normalize=false
edit/loop_mode=0
edit/loop_begin=0
edit/loop_end=-1
compress/mode=2

BIN
assets/sfx/tools/collect5.wav (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -2,13 +2,13 @@
importer="wav" importer="wav"
type="AudioStreamWAV" type="AudioStreamWAV"
uid="uid://cpkatef4t1pwx" uid="uid://cof6pg6yadsac"
path="res://.godot/imported/collect3.wav-7676f4d20a076c2b18b80ecc0b3ca293.sample" path="res://.godot/imported/collect5.wav-9560532de8bcb52b4f7fb8f0325d4125.sample"
[deps] [deps]
source_file="res://assets/sfx/tools/collect3.wav" source_file="res://assets/sfx/tools/collect5.wav"
dest_files=["res://.godot/imported/collect3.wav-7676f4d20a076c2b18b80ecc0b3ca293.sample"] dest_files=["res://.godot/imported/collect5.wav-9560532de8bcb52b4f7fb8f0325d4125.sample"]
[params] [params]

View File

@ -27,7 +27,6 @@ func on_grunk_collected(delta: float) -> void:
_counter = interval _counter = interval
var delay := randfn(delay_mean, delay_st_dev) var delay := randfn(delay_mean, delay_st_dev)
get_tree().create_timer(delay).timeout.connect(play) get_tree().create_timer(delay).timeout.connect(play)
print_debug("Playing collect sfx in: ", delay)
_counter -= delta _counter -= delta

View File

@ -1,22 +1,16 @@
[gd_scene load_steps=7 format=3 uid="uid://cbtmhu787diev"] [gd_scene load_steps=4 format=3 uid="uid://cbtmhu787diev"]
[ext_resource type="AudioStream" uid="uid://dxstv7gr5n2yg" path="res://assets/sfx/tools/collect1.wav" id="1_h705l"] [ext_resource type="AudioStream" uid="uid://cof6pg6yadsac" path="res://assets/sfx/tools/collect5.wav" id="1_y7it3"]
[ext_resource type="AudioStream" uid="uid://b4prjqpwjpv7p" path="res://assets/sfx/tools/collect2.wav" id="2_uq3q4"]
[ext_resource type="AudioStream" uid="uid://cpkatef4t1pwx" path="res://assets/sfx/tools/collect3.wav" id="3_h5hmg"]
[ext_resource type="AudioStream" uid="uid://bpx8hu288l8pe" path="res://assets/sfx/tools/collect4.wav" id="4_8ycea"]
[ext_resource type="Script" uid="uid://dwt66u7ua1to4" path="res://src/player/grunk_collection_sfx/grunk_collection_sfx.gd" id="5_ihwko"] [ext_resource type="Script" uid="uid://dwt66u7ua1to4" path="res://src/player/grunk_collection_sfx/grunk_collection_sfx.gd" id="5_ihwko"]
[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_bgxyk"] [sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_y7it3"]
random_pitch = 1.1 random_pitch = 1.2
streams_count = 4 streams_count = 1
stream_0/stream = ExtResource("1_h705l") stream_0/stream = ExtResource("1_y7it3")
stream_1/stream = ExtResource("2_uq3q4")
stream_2/stream = ExtResource("3_h5hmg")
stream_3/stream = ExtResource("4_8ycea")
[node name="GrunkCollectionSFX" type="AudioStreamPlayer"] [node name="GrunkCollectionSFX" type="AudioStreamPlayer"]
stream = SubResource("AudioStreamRandomizer_bgxyk") stream = SubResource("AudioStreamRandomizer_y7it3")
max_polyphony = 4 volume_db = -6.0
script = ExtResource("5_ihwko") script = ExtResource("5_ihwko")
[node name="Cooldown" type="Timer" parent="."] [node name="Cooldown" type="Timer" parent="."]

View File

@ -122,12 +122,6 @@
- retrieved from https://freesound.org/people/geodylabs/sounds/122810/ - retrieved from https://freesound.org/people/geodylabs/sounds/122810/
- assets/sfx/tools/spray.wav - assets/sfx/tools/spray.wav
- modified - modified
- "thumping_on_a_plastic_bottle.wav"
- author: joedeshon
- CC BY 4.0
- retrieved from https://freesound.org/people/joedeshon/sounds/635106/
- assets/sfx/tools/collect*.wav
- modified
- Fonts - Fonts
- Silkscreen - Silkscreen
- author: Jason Kottke - author: Jason Kottke