Second Map, and sound effects

This commit is contained in:
2025-08-27 22:31:00 +02:00
parent 8108485091
commit 4ff651ff8f
21 changed files with 1863 additions and 48 deletions

View File

@ -27,3 +27,7 @@ func linear2db(linear: float) -> float:
if linear <= 0.0:
return -80.0 # mute
return 20.0 * (log(linear) / log(10.0))
func PauseAudio() ->void:
get_node("AudioStreamPlayer2D").stop()
get_node("AudioStreamPlayer2D2").stop()