Entity Manager: Where to start?

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
c_olin3404
Posts: 67
Joined: Fri Jan 23, 2004 5:04 am

Entity Manager: Where to start?

Post by c_olin3404 »

In my first person shooter engine I want to add an entity manager for entity types such as the player, other clients (for network play), ammo, weapons, lights, bots. particle emiters. But I have no idea where to start! I searched google for a tutorial or article with some info on how an entity manager is written. And I also searched gamedevs areticles but didn't find anything good. How did you guys learn how an entity manager is written? Did you just make it up by yourself?

I don't want you guys to write it for me, I would just like a brief sumary on how it is structured, or if you know a good tutorial or article i would greaty enjoy a link!

Note: I will be writting it in C++ OOP, so looking at the source of quake 1, 2 won't help. (is quake 3 C++ OOP?)

Thanks in advanced
Tyn
Posts: 932
Joined: Thu Nov 20, 2003 7:53 pm
Location: England
Contact:

Post by Tyn »

Yeah, there is a good one in GameDev. They call it an Object Factory which is why you may not have found it, it is quite good. Unfortunatly I can't get the link from the computers at work, they time out on any webpage without straight HTML ( their website has a lot of adverts on it ).

Edit: Your lucks in, the website didn't crash for 5 minutes, lol.

http://www.gamedev.net/reference/progra ... ctfactory/
Post Reply