Spectator, gui 👍
This commit is contained in:
parent
3c50aeae5f
commit
775763a128
9 changed files with 55 additions and 31 deletions
|
|
@ -32,7 +32,7 @@ func _process(_delta: float) -> void:
|
|||
if not is_multiplayer_authority(): return
|
||||
direction = Input.get_vector("plr_strafe_r","plr_strafe_l", "plr_back","plr_forward")
|
||||
|
||||
func _input(event: InputEvent) -> void:
|
||||
func _unhandled_input(event: InputEvent) -> void:
|
||||
if not is_multiplayer_authority(): return
|
||||
if event.is_action_pressed("plr_ult"):
|
||||
switch_on_server.rpc_id(1,"ultimate")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue