Zemanzo / web-marbles

Aims to recreate Marble Racing from the ground up, as a fully web based game
https://playmarbl.es/
GNU General Public License v3.0
23 stars 12 forks source link

Gameplay/physics using Emscripten #157

Closed Qaomen closed 3 years ago

Qaomen commented 5 years ago

Description Due to server-side performance issues (mainly regarding mesh colliders and collision callbacks), we should use Emscripten to alleviate some of these problems. In short, if we rewrite most performance-heavy code in C++ and encapsulate this in Emscripten (like how the current physics implementation works), the code is expected to perform better.

Minimum Acceptance Criteria

Qaomen commented 3 years ago

Closed because this is way out of scope. It requires a full rewrite of all of the server's game code (and some related code) and might as well be a completely separate project at that point. If any optimizations are needed in the future (apart from putting it on a separate thread to keep the server responsive), small WebAssembly modules may be the way to go