converted sounds to ogg (fixes #188)

This commit is contained in:
pennyrigate 2023-10-09 01:50:59 -04:00
parent 687bf87df9
commit 832191e99c
51 changed files with 230 additions and 20 deletions

Binary file not shown.

Binary file not shown.

View file

@ -0,0 +1,15 @@
[remap]
importer="ogg_vorbis"
type="AudioStreamOGGVorbis"
path="res://.import/bone_rattle.ogg-1b9b692b16f9996980feab0fd8c6899b.oggstr"
[deps]
source_file="res://audio/sounds/bone_rattle.ogg"
dest_files=[ "res://.import/bone_rattle.ogg-1b9b692b16f9996980feab0fd8c6899b.oggstr" ]
[params]
loop=false
loop_offset=0

View file

@ -0,0 +1,15 @@
[remap]
importer="ogg_vorbis"
type="AudioStreamOGGVorbis"
path="res://.import/boss_hurt.ogg-aff6332a4546cc6c13d1adec8be22161.oggstr"
[deps]
source_file="res://audio/sounds/boss_hurt.ogg"
dest_files=[ "res://.import/boss_hurt.ogg-aff6332a4546cc6c13d1adec8be22161.oggstr" ]
[params]
loop=false
loop_offset=0

Binary file not shown.

BIN
audio/sounds/bubble.ogg Normal file

Binary file not shown.

View file

@ -0,0 +1,15 @@
[remap]
importer="ogg_vorbis"
type="AudioStreamOGGVorbis"
path="res://.import/bubble.ogg-3cff0ff1f116f556089f132bc827c01b.oggstr"
[deps]
source_file="res://audio/sounds/bubble.ogg"
dest_files=[ "res://.import/bubble.ogg-3cff0ff1f116f556089f132bc827c01b.oggstr" ]
[params]
loop=false
loop_offset=0

Binary file not shown.

Binary file not shown.

View file

@ -0,0 +1,15 @@
[remap]
importer="ogg_vorbis"
type="AudioStreamOGGVorbis"
path="res://.import/collapse_block_fall.ogg-19fc12e4158496504199681c63b367f9.oggstr"
[deps]
source_file="res://audio/sounds/collapse_block_fall.ogg"
dest_files=[ "res://.import/collapse_block_fall.ogg-19fc12e4158496504199681c63b367f9.oggstr" ]
[params]
loop=false
loop_offset=0

Binary file not shown.

BIN
audio/sounds/confirm.ogg Normal file

Binary file not shown.

View file

@ -0,0 +1,15 @@
[remap]
importer="ogg_vorbis"
type="AudioStreamOGGVorbis"
path="res://.import/confirm.ogg-74399903930640aa54bc9194bf595362.oggstr"
[deps]
source_file="res://audio/sounds/confirm.ogg"
dest_files=[ "res://.import/confirm.ogg-74399903930640aa54bc9194bf595362.oggstr" ]
[params]
loop=false
loop_offset=0

Binary file not shown.

BIN
audio/sounds/die.ogg Normal file

Binary file not shown.

View file

@ -0,0 +1,15 @@
[remap]
importer="ogg_vorbis"
type="AudioStreamOGGVorbis"
path="res://.import/die.ogg-7c9b7bae34312e63da8e060aed19e984.oggstr"
[deps]
source_file="res://audio/sounds/die.ogg"
dest_files=[ "res://.import/die.ogg-7c9b7bae34312e63da8e060aed19e984.oggstr" ]
[params]
loop=false
loop_offset=0

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -0,0 +1,15 @@
[remap]
importer="ogg_vorbis"
type="AudioStreamOGGVorbis"
path="res://.import/die_skeleton.ogg-b5f6dc4a23c68bf3a4e3144ce631922a.oggstr"
[deps]
source_file="res://audio/sounds/die_skeleton.ogg"
dest_files=[ "res://.import/die_skeleton.ogg-b5f6dc4a23c68bf3a4e3144ce631922a.oggstr" ]
[params]
loop=false
loop_offset=0

Binary file not shown.

Binary file not shown.

View file

@ -0,0 +1,15 @@
[remap]
importer="ogg_vorbis"
type="AudioStreamOGGVorbis"
path="res://.import/double_jump.ogg-267703e555e75324b81d37d5d92308da.oggstr"
[deps]
source_file="res://audio/sounds/double_jump.ogg"
dest_files=[ "res://.import/double_jump.ogg-267703e555e75324b81d37d5d92308da.oggstr" ]
[params]
loop=false
loop_offset=0

BIN
audio/sounds/explosion.ogg Normal file

Binary file not shown.

View file

@ -0,0 +1,15 @@
[remap]
importer="ogg_vorbis"
type="AudioStreamOGGVorbis"
path="res://.import/explosion.ogg-390c0c53733d8d0ae861fc04f953f471.oggstr"
[deps]
source_file="res://audio/sounds/explosion.ogg"
dest_files=[ "res://.import/explosion.ogg-390c0c53733d8d0ae861fc04f953f471.oggstr" ]
[params]
loop=false
loop_offset=0

BIN
audio/sounds/gover.ogg Normal file

Binary file not shown.

View file

@ -0,0 +1,15 @@
[remap]
importer="ogg_vorbis"
type="AudioStreamOGGVorbis"
path="res://.import/gover.ogg-71eb4d076c82a3c9c030a4b6d2063858.oggstr"
[deps]
source_file="res://audio/sounds/gover.ogg"
dest_files=[ "res://.import/gover.ogg-71eb4d076c82a3c9c030a4b6d2063858.oggstr" ]
[params]
loop=false
loop_offset=0

Binary file not shown.

Binary file not shown.

BIN
audio/sounds/scrump_die.ogg Normal file

Binary file not shown.

View file

@ -0,0 +1,15 @@
[remap]
importer="ogg_vorbis"
type="AudioStreamOGGVorbis"
path="res://.import/scrump_die.ogg-425a95c5992a12c9f1281ba34b4cd7ab.oggstr"
[deps]
source_file="res://audio/sounds/scrump_die.ogg"
dest_files=[ "res://.import/scrump_die.ogg-425a95c5992a12c9f1281ba34b4cd7ab.oggstr" ]
[params]
loop=false
loop_offset=0

Binary file not shown.

Binary file not shown.

View file

@ -0,0 +1,15 @@
[remap]
importer="ogg_vorbis"
type="AudioStreamOGGVorbis"
path="res://.import/scrump_hurt.ogg-d92e1294569fcd24edb105aac58b82ae.oggstr"
[deps]
source_file="res://audio/sounds/scrump_hurt.ogg"
dest_files=[ "res://.import/scrump_hurt.ogg-d92e1294569fcd24edb105aac58b82ae.oggstr" ]
[params]
loop=false
loop_offset=0

BIN
audio/sounds/select.ogg Normal file

Binary file not shown.

View file

@ -0,0 +1,15 @@
[remap]
importer="ogg_vorbis"
type="AudioStreamOGGVorbis"
path="res://.import/select.ogg-55c0c25b1ed1eb06fe4396684087acc9.oggstr"
[deps]
source_file="res://audio/sounds/select.ogg"
dest_files=[ "res://.import/select.ogg-55c0c25b1ed1eb06fe4396684087acc9.oggstr" ]
[params]
loop=false
loop_offset=0

Binary file not shown.

BIN
audio/sounds/shard.ogg Normal file

Binary file not shown.

View file

@ -0,0 +1,15 @@
[remap]
importer="ogg_vorbis"
type="AudioStreamOGGVorbis"
path="res://.import/shard.ogg-4d6798bd7bde9aa4a9982bb512a37701.oggstr"
[deps]
source_file="res://audio/sounds/shard.ogg"
dest_files=[ "res://.import/shard.ogg-4d6798bd7bde9aa4a9982bb512a37701.oggstr" ]
[params]
loop=false
loop_offset=0

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -12,25 +12,25 @@ onready var ac_shard = $ShardSound
onready var ac_pause_music = $PauseMusic onready var ac_pause_music = $PauseMusic
onready var ac_menu = $MenuSound onready var ac_menu = $MenuSound
#Sounds #Sounds
const a_gold = preload("res://audio/sounds/key.wav") const a_key = preload("res://audio/sounds/key.ogg")
const a_arrow = preload("res://audio/sounds/arrow_collect.ogg") const a_arrow = preload("res://audio/sounds/arrow_collect.ogg")
const a_jump = preload("res://audio/sounds/jump.ogg") const a_jump = preload("res://audio/sounds/jump.ogg")
const a_star = preload("res://audio/sounds/star.ogg") const a_star = preload("res://audio/sounds/star.ogg")
const a_shard = preload("res://audio/sounds/shard.wav") const a_shard = preload("res://audio/sounds/shard.ogg")
const a_climb_up = preload("res://audio/sounds/a_climb.ogg") const a_climb_up = preload("res://audio/sounds/a_climb.ogg")
const a_climb_down = preload("res://audio/sounds/a_bmilc.ogg") const a_climb_down = preload("res://audio/sounds/a_bmilc.ogg")
const a_sword = preload("res://audio/sounds/sword.ogg") const a_sword = preload("res://audio/sounds/sword.ogg")
const a_doublejump = preload("res://audio/sounds/a_bree.wav") const a_doublejump = preload("res://audio/sounds/double_jump.ogg")
const a_shoot = preload("res://audio/sounds/shoot_arrow.ogg") const a_shoot = preload("res://audio/sounds/shoot_arrow.ogg")
const a_die = preload("res://audio/sounds/die.wav") const a_die = preload("res://audio/sounds/die.ogg")
const a_die_skeleton = preload("res://audio/sounds/die_skeleton.wav") const a_die_skeleton = preload("res://audio/sounds/die_skeleton.ogg")
const a_scrump_die = preload("res://audio/sounds/scrump_die.wav") const a_scrump_die = preload("res://audio/sounds/scrump_die.ogg")
const a_die_robot = preload("res://audio/sounds/die_robot.wav") const a_explosion = preload("res://audio/sounds/explosion.ogg")
const a_gover = preload("res://audio/sounds/gover.wav") const a_game_over = preload("res://audio/sounds/gover.ogg")
const a_boss_hurt = preload("res://audio/sounds/boss_hurt.wav") const a_scrump_hurt = preload("res://audio/sounds/scrump_hurt.ogg")
const a_bubble = preload("res://audio/sounds/bubble.wav") const a_bubble = preload("res://audio/sounds/bubble.ogg")
const a_select = preload("res://audio/sounds/select.wav") const a_select = preload("res://audio/sounds/select.ogg")
const a_confirm = preload("res://audio/sounds/confirm.wav") const a_confirm = preload("res://audio/sounds/confirm.ogg")
const a_bullet_barrage = preload("res://audio/sounds/bullet_barrage.ogg") const a_bullet_barrage = preload("res://audio/sounds/bullet_barrage.ogg")
const a_rainbow_laser = preload("res://audio/sounds/rainbow_laser.ogg") const a_rainbow_laser = preload("res://audio/sounds/rainbow_laser.ogg")
const a_spaghetti = preload("res://audio/sounds/spaghetti.ogg") const a_spaghetti = preload("res://audio/sounds/spaghetti.ogg")

View file

@ -237,7 +237,7 @@ func has_collection_bonus():
func _on_player_died() -> void: func _on_player_died() -> void:
deaths += 1 deaths += 1
if lives <= 0 and use_lives: if lives <= 0 and use_lives:
Audio.play_sound(Audio.a_gover, Audio.ac_die) Audio.play_sound(Audio.a_game_over, Audio.ac_die)
get_tree().get_nodes_in_group("player")[0].queue_free() get_tree().get_nodes_in_group("player")[0].queue_free()
var time_tween = create_tween() var time_tween = create_tween()
time_tween.tween_property(Engine, "time_scale", 0.1, 0.3) time_tween.tween_property(Engine, "time_scale", 0.1, 0.3)

View file

@ -10,5 +10,5 @@ func _on_Area2D_body_entered(body: Node) -> void:
if body.is_in_group("player"): if body.is_in_group("player"):
Game.keys += 1 Game.keys += 1
Game.score += 5 Game.score += 5
Audio.play_sound(Audio.a_gold,Audio.ac_collectible) Audio.play_sound(Audio.a_key,Audio.ac_collectible)
queue_free() queue_free()

View file

@ -1,7 +1,7 @@
[gd_scene load_steps=4 format=2] [gd_scene load_steps=4 format=2]
[ext_resource path="res://objects/environment/collapse_block/collapse_block.tscn" type="PackedScene" id=1] [ext_resource path="res://objects/environment/collapse_block/collapse_block.tscn" type="PackedScene" id=1]
[ext_resource path="res://audio/sounds/collapse_block_fall.wav" type="AudioStream" id=2] [ext_resource path="res://audio/sounds/collapse_block_fall.ogg" type="AudioStream" id=2]
[sub_resource type="PhysicsMaterial" id=2] [sub_resource type="PhysicsMaterial" id=2]
bounce = 0.07 bounce = 0.07

View file

@ -39,7 +39,7 @@ func _on_ShootTimer_timeout():
func die(): func die():
hp -= 1 hp -= 1
Audio.play_sound(Audio.a_boss_hurt,Audio.ac_boss) Audio.play_sound(Audio.a_scrump_hurt,Audio.ac_boss)
match hp: match hp:
2: 2:
emit_signal("entered_phase", 2) emit_signal("entered_phase", 2)

View file

@ -60,7 +60,7 @@ func _physics_process(delta):
collider.get_parent().die() collider.get_parent().die()
# play sound # play sound
Audio.play_sound(Audio.a_die_robot, Audio.ac_boss) Audio.play_sound(Audio.a_explosion, Audio.ac_boss)
# muzzle flash # muzzle flash
muzzle_flash.emitting = true muzzle_flash.emitting = true

View file

@ -12,7 +12,7 @@ export(int, "/", "\\") var move_direction
onready var startpos = position onready var startpos = position
func _ready(): func _ready():
death_sound = Audio.a_die_robot death_sound = Audio.a_explosion
up_boundary *= 8 up_boundary *= 8
down_boundary *= 8 down_boundary *= 8
#Move in direction selected #Move in direction selected

View file

@ -2,7 +2,7 @@ extends "res://objects/enemy/enemy.gd"
func _ready(): func _ready():
$AnimatedSprite.play("explode") $AnimatedSprite.play("explode")
Audio.play_sound(Audio.a_die_robot,Audio.ac_die) Audio.play_sound(Audio.a_explosion,Audio.ac_die)
func _on_animation_finished(): func _on_animation_finished():
queue_free() queue_free()

View file

@ -13,7 +13,7 @@ const ArrowProjectile = preload("res://objects/enemy/roboturret_proj.tscn")
func _ready(): func _ready():
timer.start(shoot_time) timer.start(shoot_time)
death_sound = Audio.a_die_robot death_sound = Audio.a_explosion
# adjust to difficulty # adjust to difficulty
shoot_time /= Game.enemy_speed_factor shoot_time /= Game.enemy_speed_factor
arrow_speed *= Game.enemy_speed_factor arrow_speed *= Game.enemy_speed_factor