Hey guys. first post i guess. Ive been fooling around with teh irrlicht engine but somehow i just cant seem to wrap my head around how to use it for a small or medium sized game.. i was wondering if someone would be so kidn to provide me with a (or a few) link(s) to an opensource game that uses irrlicht. i need to have a look at the architecture of the code. how the irrlicht functions are called etc. i found a little racing sim but it didnt look to pretty and there was no gurantuee on whether or not the api wa used correctly. Thanks,
10c.
Need a Game Architecture Example
Need a Game Architecture Example
this noob has a long way to go.
-
- Posts: 914
- Joined: Fri Aug 03, 2007 12:43 pm
- Location: South Africa
- Contact:
Re: Need a Game Architecture Example
You can check my sig though I can't promise I, used it correctly, as you put it..tenseiga wrote:i found a little racing sim but it didnt look to pretty and there was no gurantuee on whether or not the api wa used correctly. Thanks
-
- Admin
- Posts: 3590
- Joined: Mon Oct 09, 2006 9:36 am
- Location: Scotland - gonnae no slag aff mah Engleesh
- Contact:
Irrlicht is a 3D engine, not a game engine. This is important because it makes few demands on the game architecture. In other words, there's no "correct" way to use it, at least architecturally. Whatever works for you is correct.
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
I also would say that the architecture depends on the game type...
and right, there is not realy a correct architecture...
and right, there is not realy a correct architecture...
while(!asleep) sheep++;
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
well yes i understandt hat theres no correct way to do it, but for some reason i cant figure out ANY way to lay out the code. The game design is pretty simple. its 3d pacman. u play the whole game from an fps point of view. you can see the ghosts sillhoutes through the walls and theres a small minimap that indicates only the remaining feeds.
So i just wanted to have a look at a few or maybe one games code to get a few ideas. I have a few of my own but that was back in the 2d days where there was just a draw(tex, pos).
peace all and thanks for the help,
10c.
So i just wanted to have a look at a few or maybe one games code to get a few ideas. I have a few of my own but that was back in the 2d days where there was just a draw(tex, pos).
peace all and thanks for the help,
10c.
this noob has a long way to go.
-
- Posts: 914
- Joined: Fri Aug 03, 2007 12:43 pm
- Location: South Africa
- Contact:
yes, a nice idea !!!
you can also look at my site, there I have 3 games for download I created (including sources)...
the "999er" game is commented (but it also uses Irrlicht plus my extensions), the other 2 games are not well commented though...
maybe you get some inspirations with it...
and if you have questions then ask here in general (of course you can send me an email too if youhave questions about my games)...
you can also look at my site, there I have 3 games for download I created (including sources)...
the "999er" game is commented (but it also uses Irrlicht plus my extensions), the other 2 games are not well commented though...
maybe you get some inspirations with it...
and if you have questions then ask here in general (of course you can send me an email too if youhave questions about my games)...
while(!asleep) sheep++;
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
You can check out IrrWizard: http://irrwizard.sourceforge.net/wiki/i ... /Main_Page
It makes the general framework for a basic FPS game.
I looked at the UML framework for inspiration for my game (not an FPS, but still applicable), and it's really helpful in showing the general manager classes that you probably will need. You can find the pic of it here:
http://irrwizard.sourceforge.net/uml/content/
Scroll down and right, it's big!
You can also download IrrWizard itself which set's up a project for you with the skeleton of that framework already written in.
It makes the general framework for a basic FPS game.
I looked at the UML framework for inspiration for my game (not an FPS, but still applicable), and it's really helpful in showing the general manager classes that you probably will need. You can find the pic of it here:
http://irrwizard.sourceforge.net/uml/content/
Scroll down and right, it's big!
You can also download IrrWizard itself which set's up a project for you with the skeleton of that framework already written in.
think what the game needs to do, eg move player, check wearther its alive etc, then create functions or clsses of functions which do the nesoserry calculations.
something else you could do is start by making a prototype with 1 huge function, then brake it up as nesoserry.
I am also new to programming, but i find this tecnque works quite well
something else you could do is start by making a prototype with 1 huge function, then brake it up as nesoserry.
I am also new to programming, but i find this tecnque works quite well