We achived a communication between players using basic server/client architecture.
Our client is complex, we have the user control logic, the game controllers logic, the render logic, physics, etc. When we are in multiplayer mode, we forward user generated actions to all clients using the server like a gateway.
All user actions coming from other players will be forwarded to the player controller in the local client to simulate a local user control.
In our server, we process all the user actions incoming from a client and forwards it to others, besides, the server will send the game state to all players to synchronize them, this will be considered the last word :D.
This is very basic but is working great. We hope to complete a multiplayer playable version to the end of the actual iteration (21/2/09).
Thanks.
Suscribirse a:
Enviar comentarios (Atom)
No hay comentarios:
Publicar un comentario