Renamed a bunch of player stuff to pawn stuff and implemented extensive work on getting single-address 'netplay' code working. Not sure if I've created issues with single player but in theory it should all transfer across as if the player is simply always the host.
This commit is contained in:
10
scripts/pitfall.gd
Normal file
10
scripts/pitfall.gd
Normal file
@@ -0,0 +1,10 @@
|
||||
extends Node3D
|
||||
|
||||
@onready var timer : Timer = $Timer
|
||||
var duration : float
|
||||
|
||||
func _ready() -> void:
|
||||
timer.start(duration)
|
||||
|
||||
func _on_timer_timeout() -> void:
|
||||
queue_free()
|
||||
Reference in New Issue
Block a user