We would like to build a community for Small Basic programmers of any age who like to code. Everyone from total beginner to guru is welcome. Click here to register and share your programming journey!


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
3D maze in browser controlled by Small Basic
#80
(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.
[-] The following 1 user Likes litdev's post:
  • stevantosic
Reply


Messages In This Thread
RE: 3D maze in browser controlled by Small Basic - by litdev - 02-17-2025, 07:13 PM

Forum Jump:


Users browsing this thread: AbsoluteBeginner, 32 Guest(s)