I’m working on the base structure for a small MP game (up to 4 players)…
Currently, the main App will spawn a server if it’s the host application using direct.stdpy.threading.
The server will then run separately from the app, which will serve as the client application which inherits the ShowBase.
The app update method gets added to the taskMgr and begins to loop.
In the loop, I can get dt = globalClock.getDt()…
However, what about the server? Can I import the clock directly in the server class which will be used to govern the game tick rate independent of the client render loops?