Game Guides > pc game > all pc >  

So You Want to be a Multiplayer Web Games Developer?

In my first article “So You want to be a Games Developer?” (http://ezinearticles.com/?So-You-Want-to-be-a-Games-Developer&id=70920), I discussed various games genres, including Web/Email games. This is one of the easiest ways to start developing games- you aren’t restricted to one language or platform and the costs are pretty low. In this article, I’ll look at the various technologies that you can use, and give you an idea of what its possible to do and how you get started.

Web games fall into various sub categories- email games, browser games, and multi player games. Email games are by far the simplest- technically they aren’t web games and you don’t even need a computer to moderate them, just to send and receive. Browser games can be implemented in Flash, JavaScript (dhtml), Java and even ActiveX/COM. I’d guess that most single player games are implemented in Flash but I’ll save that for a future article. To start with, though I’ll take you through what is involved in developing Multiplayer Web Games.

Before you start, go and take a look again at the Multi Player Online Games Directory- . Its an excellent resource and gives you an idea of the type of games out there ranging from small free games to the massive games like Sony’s Everquest.

The big multiplayer games aren’t web based but they do work across the Internet. They tend to have their own custom written clients, with encrypted protocols, fast 3d graphics and large teams of customer support staff. I recommend http://terranova.blogs.com/ as an excellent blog on this- you’ll find articles and quotes from luminaries such as Richard Bartle who produced the first Mud (its short for Multi User Dungeon), and Professor Edward Castranova; an expert on virtual world economics. Muds also tend to use their own clients, usually based on Telnet. Although these are not web games, I recommend you widen your experience as much as possible. Muds in particular although not the most popular genre still do exist and provide a good model for interactive games.

Breaking into computer game design and programming is as easy as becoming a fulltime commercial game programmer- i.e. its not! But there is nothing to stop you developing your own web game, and MPOGD will be happy I’m sure to list it in their directory. If its Open Source you can set it up and find other developers on Soiurceforge.net.

There are two categories of web game: real-time and turn based, and this dictates the type of technology that drives it. Real-time is more complicated- the server has to support multiple connections at the same time and care has to be taken to synchronise actions between clients. If you attack someone and they’ve already moved but your client isn’t keeping up then your game is not going to be popular.

A crossover between multiplayer web games and custom client games is possible with Macromedia’s Flash. It is likely that multiplayer action games based on Flash will become more prolific- there are quite a few around now. Sadly sourceforge has many such ideas that have not got past the planning stage. Also what does exist may not be open source as creating such games takes a lot of work. Googling for flash, multiplayer game returns a couple of million results but add open source and it drops to a few hundred thousand.

Unless you are an excellent Flash developer and can write good server code as well, I suggest you stick to turn based games. The good news is that web based is an area where open source development is prolific. A search on sourceforge.net for ‘game servers’ returned several projects that are mature or beta. Fancy developing an RPG in Java? Use Arianne. Or if C# is more your style, have a look at Ovorp. The most popular languages are C++ and Java (for the server) but C# projects have now started appearing and you’ll find C, Perl, and Python as well. But don’t limit your searches to sourceforge- there are many projects elsewhere as well. An excellent resource for finding games is dmoz.org-= the Open directory Project. Have a look at http://dmoz.org/Computers/Open_Source/Software/Games/ and http://dmoz.org/Games/Video_Games/Roleplaying/Massive_Multiplayer_Online/Independent_Developers/

E.g. Black nova Traders, which is located on sourceforge at http://sourceforge.net/projects/blacknova and has its own url http:// and install it. It makes all the Linux administration stuff like configuring Samba (if you want to share drives), adding virtual sites to Apache etc very easy. Or easier still is the W.A.M.P route with everything installed on your Windows box. For pros and cons of this have a look here. http://ezinearticles.com/?Windows-vs-Linux–Hosting&id=21972

One word of caution. You might consider exposing your web server to the internet down your dsl connection. Nothing wrong with that though it limits you to having two or three users at once. If you have a static IP its pretty easy to map a domain to it. It can also be done with a dynamic Ip connection as well. Search for dynamic dns to find out how to make that work. Be sure in either case that you have enough firewall protection. An unprotected Windows pc will likely be taken over in under 15 minutes. I strongly recommend that you buy a firewall router or invest in a professional software firewall at the least.

In future articles I’ll discuss the nuts and bolts of game software development and start developing an open source game.