Compare commits

...

3 Commits

Author SHA1 Message Date
2163d52aa6 Tool SFX adjustments
Some checks failed
linting & formatting / build (push) Failing after 24s
2025-08-15 16:38:07 -06:00
9fd0b76da5 Tool sounds 2025-08-15 16:17:05 -06:00
c06925b937 Global UI sounds 2025-08-15 15:51:11 -06:00
27 changed files with 291 additions and 54 deletions

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

Binary file not shown.

View File

@ -0,0 +1,24 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://bmj7v5freut2j"
path="res://.godot/imported/tool_bonk_v0.wav-662ee3c75b5255488cc0ca3fc9cbf29f.sample"
[deps]
source_file="res://assets/sfx/tools/tool_bonk_v0.wav"
dest_files=["res://.godot/imported/tool_bonk_v0.wav-662ee3c75b5255488cc0ca3fc9cbf29f.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/tool_switch_v0.wav (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,24 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://c01y7jauf4spn"
path="res://.godot/imported/tool_switch_v0.wav-09e36ef08e2a53d30eec9aecb7cf6679.sample"
[deps]
source_file="res://assets/sfx/tools/tool_switch_v0.wav"
dest_files=["res://.godot/imported/tool_switch_v0.wav-09e36ef08e2a53d30eec9aecb7cf6679.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/ui/ui_bonk_v0.wav (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,24 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://b8l5atgau0qpb"
path="res://.godot/imported/ui_bonk_v0.wav-fa906781801c909c756b2754892ab852.sample"
[deps]
source_file="res://assets/sfx/ui/ui_bonk_v0.wav"
dest_files=["res://.godot/imported/ui_bonk_v0.wav-fa906781801c909c756b2754892ab852.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/ui/ui_cancel_v0.wav (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,24 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://qua4yq6ceeax"
path="res://.godot/imported/ui_cancel_v0.wav-170eebd5b4f2bdde570cb0d1c9d62bb6.sample"
[deps]
source_file="res://assets/sfx/ui/ui_cancel_v0.wav"
dest_files=["res://.godot/imported/ui_cancel_v0.wav-170eebd5b4f2bdde570cb0d1c9d62bb6.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/ui/ui_confirm_v0.wav (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,24 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://cfj1o2mt8pc8e"
path="res://.godot/imported/ui_confirm_v0.wav-fe2ea1c80e92f57a670b33aa5ace2b7c.sample"
[deps]
source_file="res://assets/sfx/ui/ui_confirm_v0.wav"
dest_files=["res://.godot/imported/ui_confirm_v0.wav-fe2ea1c80e92f57a670b33aa5ace2b7c.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

View File

@ -96,7 +96,7 @@ size = Vector3(0.8, 1, 1.5)
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_dwjsf"]
data = PackedVector3Array(-0.4, 0.5, 0.75, 0.4, 0.5, 0.75, -0.4, -0.5, 0.75, 0.4, 0.5, 0.75, 0.4, -0.5, 0.75, -0.4, -0.5, 0.75, 0.4, 0.5, -0.75, -0.4, 0.5, -0.75, 0.4, -0.5, -0.75, -0.4, 0.5, -0.75, -0.4, -0.5, -0.75, 0.4, -0.5, -0.75, 0.4, 0.5, 0.75, 0.4, 0.5, -0.75, 0.4, -0.5, 0.75, 0.4, 0.5, -0.75, 0.4, -0.5, -0.75, 0.4, -0.5, 0.75, -0.4, 0.5, -0.75, -0.4, 0.5, 0.75, -0.4, -0.5, -0.75, -0.4, 0.5, 0.75, -0.4, -0.5, 0.75, -0.4, -0.5, -0.75, 0.4, 0.5, 0.75, -0.4, 0.5, 0.75, 0.4, 0.5, -0.75, -0.4, 0.5, 0.75, -0.4, 0.5, -0.75, 0.4, 0.5, -0.75, -0.4, -0.5, 0.75, 0.4, -0.5, 0.75, -0.4, -0.5, -0.75, 0.4, -0.5, 0.75, 0.4, -0.5, -0.75, -0.4, -0.5, -0.75)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_yvs0w"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_jnjru"]
resource_local_to_scene = true
albedo_texture = ExtResource("13_glbip")
metallic = 1.0
@ -122,7 +122,7 @@ _surfaces = [{
}]
blend_shape_mode = 0
[sub_resource type="ArrayMesh" id="ArrayMesh_jnjru"]
[sub_resource type="ArrayMesh" id="ArrayMesh_bnexv"]
resource_local_to_scene = true
_surfaces = [{
"aabb": AABB(-0.375, -0.25, -0.75, 0.75, 0.5, 1.5),
@ -131,7 +131,7 @@ _surfaces = [{
"index_count": 84,
"index_data": PackedByteArray("FgANAAwADAANABcAFwANAA4ADgANABgAGAANAA8ADwANABkAGgAHAAIAAgAHABsAEAABABEAEQABABwAHQAAAAYABgAAAAMACQAUAAgACAAUABUAFQAUAAoACgAUAB4AHgAUAAsACwAUAB8AIAATAAUABQATAAQAIQAiACMAIwAiACQAJQASACYAJgASACcAKAApACoAKgApACsALAAtAC4ALgAtAC8A"),
"lods": [0.108952, PackedByteArray("DAANAA4ADgANAA8AEAABABEAEAARAAYAEQAAAAYABgAAAAMAEQABAAIAAgABAAcABwASAAIABwATABIAEgATAAUABQATAAQACQAUAAgACAAUABUAFQAUAAoACgAUAAsA"), 0.261829, PackedByteArray("AAABAAIAAQAAAAYABgAAAAMAAgABAAcABwAEAAIAAgAEAAUACAAJAAoACgAJAAsA"), 0.524037, PackedByteArray("AAABAAIAAQAAAAMAAgABAAQAAgAEAAUA")],
"material": SubResource("StandardMaterial3D_yvs0w"),
"material": SubResource("StandardMaterial3D_jnjru"),
"name": "Cube",
"primitive": 3,
"uv_scale": Vector4(0, 0, 0, 0),
@ -141,7 +141,7 @@ _surfaces = [{
blend_shape_mode = 0
shadow_mesh = SubResource("ArrayMesh_u2hqf")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_bnexv"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_p5an5"]
resource_local_to_scene = true
albedo_texture = ExtResource("13_glbip")
metallic = 1.0
@ -152,7 +152,7 @@ normal_texture = ExtResource("15_h56f5")
ao_enabled = true
texture_filter = 2
[sub_resource type="ArrayMesh" id="ArrayMesh_p5an5"]
[sub_resource type="ArrayMesh" id="ArrayMesh_1syyw"]
resource_local_to_scene = true
_surfaces = [{
"aabb": AABB(-0.375, -0.25, -0.75, 0.75, 0.5, 1.5),
@ -161,7 +161,7 @@ _surfaces = [{
"index_count": 84,
"index_data": PackedByteArray("FgANAAwADAANABcAFwANAA4ADgANABgAGAANAA8ADwANABkAGgAHAAIAAgAHABsAEAABABEAEQABABwAHQAAAAYABgAAAAMACQAUAAgACAAUABUAFQAUAAoACgAUAB4AHgAUAAsACwAUAB8AIAATAAUABQATAAQAIQAiACMAIwAiACQAJQASACYAJgASACcAKAApACoAKgApACsALAAtAC4ALgAtAC8A"),
"lods": [0.108952, PackedByteArray("DAANAA4ADgANAA8AEAABABEAEAARAAYAEQAAAAYABgAAAAMAEQABAAIAAgABAAcABwASAAIABwATABIAEgATAAUABQATAAQACQAUAAgACAAUABUAFQAUAAoACgAUAAsA"), 0.261829, PackedByteArray("AAABAAIAAQAAAAYABgAAAAMAAgABAAcABwAEAAIAAgAEAAUACAAJAAoACgAJAAsA"), 0.524037, PackedByteArray("AAABAAIAAQAAAAMAAgABAAQAAgAEAAUA")],
"material": SubResource("StandardMaterial3D_bnexv"),
"material": SubResource("StandardMaterial3D_p5an5"),
"name": "Cube",
"primitive": 3,
"uv_scale": Vector4(0, 0, 0, 0),
@ -171,7 +171,7 @@ _surfaces = [{
blend_shape_mode = 0
shadow_mesh = SubResource("ArrayMesh_u2hqf")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_1syyw"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_loej8"]
resource_local_to_scene = true
albedo_texture = ExtResource("13_glbip")
metallic = 1.0
@ -182,7 +182,7 @@ normal_texture = ExtResource("15_h56f5")
ao_enabled = true
texture_filter = 2
[sub_resource type="ArrayMesh" id="ArrayMesh_loej8"]
[sub_resource type="ArrayMesh" id="ArrayMesh_5abrm"]
resource_local_to_scene = true
_surfaces = [{
"aabb": AABB(-0.375, -0.25, -0.75, 0.75, 0.5, 1.5),
@ -191,7 +191,7 @@ _surfaces = [{
"index_count": 84,
"index_data": PackedByteArray("FgANAAwADAANABcAFwANAA4ADgANABgAGAANAA8ADwANABkAGgAHAAIAAgAHABsAEAABABEAEQABABwAHQAAAAYABgAAAAMACQAUAAgACAAUABUAFQAUAAoACgAUAB4AHgAUAAsACwAUAB8AIAATAAUABQATAAQAIQAiACMAIwAiACQAJQASACYAJgASACcAKAApACoAKgApACsALAAtAC4ALgAtAC8A"),
"lods": [0.108952, PackedByteArray("DAANAA4ADgANAA8AEAABABEAEAARAAYAEQAAAAYABgAAAAMAEQABAAIAAgABAAcABwASAAIABwATABIAEgATAAUABQATAAQACQAUAAgACAAUABUAFQAUAAoACgAUAAsA"), 0.261829, PackedByteArray("AAABAAIAAQAAAAYABgAAAAMAAgABAAcABwAEAAIAAgAEAAUACAAJAAoACgAJAAsA"), 0.524037, PackedByteArray("AAABAAIAAQAAAAMAAgABAAQAAgAEAAUA")],
"material": SubResource("StandardMaterial3D_1syyw"),
"material": SubResource("StandardMaterial3D_loej8"),
"name": "Cube",
"primitive": 3,
"uv_scale": Vector4(0, 0, 0, 0),
@ -201,7 +201,7 @@ _surfaces = [{
blend_shape_mode = 0
shadow_mesh = SubResource("ArrayMesh_u2hqf")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_5abrm"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_t0ymk"]
resource_local_to_scene = true
albedo_texture = ExtResource("13_glbip")
metallic = 1.0
@ -212,7 +212,7 @@ normal_texture = ExtResource("15_h56f5")
ao_enabled = true
texture_filter = 2
[sub_resource type="ArrayMesh" id="ArrayMesh_t0ymk"]
[sub_resource type="ArrayMesh" id="ArrayMesh_glbip"]
resource_local_to_scene = true
_surfaces = [{
"aabb": AABB(-0.375, -0.25, -0.75, 0.75, 0.5, 1.5),
@ -221,7 +221,7 @@ _surfaces = [{
"index_count": 84,
"index_data": PackedByteArray("FgANAAwADAANABcAFwANAA4ADgANABgAGAANAA8ADwANABkAGgAHAAIAAgAHABsAEAABABEAEQABABwAHQAAAAYABgAAAAMACQAUAAgACAAUABUAFQAUAAoACgAUAB4AHgAUAAsACwAUAB8AIAATAAUABQATAAQAIQAiACMAIwAiACQAJQASACYAJgASACcAKAApACoAKgApACsALAAtAC4ALgAtAC8A"),
"lods": [0.108952, PackedByteArray("DAANAA4ADgANAA8AEAABABEAEAARAAYAEQAAAAYABgAAAAMAEQABAAIAAgABAAcABwASAAIABwATABIAEgATAAUABQATAAQACQAUAAgACAAUABUAFQAUAAoACgAUAAsA"), 0.261829, PackedByteArray("AAABAAIAAQAAAAYABgAAAAMAAgABAAcABwAEAAIAAgAEAAUACAAJAAoACgAJAAsA"), 0.524037, PackedByteArray("AAABAAIAAQAAAAMAAgABAAQAAgAEAAUA")],
"material": SubResource("StandardMaterial3D_5abrm"),
"material": SubResource("StandardMaterial3D_t0ymk"),
"name": "Cube",
"primitive": 3,
"uv_scale": Vector4(0, 0, 0, 0),
@ -231,7 +231,7 @@ _surfaces = [{
blend_shape_mode = 0
shadow_mesh = SubResource("ArrayMesh_u2hqf")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_glbip"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_nqwfe"]
resource_local_to_scene = true
albedo_texture = ExtResource("13_glbip")
metallic = 1.0
@ -242,7 +242,7 @@ normal_texture = ExtResource("15_h56f5")
ao_enabled = true
texture_filter = 2
[sub_resource type="ArrayMesh" id="ArrayMesh_nqwfe"]
[sub_resource type="ArrayMesh" id="ArrayMesh_h56f5"]
resource_local_to_scene = true
_surfaces = [{
"aabb": AABB(-0.375, -0.25, -0.75, 0.75, 0.5, 1.5),
@ -251,7 +251,7 @@ _surfaces = [{
"index_count": 84,
"index_data": PackedByteArray("FgANAAwADAANABcAFwANAA4ADgANABgAGAANAA8ADwANABkAGgAHAAIAAgAHABsAEAABABEAEQABABwAHQAAAAYABgAAAAMACQAUAAgACAAUABUAFQAUAAoACgAUAB4AHgAUAAsACwAUAB8AIAATAAUABQATAAQAIQAiACMAIwAiACQAJQASACYAJgASACcAKAApACoAKgApACsALAAtAC4ALgAtAC8A"),
"lods": [0.108952, PackedByteArray("DAANAA4ADgANAA8AEAABABEAEAARAAYAEQAAAAYABgAAAAMAEQABAAIAAgABAAcABwASAAIABwATABIAEgATAAUABQATAAQACQAUAAgACAAUABUAFQAUAAoACgAUAAsA"), 0.261829, PackedByteArray("AAABAAIAAQAAAAYABgAAAAMAAgABAAcABwAEAAIAAgAEAAUACAAJAAoACgAJAAsA"), 0.524037, PackedByteArray("AAABAAIAAQAAAAMAAgABAAQAAgAEAAUA")],
"material": SubResource("StandardMaterial3D_glbip"),
"material": SubResource("StandardMaterial3D_nqwfe"),
"name": "Cube",
"primitive": 3,
"uv_scale": Vector4(0, 0, 0, 0),
@ -261,7 +261,7 @@ _surfaces = [{
blend_shape_mode = 0
shadow_mesh = SubResource("ArrayMesh_u2hqf")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_h56f5"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_gem8k"]
resource_local_to_scene = true
albedo_texture = ExtResource("13_glbip")
metallic = 1.0
@ -272,7 +272,7 @@ normal_texture = ExtResource("15_h56f5")
ao_enabled = true
texture_filter = 2
[sub_resource type="ArrayMesh" id="ArrayMesh_gem8k"]
[sub_resource type="ArrayMesh" id="ArrayMesh_wr3ux"]
resource_local_to_scene = true
_surfaces = [{
"aabb": AABB(-0.375, -0.25, -0.75, 0.75, 0.5, 1.5),
@ -281,7 +281,7 @@ _surfaces = [{
"index_count": 84,
"index_data": PackedByteArray("FgANAAwADAANABcAFwANAA4ADgANABgAGAANAA8ADwANABkAGgAHAAIAAgAHABsAEAABABEAEQABABwAHQAAAAYABgAAAAMACQAUAAgACAAUABUAFQAUAAoACgAUAB4AHgAUAAsACwAUAB8AIAATAAUABQATAAQAIQAiACMAIwAiACQAJQASACYAJgASACcAKAApACoAKgApACsALAAtAC4ALgAtAC8A"),
"lods": [0.108952, PackedByteArray("DAANAA4ADgANAA8AEAABABEAEAARAAYAEQAAAAYABgAAAAMAEQABAAIAAgABAAcABwASAAIABwATABIAEgATAAUABQATAAQACQAUAAgACAAUABUAFQAUAAoACgAUAAsA"), 0.261829, PackedByteArray("AAABAAIAAQAAAAYABgAAAAMAAgABAAcABwAEAAIAAgAEAAUACAAJAAoACgAJAAsA"), 0.524037, PackedByteArray("AAABAAIAAQAAAAMAAgABAAQAAgAEAAUA")],
"material": SubResource("StandardMaterial3D_h56f5"),
"material": SubResource("StandardMaterial3D_gem8k"),
"name": "Cube",
"primitive": 3,
"uv_scale": Vector4(0, 0, 0, 0),
@ -291,7 +291,7 @@ _surfaces = [{
blend_shape_mode = 0
shadow_mesh = SubResource("ArrayMesh_u2hqf")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_wr3ux"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_a7woh"]
resource_local_to_scene = true
albedo_texture = ExtResource("13_glbip")
metallic = 1.0
@ -302,7 +302,7 @@ normal_texture = ExtResource("15_h56f5")
ao_enabled = true
texture_filter = 2
[sub_resource type="ArrayMesh" id="ArrayMesh_a7woh"]
[sub_resource type="ArrayMesh" id="ArrayMesh_l1qst"]
resource_local_to_scene = true
_surfaces = [{
"aabb": AABB(-0.375, -0.25, -0.75, 0.75, 0.5, 1.5),
@ -311,7 +311,7 @@ _surfaces = [{
"index_count": 84,
"index_data": PackedByteArray("FgANAAwADAANABcAFwANAA4ADgANABgAGAANAA8ADwANABkAGgAHAAIAAgAHABsAEAABABEAEQABABwAHQAAAAYABgAAAAMACQAUAAgACAAUABUAFQAUAAoACgAUAB4AHgAUAAsACwAUAB8AIAATAAUABQATAAQAIQAiACMAIwAiACQAJQASACYAJgASACcAKAApACoAKgApACsALAAtAC4ALgAtAC8A"),
"lods": [0.108952, PackedByteArray("DAANAA4ADgANAA8AEAABABEAEAARAAYAEQAAAAYABgAAAAMAEQABAAIAAgABAAcABwASAAIABwATABIAEgATAAUABQATAAQACQAUAAgACAAUABUAFQAUAAoACgAUAAsA"), 0.261829, PackedByteArray("AAABAAIAAQAAAAYABgAAAAMAAgABAAcABwAEAAIAAgAEAAUACAAJAAoACgAJAAsA"), 0.524037, PackedByteArray("AAABAAIAAQAAAAMAAgABAAQAAgAEAAUA")],
"material": SubResource("StandardMaterial3D_wr3ux"),
"material": SubResource("StandardMaterial3D_a7woh"),
"name": "Cube",
"primitive": 3,
"uv_scale": Vector4(0, 0, 0, 0),
@ -321,7 +321,7 @@ _surfaces = [{
blend_shape_mode = 0
shadow_mesh = SubResource("ArrayMesh_u2hqf")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_l1qst"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_8ifew"]
resource_local_to_scene = true
albedo_texture = ExtResource("13_glbip")
metallic = 1.0
@ -332,7 +332,7 @@ normal_texture = ExtResource("15_h56f5")
ao_enabled = true
texture_filter = 2
[sub_resource type="ArrayMesh" id="ArrayMesh_8ifew"]
[sub_resource type="ArrayMesh" id="ArrayMesh_klyoq"]
resource_local_to_scene = true
_surfaces = [{
"aabb": AABB(-0.375, -0.25, -0.75, 0.75, 0.5, 1.5),
@ -341,7 +341,7 @@ _surfaces = [{
"index_count": 84,
"index_data": PackedByteArray("FgANAAwADAANABcAFwANAA4ADgANABgAGAANAA8ADwANABkAGgAHAAIAAgAHABsAEAABABEAEQABABwAHQAAAAYABgAAAAMACQAUAAgACAAUABUAFQAUAAoACgAUAB4AHgAUAAsACwAUAB8AIAATAAUABQATAAQAIQAiACMAIwAiACQAJQASACYAJgASACcAKAApACoAKgApACsALAAtAC4ALgAtAC8A"),
"lods": [0.108952, PackedByteArray("DAANAA4ADgANAA8AEAABABEAEAARAAYAEQAAAAYABgAAAAMAEQABAAIAAgABAAcABwASAAIABwATABIAEgATAAUABQATAAQACQAUAAgACAAUABUAFQAUAAoACgAUAAsA"), 0.261829, PackedByteArray("AAABAAIAAQAAAAYABgAAAAMAAgABAAcABwAEAAIAAgAEAAUACAAJAAoACgAJAAsA"), 0.524037, PackedByteArray("AAABAAIAAQAAAAMAAgABAAQAAgAEAAUA")],
"material": SubResource("StandardMaterial3D_l1qst"),
"material": SubResource("StandardMaterial3D_8ifew"),
"name": "Cube",
"primitive": 3,
"uv_scale": Vector4(0, 0, 0, 0),
@ -351,7 +351,7 @@ _surfaces = [{
blend_shape_mode = 0
shadow_mesh = SubResource("ArrayMesh_u2hqf")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_klyoq"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_jmnef"]
resource_local_to_scene = true
albedo_texture = ExtResource("13_glbip")
metallic = 1.0
@ -362,7 +362,7 @@ normal_texture = ExtResource("15_h56f5")
ao_enabled = true
texture_filter = 2
[sub_resource type="ArrayMesh" id="ArrayMesh_jmnef"]
[sub_resource type="ArrayMesh" id="ArrayMesh_7ip0j"]
resource_local_to_scene = true
_surfaces = [{
"aabb": AABB(-0.375, -0.25, -0.75, 0.75, 0.5, 1.5),
@ -371,7 +371,7 @@ _surfaces = [{
"index_count": 84,
"index_data": PackedByteArray("FgANAAwADAANABcAFwANAA4ADgANABgAGAANAA8ADwANABkAGgAHAAIAAgAHABsAEAABABEAEQABABwAHQAAAAYABgAAAAMACQAUAAgACAAUABUAFQAUAAoACgAUAB4AHgAUAAsACwAUAB8AIAATAAUABQATAAQAIQAiACMAIwAiACQAJQASACYAJgASACcAKAApACoAKgApACsALAAtAC4ALgAtAC8A"),
"lods": [0.108952, PackedByteArray("DAANAA4ADgANAA8AEAABABEAEAARAAYAEQAAAAYABgAAAAMAEQABAAIAAgABAAcABwASAAIABwATABIAEgATAAUABQATAAQACQAUAAgACAAUABUAFQAUAAoACgAUAAsA"), 0.261829, PackedByteArray("AAABAAIAAQAAAAYABgAAAAMAAgABAAcABwAEAAIAAgAEAAUACAAJAAoACgAJAAsA"), 0.524037, PackedByteArray("AAABAAIAAQAAAAMAAgABAAQAAgAEAAUA")],
"material": SubResource("StandardMaterial3D_klyoq"),
"material": SubResource("StandardMaterial3D_jmnef"),
"name": "Cube",
"primitive": 3,
"uv_scale": Vector4(0, 0, 0, 0),
@ -381,7 +381,7 @@ _surfaces = [{
blend_shape_mode = 0
shadow_mesh = SubResource("ArrayMesh_u2hqf")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_7ip0j"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_w6w82"]
resource_local_to_scene = true
albedo_texture = ExtResource("13_glbip")
metallic = 1.0
@ -392,7 +392,7 @@ normal_texture = ExtResource("15_h56f5")
ao_enabled = true
texture_filter = 2
[sub_resource type="ArrayMesh" id="ArrayMesh_w6w82"]
[sub_resource type="ArrayMesh" id="ArrayMesh_eorl6"]
resource_local_to_scene = true
_surfaces = [{
"aabb": AABB(-0.375, -0.25, -0.75, 0.75, 0.5, 1.5),
@ -401,7 +401,7 @@ _surfaces = [{
"index_count": 84,
"index_data": PackedByteArray("FgANAAwADAANABcAFwANAA4ADgANABgAGAANAA8ADwANABkAGgAHAAIAAgAHABsAEAABABEAEQABABwAHQAAAAYABgAAAAMACQAUAAgACAAUABUAFQAUAAoACgAUAB4AHgAUAAsACwAUAB8AIAATAAUABQATAAQAIQAiACMAIwAiACQAJQASACYAJgASACcAKAApACoAKgApACsALAAtAC4ALgAtAC8A"),
"lods": [0.108952, PackedByteArray("DAANAA4ADgANAA8AEAABABEAEAARAAYAEQAAAAYABgAAAAMAEQABAAIAAgABAAcABwASAAIABwATABIAEgATAAUABQATAAQACQAUAAgACAAUABUAFQAUAAoACgAUAAsA"), 0.261829, PackedByteArray("AAABAAIAAQAAAAYABgAAAAMAAgABAAcABwAEAAIAAgAEAAUACAAJAAoACgAJAAsA"), 0.524037, PackedByteArray("AAABAAIAAQAAAAMAAgABAAQAAgAEAAUA")],
"material": SubResource("StandardMaterial3D_7ip0j"),
"material": SubResource("StandardMaterial3D_w6w82"),
"name": "Cube",
"primitive": 3,
"uv_scale": Vector4(0, 0, 0, 0),
@ -1339,7 +1339,7 @@ skeleton = NodePath("")
[node name="CrateLong" parent="Props" instance=ExtResource("12_t0ymk")]
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -0.749907, 0.25, 4.05009)
mesh = SubResource("ArrayMesh_jnjru")
mesh = SubResource("ArrayMesh_bnexv")
[node name="PhysCrateLong" parent="Props" instance=ExtResource("19_yvs0w")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4, 0.25, -3.6)
@ -1347,39 +1347,39 @@ sleeping = true
[node name="CrateLong2" parent="Props" instance=ExtResource("12_t0ymk")]
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -0.749907, 0.75, 4.05009)
mesh = SubResource("ArrayMesh_p5an5")
mesh = SubResource("ArrayMesh_1syyw")
[node name="CrateLong3" parent="Props" instance=ExtResource("12_t0ymk")]
transform = Transform3D(-4.37114e-08, 0.707107, -0.707107, 0, 0.707107, 0.707107, 1, 3.09086e-08, -3.09086e-08, 0.599813, 0.75, 4.05009)
mesh = SubResource("ArrayMesh_loej8")
mesh = SubResource("ArrayMesh_5abrm")
[node name="CrateLong5" parent="Props" instance=ExtResource("12_t0ymk")]
transform = Transform3D(1, 0, -7.45058e-08, 0, 1, 0, 7.45058e-08, 0, 1, 3.93256, 0.25, -2.54991)
mesh = SubResource("ArrayMesh_t0ymk")
mesh = SubResource("ArrayMesh_glbip")
[node name="CrateLong10" parent="Props" instance=ExtResource("12_t0ymk")]
transform = Transform3D(1, 0, -7.45058e-08, 0, 1, 0, 7.45058e-08, 0, 1, 3.93256, 0.25, -1.04991)
mesh = SubResource("ArrayMesh_nqwfe")
mesh = SubResource("ArrayMesh_h56f5")
[node name="CrateLong6" parent="Props" instance=ExtResource("12_t0ymk")]
transform = Transform3D(1, 0, -1.19209e-07, 0, 1, 0, 1.19209e-07, 0, 1, 3.93256, 0.75, -2.54991)
mesh = SubResource("ArrayMesh_gem8k")
mesh = SubResource("ArrayMesh_wr3ux")
[node name="CrateLong11" parent="Props" instance=ExtResource("12_t0ymk")]
transform = Transform3D(1, 0, -1.19209e-07, 0, 1, 0, 1.19209e-07, 0, 1, 3.93256, 0.75, -1.04991)
mesh = SubResource("ArrayMesh_a7woh")
mesh = SubResource("ArrayMesh_l1qst")
[node name="CrateLong7" parent="Props" instance=ExtResource("12_t0ymk")]
transform = Transform3D(1, 0, -1.19209e-07, 0, 1, 0, 1.19209e-07, 0, 1, 3.93256, 1.25, -2.54991)
mesh = SubResource("ArrayMesh_8ifew")
mesh = SubResource("ArrayMesh_klyoq")
[node name="CrateLong8" parent="Props" instance=ExtResource("12_t0ymk")]
transform = Transform3D(1, 0, -1.19209e-07, 0, 1, 0, 1.19209e-07, 0, 1, 3.93256, 1.75, -2.54991)
mesh = SubResource("ArrayMesh_jmnef")
mesh = SubResource("ArrayMesh_7ip0j")
[node name="CrateLong9" parent="Props" instance=ExtResource("12_t0ymk")]
transform = Transform3D(1, 0, -1.19209e-07, 0, 1, 0, 1.19209e-07, 0, 1, 3.93256, 2.25, -2.54991)
mesh = SubResource("ArrayMesh_w6w82")
mesh = SubResource("ArrayMesh_eorl6")
[node name="FloatingDust" parent="." instance=ExtResource("17_wr3ux")]
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 0, 1.5, -4.5)

View File

@ -30,6 +30,7 @@ GameRuntime="*res://src/game/game_runtime.gd"
ItemCatalog="*res://src/items/item_catalog.tscn"
GameSettings="*res://src/game/game_settings.gd"
TutorialManager="*res://src/game/tutorial/tutorial_manager/tutorial_manager.tscn"
GlobalSFXManager="*res://src/game/global_sfx_manager/global_sfx_manager.tscn"
[debug]

View File

@ -18,8 +18,8 @@ func _idle() -> void:
## Toggles between this tool's normal & alternate modes
func switch_mode() -> void:
# TODO: bonk if no mode switch is defined
pass
# bonk if no mode switch is defined
GlobalSFXManager.bonk.play()
## Called each frame that this tool is being fired.

View File

@ -24,8 +24,7 @@ func switch_mode() -> void:
_horizontal = not _horizontal
_busy = true
else:
# TODO: bonk
pass
GlobalSFXManager.bonk.play()
func _fire() -> void:

View File

@ -0,0 +1,6 @@
class_name GlobalSFXManagerType extends Node
## Global autoloaded singleton controller for global UI non-diegetic sounds
@onready var confirm: AudioStreamPlayer = %Confirm
@onready var cancel: AudioStreamPlayer = %Cancel
@onready var bonk: AudioStreamPlayer = %Bonk

View File

@ -0,0 +1 @@
uid://bpaid8cfddrtp

View File

@ -0,0 +1,28 @@
[gd_scene load_steps=5 format=3 uid="uid://dt27sg6y8luhe"]
[ext_resource type="AudioStream" uid="uid://cfj1o2mt8pc8e" path="res://assets/sfx/ui/ui_confirm_v0.wav" id="1_wh46b"]
[ext_resource type="Script" uid="uid://bpaid8cfddrtp" path="res://src/game/global_sfx_manager/global_sfx_manager.gd" id="1_xjjma"]
[ext_resource type="AudioStream" uid="uid://qua4yq6ceeax" path="res://assets/sfx/ui/ui_cancel_v0.wav" id="2_xjjma"]
[ext_resource type="AudioStream" uid="uid://b8l5atgau0qpb" path="res://assets/sfx/ui/ui_bonk_v0.wav" id="3_xl3ms"]
[node name="GlobalSFXManager" type="Node"]
script = ExtResource("1_xjjma")
[node name="Confirm" type="AudioStreamPlayer" parent="."]
unique_name_in_owner = true
stream = ExtResource("1_wh46b")
volume_db = -16.0
bus = &"SFX"
[node name="Cancel" type="AudioStreamPlayer" parent="."]
unique_name_in_owner = true
stream = ExtResource("2_xjjma")
volume_db = -16.0
bus = &"SFX"
[node name="Bonk" type="AudioStreamPlayer" parent="."]
unique_name_in_owner = true
stream = ExtResource("3_xl3ms")
volume_db = -16.0
pitch_scale = 0.8
bus = &"SFX"

View File

@ -1,4 +1,4 @@
[gd_scene load_steps=68 format=3 uid="uid://bwe2jdmvinhqd"]
[gd_scene load_steps=69 format=3 uid="uid://bwe2jdmvinhqd"]
[ext_resource type="Script" uid="uid://buwh0g1ga2aka" path="res://src/player/player.gd" id="1_npueo"]
[ext_resource type="Script" uid="uid://cx1yt0drthpw3" path="res://src/player/camera_controller.gd" id="2_veeqv"]
@ -38,6 +38,7 @@
[ext_resource type="Script" uid="uid://c5o1d2shq2qig" path="res://src/world/game_sound/game_sound_emitter.gd" id="31_wcxbk"]
[ext_resource type="Script" uid="uid://b5loa2u6s5l5c" path="res://src/player/rigid_body_physics.gd" id="36_phdu6"]
[ext_resource type="Script" uid="uid://dg55jdoyctdq6" path="res://src/game/tutorial/tutorial_timer.gd" id="38_evlgt"]
[ext_resource type="AudioStream" uid="uid://c01y7jauf4spn" path="res://assets/sfx/tools/tool_switch_v0.wav" id="39_gsylq"]
[sub_resource type="Animation" id="Animation_x42xx"]
length = 0.001
@ -824,3 +825,9 @@ one_shot = true
autostart = true
script = ExtResource("38_evlgt")
tutorial_key = &"game/tutorial/progress/move"
[node name="ToolSwitchSFX" type="AudioStreamPlayer" parent="."]
unique_name_in_owner = true
stream = ExtResource("39_gsylq")
volume_db = -12.0
pitch_scale = 1.8

View File

@ -5,6 +5,8 @@ class_name ToolMount extends Node3D
var _active: Tool
@onready var tool_switch_sfx: AudioStreamPlayer = %ToolSwitchSFX
func _ready() -> void:
set_active(initial_tool)
@ -36,7 +38,8 @@ func get_active() -> Tool:
## The tool should be a child of this mount.
## If the tool is not unlocked and `force` is false, this will have no effect.
func set_active(tool: Tool, force: bool = false) -> void:
if not force and not tool.unlocked():
if not force and (not tool.unlocked() or tool == _active):
GlobalSFXManager.bonk.play()
return
for c: Node3D in get_children():
@ -48,6 +51,8 @@ func set_active(tool: Tool, force: bool = false) -> void:
_active.on_equip()
# TODO equip animation?
tool_switch_sfx.play()
## Sets the active tool by index relative to the currently-active tool.
##

View File

@ -38,4 +38,5 @@ func deselect() -> void:
func activate() -> void:
if enabled:
activated.emit()
# TODO: bonk
else:
GlobalSFXManager.bonk.play()

View File

@ -1,4 +1,4 @@
[gd_scene load_steps=20 format=3 uid="uid://dq1x21tq06dud"]
[gd_scene load_steps=21 format=3 uid="uid://dq1x21tq06dud"]
[ext_resource type="Theme" uid="uid://b07fevr214mmr" path="res://src/ui/hud/hud_theme.tres" id="1_lirk3"]
[ext_resource type="Script" uid="uid://lrsv0185bfu" path="res://src/ui/hud/player_hud.gd" id="2_j6lpx"]
@ -10,6 +10,7 @@
[ext_resource type="FontFile" uid="uid://oq8ue2qrfijg" path="res://assets/fonts/Silkscreen/Silkscreen-Regular.ttf" id="7_iwjh7"]
[ext_resource type="PackedScene" uid="uid://bce8b2erx64vg" path="res://src/game/tutorial/tutorial.tscn" id="9_8np55"]
[ext_resource type="Theme" uid="uid://doq7ay6f7dgfo" path="res://src/ui/menus/menu.theme" id="10_c1hvd"]
[ext_resource type="AudioStream" uid="uid://bmj7v5freut2j" path="res://assets/sfx/tools/tool_bonk_v0.wav" id="11_bu2tv"]
[sub_resource type="Animation" id="Animation_iwjh7"]
length = 0.001
@ -25,6 +26,18 @@ tracks/0/keys = {
"update": 0,
"values": [Color(1, 1, 1, 0)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("TankAlert/TankAlertBonkSFX:playing")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [false]
}
[sub_resource type="Animation" id="Animation_8np55"]
resource_name = "tank_full_alert"
@ -42,6 +55,18 @@ tracks/0/keys = {
"update": 0,
"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1), Color(1, 1, 1, 0), Color(1, 1, 1, 1), Color(1, 1, 1, 0), Color(1, 1, 1, 1), Color(1, 1, 1, 0)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("TankAlert/TankAlertBonkSFX:playing")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [true]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_c1hvd"]
_data = {
@ -383,6 +408,12 @@ libraries = {
&"": SubResource("AnimationLibrary_c1hvd")
}
[node name="TankAlertBonkSFX" type="AudioStreamPlayer" parent="AlertHUD/TankAlert"]
stream = ExtResource("11_bu2tv")
volume_db = -8.0
pitch_scale = 0.88
bus = &"SFX"
[node name="GrunkAlert" type="Control" parent="AlertHUD"]
anchors_preset = 0
offset_right = 40.0
@ -429,10 +460,10 @@ anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -19.7154
offset_top = -19.6578
offset_right = -19.7154
offset_bottom = -19.6578
offset_left = -17.9273
offset_top = -20.3455
offset_right = -17.9273
offset_bottom = -20.3455
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("4_ud8na")

View File

@ -39,11 +39,13 @@ func _hide() -> void:
func resume() -> void:
GlobalSFXManager.confirm.play()
Input.set_mouse_mode(Input.MOUSE_MODE_CAPTURED)
queue_free()
func settings() -> void:
GlobalSFXManager.confirm.play()
var instance: Control = settings_scene.instantiate()
settings_container.add_child(instance)
instance.tree_exited.connect(_unhide)
@ -51,26 +53,32 @@ func settings() -> void:
func quit() -> void:
GlobalSFXManager.confirm.play()
quit_confirm.show()
func cancel_quit() -> void:
GlobalSFXManager.cancel.play()
quit_confirm.hide()
func confirm_quit() -> void:
GlobalSFXManager.confirm.play()
get_tree().root.propagate_notification(NOTIFICATION_WM_CLOSE_REQUEST)
func end_game() -> void:
GlobalSFXManager.confirm.play()
end_game_confirm.show()
func cancel_end_game() -> void:
GlobalSFXManager.cancel.play()
end_game_confirm.hide()
func confirm_end_game() -> void:
GlobalSFXManager.confirm.play()
# TODO transition
Game.instance.queue_scene(title_scene)

View File

@ -52,6 +52,7 @@ func populate_volume_mixers() -> void:
## Close menu without applying settings.
func cancel() -> void:
GlobalSFXManager.cancel.play()
queue_free()
@ -72,6 +73,7 @@ func save_settings() -> void:
## Apply settings and close menu.
func accept() -> void:
GlobalSFXManager.confirm.play()
apply()
save_settings()
queue_free()

View File

@ -1,7 +1,8 @@
[gd_scene load_steps=3 format=3 uid="uid://d2ya6ly01724l"]
[gd_scene load_steps=4 format=3 uid="uid://d2ya6ly01724l"]
[ext_resource type="Theme" uid="uid://doq7ay6f7dgfo" path="res://src/ui/menus/menu.theme" id="1_k7hk0"]
[ext_resource type="Script" uid="uid://bt3oajqvevj4k" path="res://src/ui/menus/settings_menu/volume_slider/volume_slider.gd" id="1_rfe0k"]
[ext_resource type="AudioStream" uid="uid://cfj1o2mt8pc8e" path="res://assets/sfx/ui/ui_confirm_v0.wav" id="3_y4yh3"]
[node name="VolumeSlider" type="VBoxContainer" groups=["VolumeSliders"]]
custom_minimum_size = Vector2(300, 0)
@ -46,8 +47,10 @@ suffix = "%"
[node name="AudioDemo" type="AudioStreamPlayer" parent="."]
unique_name_in_owner = true
stream = ExtResource("3_y4yh3")
volume_db = -16.0
[connection signal="drag_ended" from="Slider" to="." method="_on_slider_drag_ended"]
[connection signal="value_changed" from="Slider" to="." method="_on_component_value_changed"]
[connection signal="value_changed" from="DigitalDisplay/SpinBox" to="." method="_on_component_value_changed"]
[connection signal="value_changed" from="DigitalDisplay/SpinBox" to="." method="_on_spin_box_value_changed"]
[connection signal="value_changed" from="DigitalDisplay/SpinBox" to="." method="_on_component_value_changed"]

View File

@ -34,21 +34,25 @@ func stop_sounds() -> void:
func continue_game() -> void:
GlobalSFXManager.confirm.play()
stop_sounds()
LoadingTools.load_save(save_path)
func new_game() -> void:
GlobalSFXManager.confirm.play()
stop_sounds()
LoadingTools.load_level(level_scene)
func show_settings() -> void:
GlobalSFXManager.confirm.play()
var instance: Control = settings_scene.instantiate()
settings_container.add_child(instance)
func quit() -> void:
GlobalSFXManager.cancel.play()
get_tree().root.propagate_notification(NOTIFICATION_WM_CLOSE_REQUEST)

View File

@ -63,6 +63,8 @@ func pause() -> void:
AudioServer.add_bus_effect(MUSIC_BUS_IDX, pause_music_effect, 0)
get_tree().paused = true
GlobalSFXManager.cancel.play()
var pause_menu: Control = pause_scene.instantiate()
ui_root.add_child(pause_menu)
pause_menu.tree_exiting.connect(unpause)

View File

@ -13,6 +13,10 @@
- VA
- `cetology` reading by Whitman La Torra
- SFX
- by Duncan Gibbs:
- assets/sfx/tools/tool_bonk_v0.wav
- assets/sfx/tools/tool_switch_v0.wav
- assets/sfx/ui/*
- "Walking on Metal"
- author: Sanderboah
- CC0