Audio system
This commit is contained in:
parent
b0ba8adcd7
commit
de2736c701
38 changed files with 2538 additions and 78 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue