Audio system

This commit is contained in:
Rendo 2025-11-30 16:22:11 +05:00
commit de2736c701
38 changed files with 2538 additions and 78 deletions

View file

@ -5,6 +5,7 @@ extends State
@export var max_speed: float = 5.0
@export var acceleration: float
@export var weapon_system: WeaponSystem
@export var land_sound: MultiplayerAudio3D
func enter() -> void:
pass
@ -18,6 +19,7 @@ func physics_update(delta: float) -> void:
return
if player.is_on_floor():
transition.emit("Stand")
land_sound.multiplayer_play()
player.velocity += player.get_gravity() * delta