Compare commits

..

2 Commits

Author SHA1 Message Date
Spencer Killen cc9cc3436d
Woohoo 2023-08-20 12:35:52 -06:00
vengefulcartographer 1a41a4b36d soundboard 2023-08-20 11:48:25 -06:00
12 changed files with 105 additions and 7 deletions

View File

@ -154,7 +154,7 @@ transform = Transform3D(0.065, 0, 0, 0, 0.065, 0, 0, 0, 0.065, 0, 0, 0)
script = ExtResource("2_ksje8") script = ExtResource("2_ksje8")
[node name="Skeleton3D" parent="rig" index="0"] [node name="Skeleton3D" parent="rig" index="0"]
bones/0/rotation = Quaternion(0.0838794, 0, 0, 0.996476) bones/0/rotation = Quaternion(0.0722387, 0, 0, 0.997387)
bones/1/rotation = Quaternion(-0.0891896, 1.18734e-07, -1.06322e-08, 0.996015) bones/1/rotation = Quaternion(-0.0891896, 1.18734e-07, -1.06322e-08, 0.996015)
bones/2/rotation = Quaternion(0.0133933, -1.19199e-07, 1.5966e-09, 0.99991) bones/2/rotation = Quaternion(0.0133933, -1.19199e-07, 1.5966e-09, 0.99991)
bones/3/rotation = Quaternion(-0.00997737, 0.100365, -0.694951, 0.711948) bones/3/rotation = Quaternion(-0.00997737, 0.100365, -0.694951, 0.711948)
@ -191,5 +191,5 @@ stream = ExtResource("5_b32re")
[node name="sad" type="AudioStreamPlayer" parent="." index="7"] [node name="sad" type="AudioStreamPlayer" parent="." index="7"]
stream = ExtResource("6_qe4bi") stream = ExtResource("6_qe4bi")
[node name="woohoo" type="AudioStreamPlayer" parent="." index="8"] [node name="soundboard" type="AudioStreamPlayer" parent="." index="8"]
stream = ExtResource("6_qe4bi") stream = ExtResource("6_qe4bi")

View File

@ -67,8 +67,17 @@ func _input(event):
if Input.is_action_just_pressed("Pause"): if Input.is_action_just_pressed("Pause"):
pass pass
if Input.is_action_just_pressed("Woohoo"): if Input.is_action_just_pressed("Soundboard"):
pass
var sound_list = (["res://Sounds/jingle.ogg",
"res://Sounds/yawn.ogg",
"res://Sounds/woohoo.ogg",
"res://Sounds/slimeu.ogg"])
var sound = sound_list[randi() % sound_list.size()]
$grape_man/soundboard.stream = load(sound)
$grape_man/soundboard.play()
func _physics_process(delta): func _physics_process(delta):

BIN
godot/Sounds/IslandBoogie.ogg (Stored with Git LFS)

Binary file not shown.

BIN
godot/Sounds/jingle.ogg (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,19 @@
[remap]
importer="oggvorbisstr"
type="AudioStreamOggVorbis"
uid="uid://cv01lbq7nickx"
path="res://.godot/imported/jingle.ogg-30e599e95982f25a980bebf5f44752bb.oggvorbisstr"
[deps]
source_file="res://Sounds/jingle.ogg"
dest_files=["res://.godot/imported/jingle.ogg-30e599e95982f25a980bebf5f44752bb.oggvorbisstr"]
[params]
loop=false
loop_offset=0
bpm=0
beat_count=0
bar_beats=4

BIN
godot/Sounds/slimeu.ogg (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,19 @@
[remap]
importer="oggvorbisstr"
type="AudioStreamOggVorbis"
uid="uid://c2p6nh3x3s71d"
path="res://.godot/imported/slimeu.ogg-e1a145db9ae5baab7ff05b87ac82d526.oggvorbisstr"
[deps]
source_file="res://Sounds/slimeu.ogg"
dest_files=["res://.godot/imported/slimeu.ogg-e1a145db9ae5baab7ff05b87ac82d526.oggvorbisstr"]
[params]
loop=false
loop_offset=0
bpm=0
beat_count=0
bar_beats=4

BIN
godot/Sounds/woohoo.ogg (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,19 @@
[remap]
importer="oggvorbisstr"
type="AudioStreamOggVorbis"
uid="uid://cmga4mqbgi48u"
path="res://.godot/imported/woohoo.ogg-e84d72f39cbdd9c391663f84463dd6e4.oggvorbisstr"
[deps]
source_file="res://Sounds/woohoo.ogg"
dest_files=["res://.godot/imported/woohoo.ogg-e84d72f39cbdd9c391663f84463dd6e4.oggvorbisstr"]
[params]
loop=false
loop_offset=0
bpm=0
beat_count=0
bar_beats=4

BIN
godot/Sounds/yawn.ogg (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,19 @@
[remap]
importer="oggvorbisstr"
type="AudioStreamOggVorbis"
uid="uid://gs0cxfn62d4y"
path="res://.godot/imported/yawn.ogg-84771ea7ecb9e9dc22c90aa208a644a4.oggvorbisstr"
[deps]
source_file="res://Sounds/yawn.ogg"
dest_files=["res://.godot/imported/yawn.ogg-84771ea7ecb9e9dc22c90aa208a644a4.oggvorbisstr"]
[params]
loop=false
loop_offset=0
bpm=0
beat_count=0
bar_beats=4

View File

@ -84,10 +84,11 @@ ui_down={
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":83,"key_label":0,"unicode":115,"echo":false,"script":null) , Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":83,"key_label":0,"unicode":115,"echo":false,"script":null)
] ]
} }
Woohoo={ Soundboard={
"deadzone": 0.5, "deadzone": 0.5,
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":69,"key_label":0,"unicode":0,"echo":false,"script":null) "events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":69,"key_label":0,"unicode":0,"echo":false,"script":null)
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":3,"pressure":0.0,"pressed":false,"script":null) , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":3,"pressure":0.0,"pressed":false,"script":null)
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":49,"key_label":0,"unicode":0,"echo":false,"script":null)
] ]
} }
Pause={ Pause={