hello,
i have a simple client-server game.
i am currently having problems to manage the status in which the client is, since already with this small game there are so many situations and so many dependencies.
example:
the player is in a certain zone and uses a portal to switch to another zone. then of course some loading process starts where new terrain data and models have to be loaded, as well as certain information has to be gotten from the server.
since the server does not know in which state the client is, he also sends gameplay information of the new zone during the loading process.
so my question is, how do i manage all these dependencies in good software development?
also, should the server wait for the client state before he sends information or should the client buffer information and apply it whenever he is ready.
thanks!