02-17-2025, 06:55 PM
(This post was last modified: 02-17-2025, 07:35 PM by stevantosic.)
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).
Maze 3D web page -> game loop (~20ms) : 1. fetch (request + DB + response) -> calculations and start animation(s) -> 2. fetch(request + DB + response).