Jump to content
  • Advertisement
Sign in to follow this  
  • entries
  • comments
  • views

Networking mayhem!

Sign in to follow this  


The last few days have been crowded with woes and worry on the network programming of Magma Duel; hopefully an addition that will give the game a boost of popularity for those who don't always have a friend nearby they can grab. :)

I'm happy to announce that I'm almost ready to write the network code for the game itself. All of this time/agony has been spent on the other major online stuff, the lobby and gamelobby system. If you've played Half-Life/Counterstrike, you already should have an idea of how this'll work:

-> The player hits "Play Online", and is connected to the master server. The master server holds a list of all games being hosted at the time, and sends this list to the player when a) he first connects or b) he requests it (via refresh).
-> In the lobby the player can chat with other players in the lobby (via TCP to the master server), or he can join/host a game.
-> If the player wants to join/host a game, he does so and is brought to another lobby, the game lobby, which each game being hosted has their own. They can chat in there (via UDP to the game host), and select a 'Ready' checkbox to indicate they want to join when the host launches the game.
-> And finally, when the host launches the game, all 'ready' players will join in, and the actual fun begins. :)

Right now I'm just about onto the last part. :P I just need to finish up some game listing maintenance, ensuring the player always gets a proper up-to-date listing of the games being played at the moment. Not to mention ping updating.

Phew, it's been a lot of work, and there's plenty more to come. I really hope that Magma Duel will get some players as a result of my efforts. It'll crush me when I complete all of this and nobody plays. :/
Sign in to follow this  


Recommended Comments

Ill play and test anything you want for magma duel.. just send me a PM.. Iam working on a similiar endavour but more focused on a multigame lobby... which sounds like your setting up for... anyway send me a PM if ther is any testing I can help with.

Share this comment

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!