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:
@@ -19,5 +19,5 @@ func _on_body_entered(body: Node) -> void:
|
||||
|
||||
|
||||
func _on_hit_area_entered(body: Node3D) -> void:
|
||||
if body is Player:
|
||||
if body is PawnController:
|
||||
body.hurt(damage)
|
||||
|
||||
Reference in New Issue
Block a user