Posts Tagged ‘Virtual World’

So You Want to be a Multiplayer Web Games Developer?

September 25, 2009 in Linux Client | Comments (0)

Tags: , , , , , , , , , , , , , , , , , , ,

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- www.mpogd.com. 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://www.blacknova.net/ BlackNova Traders is a web-based, multi-player space exploration game inspired by the popular BBS game of TradeWars. It is classified as a turn based mud. It is coded using PHP, SQL, and Javascript. BNT is officially at Beta but is a pretty complete game that is just not finished. In fact it may never be as long as developers keep tweaking it!

If you are going to develop a web game you need a server. Yes you could do it online but thats slow. Best to setup your own server.

A good starting point with the most popular technology is the Open Source L.A.M.P. family. That is Linux, Apache, MySql and Php. If you are replacing your windows pc with a new pc, wipe the hard disk on the old pc and install a Linux distribution and hook the two up with a crossover network cable. What was a relatively sluggish Windows PC is now a good development server running Apache, Php and Mysql. Linux Guis are pretty friendly these days but if you are unsure of administering Linux, download webmin from webmin.com 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.

By: David Bolton


Simplifying the Web Hosting Process

August 27, 2009 in Linux Client | Comments (0)

Tags: , , , , , , , , , , , , , , , , , , ,

The Internet is growing each day. More and more players continue to dominate the virtual world. The market is thriving, and each day new service providers are entering the market. But many call this market asymmetric and the key reason being the disparity of information between the buyers and sellers. Another industry from which a comparison can be drawn is the second hand car market where the seller of the cars always has more information than the buyer. Only when the car hits the road, the user can determine the true value of the vehicle.

The companies and individual can bridge this gap by learning all that they can about the industry. New technologies are flogging the market, some good, and some deficient. Information is critical and enables the customers to sieve the later.

Decide on the Web hosting provider: Getting a quote from more than one service provider is advisable. Also checking their track records, service basket, hidden costs if any and variety of software they provide are the key ingredients to make the website hosting a success.

Understand the Operating platform: Windows and Linux are the two primary operating platforms and users need to take an informed decision on which system to adopt.

Linux is like Unix-based operating system designed to efficiently work for personal computers and is cost-effective. This system is popular among the UNIX users and uses the PHP and Perl scripting languages. It is suggested that if the website is to be launched by an individual, small business or a non- revenue organization, then Linux is an ideal system.

Windows uses ASP and ASP.net is geared to handle large transaction, e-commerce and interaction on the website. It costs more and preferable choice when the business is expanding.

However, both Windows and Linux servers are secure and powerful and provide excellent speed and performance.

Choose your option: Content based website, e-commerce, video web hosting or non-revenue website, shared hosting or a dedicated web hosting – the user needs to decide his option and ensure that the service provider equips the website with all the essential features. These should definitely be good connectivity, email service, interactivity, speed, security and reliability. There are other optional services could be shopping cart, design templates and software, additional backup and storage space.

Acquire IP address: Ensure that you get an Internet Protocol address a system that helps transfer information from one computer to another. Whether the user opts for a Shared Web domain or a dedicated web platform acquiring the IP address is a must.

Constantly update yourself so that you can demand the latest and the most efficient technology from your service providers.

It is important that you understand key aspects of this virtual world so that this powerful medium is used to your advantage. In the highly competitive world any error or wrong decision may prove to be fatal. The website is the virtual window to your real world. It leads customers, target audience, your viewers or your business to your doorstep.

By: N Singh