The Most Important Part When Creating a 3D Game

Posted on:October 19 2009

From time to time, people send me mails, asking me if they can create a World of Warcraft, Oblivion or Quake like game when using Irrlicht as Game Engine. Well, in short: Yes, of course you can. No one will stop you.

But a longer answer would be: First, let me tell you that Irrlicht is a 3D engine. It draws nice graphics. And doesn't do a lot more. Irrlicht is NOT a game engine. Let me draw you a simple UML diagram, illustrating what you usually find in a typical game:


Diagram created using UModel


As you might notice, a very basic game consists usually of a graphics engine (examples for these are Irrlicht, Ogre or maybe even a DirectDraw based one), a sound engine (for example using fmod or irrKlang) and today, in most cases even a physics engine (like ODE or Bullet). And last but not least, there has to be the game logic somewhere. This is the most important part which no one will create for you, which is the core of your game. The component that is the fun part, the one that basically is your game.

All this together is forming a so called game engine.
The gray rectangles on the bottom on this diagram are exchangeable components. Instead of using Irrlicht, you could use DirectDraw and instead of using irrKlang you can use fmod, but the game you are creating will still be the same. The important part is the gray rectangle with the text 'Game Logic' on it. Concentrate on this, that's what the most essential part is.

So yes, you can create the next Oblivion using Irrlicht, if you like. But have you ever thought of making it fun first, and using for example simple 2d graphics? Before trying to generate a huge 3d world on your own which usually takes teams of up to 100 people, many years and several million euros of money? Games are not there for the graphics. They are there for the fun. For entertaining people. Just a thought.

(Disclaimer: This blog post has been created so I can link it for all the following mails I get, asking me if they can use Irrlicht as game engine for their next MMORPG.)





Comments:


Two comments:
1) Why don't you link OGRE or fmod? BTW, it's either fmod or FMOD, I never saw "fMod" before.
2) DirectDraw is really deprecated (since DX7) and recently was replaced by Direct2D.
rip
Quote
2009-10-19 16:49:00


corrected. The part with DirectDraw was just an example (as all libraries in there are), but yes, could have used direct2d as well.
niko
Quote
2009-10-19 17:00:00


Yes, but can one create the next Pong?! Write me quick; my whole development team is waiting to make his next move!
Jacob
Quote
2009-10-19 17:36:00


Nice Overview
the Link to ODE is a little wrong *fg*
By the way: Thanks alot for your projekts (Irr...) you are the best!
Stefan Branske
Quote
2009-10-19 23:41:00


That's so true. I am currently trying to get a game engine together with just a simple game to "test" it (a marble-madness-inspired-game ;) ). Later on I hope that I can put most of my focus to the game logics without having to care too much about the graphics and phyiscs and sound engines.

Btw: I spend at least half of the time (i guess even more) in desiging levels for my game. So if you want to create a WoW clone be sure that you have the manpower to get a nice and decent world put together, which is quite a lot more work than the simple levels of my "marbles" games.
Brainsaw
Quote
2009-10-20 07:14:00


I agree 100% with the above post, BUT
you left out the most important part: Networking code.

Whether you use a 3d or a 2d engine, the networking part in a mmorpg is by far one of the hardest things to write, even with a full high-level networking engine under your belt, you still have to deal with things like dead-reckoning (and endless DR debugging sessions), security, and scalability.

I'd LOVE to see some comments & suggestions about that. Anyone ever hoping to finish even the smallest mmorpg (or any multi-player network game for that matter) is going to have to deal with this.
Gothi[c]
Quote
2009-10-21 13:18:00


s/most important part/second most important part/ ;)
Gothi[c]
Quote
2009-10-21 13:33:00


@Gothi[c]: I didn't mention networking because I never done that. But I would like to do a networking version of my "marbles2" game ... I think I'll try that as soon as I'm finished with the current version without network.
Brainsaw
Quote
2009-10-22 07:22:00


Add comment:


Posted by:


Enter the missing letter in: "Inte?national"


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons