lampe-games / godot-open-rts

Open Source RTS game made in Godot 4
https://lampe-games.itch.io/open-rts
MIT License
494 stars 70 forks source link

Rework player handling #92

Closed Scony closed 7 months ago

Scony commented 7 months ago

Currently Player resource is the actual "player" while player controllers (nodes), units (nodes), and other subsystems are just holding refs to Player. It requires a lot of manual synchronization and therefore is error-prone as well as hard to understand.

As part of this ticket, I'll simplify the situation in a following way: