(02-17-2025, 06:55 PM)stevantosic Wrote: Networking on Maze3D web page (with server) is a very intensive and working in sync with game loop (50fps). Generally, it will be nice to have option in settings page for networking ("fps"): 1,5,10 or 50. This feature could eliminate network consuming between web page and server. The workflow:
Maze 3D web page -> game loop (~20ms) : 1. fetch (request + DB + response) -> calculations and start animation(s) -> 2. fetch(request + DB + response).
I will look into this, not so much the underlying fps loop that is handled by Babylon and client, initially I will add option to reduce the polling frequency.
EDIT
Added this option to settings - AB's issue was disappointing that I can't run the PHP async as this would lower the load overall.