Friday, January 25, 2013

Hey everyone!

So right now it's only 3 days before the deadline, so I'll have to keep it short. This time I'd like to explain a little bit more about our network code, seeing as I wasn't that clear about it last time.
So here's the overview.
First of all, when you start the game, and go to the online menu, the game will connect to our gamelist server.
On that server the gamelist is stored and sent to all the people who want to play online.
When you hit refresh a new gamelist is sent, and if you hit new game, a new game will be sent to the server. After that you disconnect with the server because you wont need to use it anymore, also, you will go to the pre-game lobby menu, where you wait for someone to join. To join you have to select one of the games in the gamelist and hit the join button, after which you will also go to the pregame lobby and connect with the host. In that screen you can chat, if you both pressed ready, the game host will be able to press start, after which the game will commence.
so in a drawing:

So that's all for today guys, since there is a lot of work to be done before monday.

Ruben

No comments:

Post a Comment