Tewam spawner
This commit is contained in:
parent
938feb9b35
commit
2bfbfa5089
8 changed files with 126 additions and 67 deletions
|
|
@ -12,15 +12,11 @@ var compensation_speed: float
|
|||
@export var compensation_time: float = 1.0
|
||||
@export var compensation_delay: float = 0.5
|
||||
|
||||
func _enter_tree() -> void:
|
||||
set_multiplayer_authority(get_parent().name.to_int())
|
||||
|
||||
func _ready() -> void:
|
||||
Input.mouse_mode = Input.MOUSE_MODE_CAPTURED
|
||||
# Move to level controller when possible
|
||||
#Input.mouse_mode = Input.MOUSE_MODE_CAPTURED
|
||||
if not is_multiplayer_authority():
|
||||
return
|
||||
# Move to level controller when possible
|
||||
Input.mouse_mode = Input.MOUSE_MODE_CAPTURED
|
||||
current = true
|
||||
|
||||
func _process(delta: float) -> void:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue