Matt-Crow / GearBox

A C# MMORPG-like game.
0 stars 0 forks source link

Use events instead of polling for changes #102

Closed Matt-Crow closed 1 month ago

Matt-Crow commented 3 months ago

"Stable" game objects should use an EventEmitter to build their updates into the JSON sent to the client instead of having a ChangeTracker check every frame whether they've changed.

Matt-Crow commented 1 month ago

Removing until it becomes clear this is impacting performance, as a simpler solution has been implemented in aeb70b757477e53c76b3c96458e9a05aa78fb3f2