add player add sound
This commit is contained in:
parent
ff6abb0a94
commit
3b71d0b3ed
20 changed files with 267 additions and 1 deletions
BIN
icon.png
Normal file
BIN
icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.2 KiB |
34
icon.png.import
Normal file
34
icon.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://bmngtebggloqx"
|
||||
path="res://.godot/imported/icon.png-487276ed1e3a0c39cad0279d744ee560.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://icon.png"
|
||||
dest_files=["res://.godot/imported/icon.png-487276ed1e3a0c39cad0279d744ee560.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=21 format=3 uid="uid://b1uhymisifcho"]
|
||||
[gd_scene load_steps=30 format=3 uid="uid://b1uhymisifcho"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://sngr878yi4e2" path="res://scripts/menu.gd" id="1_fushn"]
|
||||
[ext_resource type="Script" uid="uid://5j77s0sni4jr" path="res://scripts/menudisplay.gd" id="2_jc4pv"]
|
||||
|
@ -14,6 +14,14 @@
|
|||
[ext_resource type="Texture2D" uid="uid://dku8jinmijays" path="res://scenes/map_preview/map_04.png" id="8_46b6b"]
|
||||
[ext_resource type="Texture2D" uid="uid://mp5f6jviyl44" path="res://scenes/map_preview/map_05.png" id="10_cou7n"]
|
||||
[ext_resource type="Texture2D" uid="uid://bst8p5s1sgurm" path="res://sprites/menu_bg.png" id="10_equk1"]
|
||||
[ext_resource type="Script" uid="uid://bt0cqdl0t6eci" path="res://scripts/menu_sfx.gd" id="15_fy8yy"]
|
||||
[ext_resource type="AudioStream" uid="uid://b8d14bwst1dhr" path="res://sounds/horn/bobbycar_horn-001.wav" id="16_6wigr"]
|
||||
[ext_resource type="AudioStream" uid="uid://dksemfojtisr4" path="res://sounds/horn/bobbycar_horn-002.wav" id="17_lnf0i"]
|
||||
[ext_resource type="AudioStream" uid="uid://d2h0u2lfqevtq" path="res://sounds/horn/bobbycar_horn-003.wav" id="18_ffqrc"]
|
||||
[ext_resource type="AudioStream" uid="uid://k7qbpkrrjni0" path="res://sounds/horn/bobbycar_horn-004.wav" id="19_x16fv"]
|
||||
[ext_resource type="AudioStream" uid="uid://bv76qacjjtqt1" path="res://sounds/horn/bobbycar_horn-005.wav" id="20_g54pe"]
|
||||
[ext_resource type="AudioStream" uid="uid://2kxfawkq4ddr" path="res://sounds/horn/bobbycar_horn-006.wav" id="21_48ryc"]
|
||||
[ext_resource type="AudioStream" uid="uid://dfpk2vihkyeft" path="res://sounds/horn/bobbycar_horn-007.wav" id="22_vhsb5"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_un5vh"]
|
||||
bg_color = Color(0.699653, 0.699654, 0.699653, 0.388235)
|
||||
|
@ -70,6 +78,16 @@ _data = {
|
|||
&"menu_idle": SubResource("Animation_y58ke")
|
||||
}
|
||||
|
||||
[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_hwfsl"]
|
||||
streams_count = 7
|
||||
stream_0/stream = ExtResource("16_6wigr")
|
||||
stream_1/stream = ExtResource("17_lnf0i")
|
||||
stream_2/stream = ExtResource("18_ffqrc")
|
||||
stream_3/stream = ExtResource("19_x16fv")
|
||||
stream_4/stream = ExtResource("20_g54pe")
|
||||
stream_5/stream = ExtResource("21_48ryc")
|
||||
stream_6/stream = ExtResource("22_vhsb5")
|
||||
|
||||
[node name="Menu" type="Node"]
|
||||
script = ExtResource("1_fushn")
|
||||
|
||||
|
@ -428,6 +446,13 @@ text = "Hold Button to join"
|
|||
[node name="Timer" type="Timer" parent="."]
|
||||
wait_time = 5.0
|
||||
|
||||
[node name="SFX" type="Node" parent="."]
|
||||
script = ExtResource("15_fy8yy")
|
||||
|
||||
[node name="horn" type="AudioStreamPlayer" parent="SFX"]
|
||||
stream = SubResource("AudioStreamRandomizer_hwfsl")
|
||||
max_polyphony = 8
|
||||
|
||||
[connection signal="toggled" from="MenuDisplay/btn_fullscreen" to="." method="_on_btn_fullscreen_toggled"]
|
||||
[connection signal="pressed" from="MenuDisplay/btn_reset_players" to="." method="_on_btn_reset_players_pressed"]
|
||||
[connection signal="pressed" from="MenuDisplay/btn_save_whitelist" to="." method="_on_btn_save_whitelist_pressed"]
|
||||
|
|
5
scripts/menu_sfx.gd
Normal file
5
scripts/menu_sfx.gd
Normal file
|
@ -0,0 +1,5 @@
|
|||
extends Node
|
||||
|
||||
func playAddPlayerSound():
|
||||
$horn.play()
|
||||
|
BIN
sounds/horn/bobbycar_horn-001.wav
Normal file
BIN
sounds/horn/bobbycar_horn-001.wav
Normal file
Binary file not shown.
24
sounds/horn/bobbycar_horn-001.wav.import
Normal file
24
sounds/horn/bobbycar_horn-001.wav.import
Normal file
|
@ -0,0 +1,24 @@
|
|||
[remap]
|
||||
|
||||
importer="wav"
|
||||
type="AudioStreamWAV"
|
||||
uid="uid://b8d14bwst1dhr"
|
||||
path="res://.godot/imported/bobbycar_horn-001.wav-bbba800686c44e6618f7bf10b33815c9.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://sounds/horn/bobbycar_horn-001.wav"
|
||||
dest_files=["res://.godot/imported/bobbycar_horn-001.wav-bbba800686c44e6618f7bf10b33815c9.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
sounds/horn/bobbycar_horn-002.wav
Normal file
BIN
sounds/horn/bobbycar_horn-002.wav
Normal file
Binary file not shown.
24
sounds/horn/bobbycar_horn-002.wav.import
Normal file
24
sounds/horn/bobbycar_horn-002.wav.import
Normal file
|
@ -0,0 +1,24 @@
|
|||
[remap]
|
||||
|
||||
importer="wav"
|
||||
type="AudioStreamWAV"
|
||||
uid="uid://dksemfojtisr4"
|
||||
path="res://.godot/imported/bobbycar_horn-002.wav-5f052c006327dc2740b0f5ef0c626b61.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://sounds/horn/bobbycar_horn-002.wav"
|
||||
dest_files=["res://.godot/imported/bobbycar_horn-002.wav-5f052c006327dc2740b0f5ef0c626b61.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
sounds/horn/bobbycar_horn-003.wav
Normal file
BIN
sounds/horn/bobbycar_horn-003.wav
Normal file
Binary file not shown.
24
sounds/horn/bobbycar_horn-003.wav.import
Normal file
24
sounds/horn/bobbycar_horn-003.wav.import
Normal file
|
@ -0,0 +1,24 @@
|
|||
[remap]
|
||||
|
||||
importer="wav"
|
||||
type="AudioStreamWAV"
|
||||
uid="uid://d2h0u2lfqevtq"
|
||||
path="res://.godot/imported/bobbycar_horn-003.wav-6dee88ed655389b6919ad175558f69cb.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://sounds/horn/bobbycar_horn-003.wav"
|
||||
dest_files=["res://.godot/imported/bobbycar_horn-003.wav-6dee88ed655389b6919ad175558f69cb.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
sounds/horn/bobbycar_horn-004.wav
Normal file
BIN
sounds/horn/bobbycar_horn-004.wav
Normal file
Binary file not shown.
24
sounds/horn/bobbycar_horn-004.wav.import
Normal file
24
sounds/horn/bobbycar_horn-004.wav.import
Normal file
|
@ -0,0 +1,24 @@
|
|||
[remap]
|
||||
|
||||
importer="wav"
|
||||
type="AudioStreamWAV"
|
||||
uid="uid://k7qbpkrrjni0"
|
||||
path="res://.godot/imported/bobbycar_horn-004.wav-69ecd7e6daca242c9f54f1ef8572d2d3.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://sounds/horn/bobbycar_horn-004.wav"
|
||||
dest_files=["res://.godot/imported/bobbycar_horn-004.wav-69ecd7e6daca242c9f54f1ef8572d2d3.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
sounds/horn/bobbycar_horn-005.wav
Normal file
BIN
sounds/horn/bobbycar_horn-005.wav
Normal file
Binary file not shown.
24
sounds/horn/bobbycar_horn-005.wav.import
Normal file
24
sounds/horn/bobbycar_horn-005.wav.import
Normal file
|
@ -0,0 +1,24 @@
|
|||
[remap]
|
||||
|
||||
importer="wav"
|
||||
type="AudioStreamWAV"
|
||||
uid="uid://bv76qacjjtqt1"
|
||||
path="res://.godot/imported/bobbycar_horn-005.wav-77fd3f11482183d4b9db69d2b8644232.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://sounds/horn/bobbycar_horn-005.wav"
|
||||
dest_files=["res://.godot/imported/bobbycar_horn-005.wav-77fd3f11482183d4b9db69d2b8644232.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
sounds/horn/bobbycar_horn-006.wav
Normal file
BIN
sounds/horn/bobbycar_horn-006.wav
Normal file
Binary file not shown.
24
sounds/horn/bobbycar_horn-006.wav.import
Normal file
24
sounds/horn/bobbycar_horn-006.wav.import
Normal file
|
@ -0,0 +1,24 @@
|
|||
[remap]
|
||||
|
||||
importer="wav"
|
||||
type="AudioStreamWAV"
|
||||
uid="uid://2kxfawkq4ddr"
|
||||
path="res://.godot/imported/bobbycar_horn-006.wav-f3eeea4e38fdfd2c2985dd42f699b1b1.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://sounds/horn/bobbycar_horn-006.wav"
|
||||
dest_files=["res://.godot/imported/bobbycar_horn-006.wav-f3eeea4e38fdfd2c2985dd42f699b1b1.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
sounds/horn/bobbycar_horn-007.wav
Normal file
BIN
sounds/horn/bobbycar_horn-007.wav
Normal file
Binary file not shown.
24
sounds/horn/bobbycar_horn-007.wav.import
Normal file
24
sounds/horn/bobbycar_horn-007.wav.import
Normal file
|
@ -0,0 +1,24 @@
|
|||
[remap]
|
||||
|
||||
importer="wav"
|
||||
type="AudioStreamWAV"
|
||||
uid="uid://dfpk2vihkyeft"
|
||||
path="res://.godot/imported/bobbycar_horn-007.wav-29c2e522e23b3bb16f5e0805ac7bde79.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://sounds/horn/bobbycar_horn-007.wav"
|
||||
dest_files=["res://.godot/imported/bobbycar_horn-007.wav-29c2e522e23b3bb16f5e0805ac7bde79.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
sprites/icon.png
Normal file
BIN
sprites/icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.2 KiB |
34
sprites/icon.png.import
Normal file
34
sprites/icon.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dne8axkywso45"
|
||||
path="res://.godot/imported/icon.png-82ea131e750a89467e27b5ff9b11ce77.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://sprites/icon.png"
|
||||
dest_files=["res://.godot/imported/icon.png-82ea131e750a89467e27b5ff9b11ce77.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
Loading…
Add table
Reference in a new issue