Backbone
Posted: 06 Oct 2005 22:35
Ok - so we need to start the writing of the backbone of the game.
Obviously we need to start with a client-server architecture.
But what precisely do we need?
Server
Main loop
Time measurement
Constant frame speed (like - we go at 25 fps)
Sychronisation (client/server)
Communication (waiting for clients, establishing connection etc)
Client:
Main loop
Connection to the server
Sychronisation with the server
Some sort of time measurement
The problem we need to fix is the whole client server protocol
Esp the problem of _what happens when client is lagging/dropped off_ and _when server is lagging_ is to be solved.
Obviously we need to start with a client-server architecture.
But what precisely do we need?
Server
Main loop
Time measurement
Constant frame speed (like - we go at 25 fps)
Sychronisation (client/server)
Communication (waiting for clients, establishing connection etc)
Client:
Main loop
Connection to the server
Sychronisation with the server
Some sort of time measurement
The problem we need to fix is the whole client server protocol
Esp the problem of _what happens when client is lagging/dropped off_ and _when server is lagging_ is to be solved.