redhat-gamedev / srt-godot-client

Space Rings Thing Game Client (for Red Hat Gaming)
Apache License 2.0
7 stars 5 forks source link

Overhauls network communication to use C# queues #37

Closed thoraxe closed 1 year ago

thoraxe commented 1 year ago

Instead of immediately performing actions (AddChild, etc) which seemed like it could cause Godot errors, this overhaul implements C# queues to hold messages and then processes them via loops in the main game loop.

There's probably more efficient/better ways to do this, but this is what we've got for now.