Restore landing fade and missing event sounds

This commit is contained in:
Loïc Wisniewski 2026-08-31 18:15:37 +02:00
commit eb1615ab6b
10 changed files with 91 additions and 15 deletions

View file

@ -24,12 +24,16 @@ const VOICES: int = 12
const SHOT: String = "shot"
const SHIP_DEATH: String = "ship_death"
const ENEMY_DEATH: String = "enemy_death"
const BUILDING_DEATH: String = "building_death"
const DIALOG: String = "dialog"
const SOUNDS: Dictionary = {
SHOT: "res://audio/sfx_shot.wav",
SHIP_DEATH: "res://audio/sfx_ship_death.wav",
ENEMY_DEATH: "res://audio/sfx_ship_death.wav",
BUILDING_DEATH: "res://audio/sfx_building_death.wav",
DIALOG: "res://audio/sfx_dialog.wav",
}
# Per-sound level. A shot is fired constantly and a death happens once, so
@ -37,7 +41,9 @@ const SOUNDS: Dictionary = {
const LEVELS: Dictionary = {
SHOT: -26.0,
SHIP_DEATH: -23.0,
ENEMY_DEATH: -23.0,
BUILDING_DEATH: -23.0,
DIALOG: -19.0,
}
# Shots vary a little in pitch so a stream of them does not turn into one