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:
2026-01-08 07:15:20 -05:00
parent 9fe376e27e
commit ec02685065
69 changed files with 1525 additions and 708 deletions

View File

@@ -1,6 +1,13 @@
extends TextureRect
class_name PawnSelector extends TextureRect
@onready var anim_player : AnimationPlayer = $AnimationPlayer
@export var player_id : int
@export var selection : int = 0
@export var selected : bool
func setup(id : int, color : Color) -> void:
player_id = id
modulate = color
func play_animation(anim : String) -> void:
anim_player.play(anim)