Jump to content


Game Engines ... ?


27 replies to this topic

#1 TheLionKing

    Valued Member

  • Members
  • PipPipPip
  • 143 posts

Posted 27 August 2003 - 07:04 AM

Every where we hear that a Game Engine is developed. It is very strong and powerful and has some special effects :blush: . Even for producing special effects demos it is quoted that the engine helps in producing special light effects.

So, my question are these :
* How do you define an Engine?
* What basically is the Engine?
* How do you create it and steps involved in its creation?
* Where can it be implemented and How ...?

Maybe stupid ... but I am curious to know ... :blush:
<span style='color:blue'>I can survive anything ... even NUKES!!!
The Lion King</span>

#2 anubis

    Senior Member

  • Members
  • PipPipPipPip
  • 2225 posts

Posted 27 August 2003 - 08:46 AM

an engine basically is something that you feed data and that has a certain output on the other end. like you feed models and textures to a gfx engine and it draws them on the screen. there aren't only gfx engines of course. you could be developing a scripting engine...
an engine has no standalone functionality though. it needs a client application to feed it data and tell it what to do with that data ( "here is a model. i'd like that to be drawn at [x,y]").
a complete "game engine" would maybe include many services, such as network services, scripting, AI routines, gfx, etc.
If Prolog is the answer, what is the question ?

#3 davepermen

    Senior Member

  • Members
  • PipPipPipPip
  • 1306 posts

Posted 27 August 2003 - 09:21 AM

well said, anubis. its fun because i've seen so much threads about this and nobody knew an answer..

a worlds first on devmaster.net! :D
davepermen.net
-Loving a Person is having the wish to see this Person happy, no matter what that means to yourself.
-No matter what it means to myself....

#4 TheLionKing

    Valued Member

  • Members
  • PipPipPip
  • 143 posts

Posted 27 August 2003 - 10:21 AM

:yes: like (for example) if you buy game and it also contains an editor to build level for the games ... what you mean is that editor is the game engine ... right :blush:
<span style='color:blue'>I can survive anything ... even NUKES!!!
The Lion King</span>

#5 davepermen

    Senior Member

  • Members
  • PipPipPipPip
  • 1306 posts

Posted 27 August 2003 - 10:43 AM

no, the thing that runs the game is.

think of it that way: you can replace levels, models, and all.. for example you replace all doom3 models,levels,scenes,everything in doom3 with.. say.. mario64 models,levels,sounds etc..
it would still be doom3 running in the background, this time displaying the mario64 world. the doom3 that runs then is the engine.. the thing, that makes your game run.

for example, you can buy the quake3 engine, and use it for your own game. done for alice for example, and others. or the quake2 engine, or what ever engine. just the exe + dll's actually..
davepermen.net
-Loving a Person is having the wish to see this Person happy, no matter what that means to yourself.
-No matter what it means to myself....

#6 TheLionKing

    Valued Member

  • Members
  • PipPipPip
  • 143 posts

Posted 27 August 2003 - 11:25 AM

:yes: Got it ...!

;) Any tutorials or guidlines on creaing an engine :blush: ?
<span style='color:blue'>I can survive anything ... even NUKES!!!
The Lion King</span>

#7 anubis

    Senior Member

  • Members
  • PipPipPipPip
  • 2225 posts

Posted 27 August 2003 - 01:42 PM

google should know about several million =]
you can learn what makes an engine best if you simply read and try to understand the code of other engines... a great place to start is the nebula engine from radonlabs the quake I + II engines might be interesting, too.
If Prolog is the answer, what is the question ?

#8 baldurk

    Senior Member

  • Members
  • PipPipPipPip
  • 1057 posts

Posted 27 August 2003 - 08:26 PM

I think that finding an "game engine" tutorial will not be what you want. It's such a big thing, that all you would find would be how to organise the different subsections. Your best idea would be to learn how to make the subsections, gfx, AI, etc. Perhaps only one that you'd like to do.

Quote

the quake I + II engines might be interesting, too.

I don't think that would be a good idea for learning :)
baldurk
He who knows not and knows that he knows not is ignorant. Teach him.
He who knows not and knows not that he knows not is a fool. Shun him.

#9 anubis

    Senior Member

  • Members
  • PipPipPipPip
  • 2225 posts

Posted 27 August 2003 - 08:58 PM

true... mr. carmacks coding style is rotten...
If Prolog is the answer, what is the question ?

#10 Amithran

    Member

  • Members
  • PipPip
  • 32 posts

Posted 27 August 2003 - 10:49 PM

Sir - I do demand your critique of Carmacks coding style to be retracted with a formal apology.


His code - is most holy (in a non-blasphemis way) as the holy grail. Only the weak of heart whom could not grasp the greatness of his code would dare to call it rotten..


Actually I think you (Lion King guy) could learn a LOT by getting the Quake 3 SDK (source code) and examining it. Goto www.planetquake.com/code3arena and read a bunch of the articles and tutorials for modding it. WHen you are done - you will come out a better person (programmer wise).

#11 TheLionKing

    Valued Member

  • Members
  • PipPipPip
  • 143 posts

Posted 28 August 2003 - 07:38 AM

Thanks guys ... I have got the point ... thank you all :yes:
<span style='color:blue'>I can survive anything ... even NUKES!!!
The Lion King</span>

#12 anubis

    Senior Member

  • Members
  • PipPipPipPip
  • 2225 posts

Posted 28 August 2003 - 08:14 AM

i didn't say that the code is rotten... only that the style, by which i mean the readability of the code, is substandard. i well aware that mr c. is able to produce bitchin fast code. nonetheless i don't like his way of coding.
If Prolog is the answer, what is the question ?

#13 baldurk

    Senior Member

  • Members
  • PipPipPipPip
  • 1057 posts

Posted 28 August 2003 - 06:35 PM

single character variables aren't very readable :). Very good to code though. OK for him.

If you are a seasoned coder, it's probably a good thing. You can see how the pros do it, and it's not a problem to wade through the code to find what you want.
baldurk
He who knows not and knows that he knows not is ignorant. Teach him.
He who knows not and knows not that he knows not is a fool. Shun him.

#14 Amithran

    Member

  • Members
  • PipPip
  • 32 posts

Posted 29 August 2003 - 12:02 AM

If you have trouble reading carmacks code you are a nubi. Haha - get it ? A newbie? ahahaha ziiiiing.


I think your mad his code isn't cluttered with // this line does this
comments. You actually have to know how to follow programming with out comments.

It may seem difficult or ackward at first = but spend a good amount with his source and I think you'll come to see it as pretty easy to understand as well.

#15 davepermen

    Senior Member

  • Members
  • PipPipPipPip
  • 1306 posts

Posted 29 August 2003 - 07:50 AM

his code style is rotten. i'm no newbie and i can understand his code and i can state because of that his code style is rotten.

even he states his code is rotten :D (well, not "rotten", but a mess..).

btw, an engine is nothing big. but a big thing to understand how it exactly works. the components of the engine can get quite big, too, depending on what features you want to add..

the most complex thing in programming is not how to solve a certain problem, but how to organize tons of "problem-solutioners" together to make it a working full program/engine..

in graphic-terms: you can make a particle demo, a bumpmapping demo, a stencilshadow demo, an animated mesh demo, a small rigid body demo, a simple fps-demo, a tree-generation-demo, and all. but making it all work together, thats hard. very hard. and not because you don't know how to do it actually. but because you have to do it, and its rather complex to orient yourself then in it.
davepermen.net
-Loving a Person is having the wish to see this Person happy, no matter what that means to yourself.
-No matter what it means to myself....

#16 anubis

    Senior Member

  • Members
  • PipPipPipPip
  • 2225 posts

Posted 29 August 2003 - 08:15 AM

amithran : what is your problem ??? good for you if you like his coding style... i don't, so whatv ??? i'm certainly no newbie and i wouldn't make that comment about his code if couldn't understand it. but maybe you are the newbie for thinking that john carmack is "the god" of coders. which he isn't. and also maybe you are the newbie because you haven't read enough other engine code to judge what good coding style is. also if you would have carefully read my post you would have noticed that i didn't criticize the code itself but simply the way it was written... it's form. but sorry if i stepped on your toes...

Quote

I think your mad his code isn't cluttered with // this line does this
comments. You actually have to know how to follow programming with out comments.

that is about the most moronic remark i have read so far...
If Prolog is the answer, what is the question ?

#17 anubis

    Senior Member

  • Members
  • PipPipPipPip
  • 2225 posts

Posted 29 August 2003 - 08:32 AM

Quote

If you have trouble reading carmacks code you are a nubi. Haha - get it ? A newbie? ahahaha ziiiiing.

so you agree then that the code is difficult for a newbie to read ? fine because that was the hole point...

Quote

the quake I + II engines might be interesting, too.

Quote

I don't think that would be a good idea for learning

If Prolog is the answer, what is the question ?

#18 baldurk

    Senior Member

  • Members
  • PipPipPipPip
  • 1057 posts

Posted 29 August 2003 - 06:17 PM

cool down anubis. No need to get insulting.

I think we can all agree that coding styles are really just opinions. You might be able to say that Carmack's isn't newbie friendly, but anything else will just become flaming.
baldurk
He who knows not and knows that he knows not is ignorant. Teach him.
He who knows not and knows not that he knows not is a fool. Shun him.

#19 TheLionKing

    Valued Member

  • Members
  • PipPipPip
  • 143 posts

Posted 30 August 2003 - 06:03 AM

:yes: Yeah! the code is ofcourse intend for intermediate programmers. Not for nebies.

Well ... all seems to be going towards flaming :blush: !
<span style='color:blue'>I can survive anything ... even NUKES!!!
The Lion King</span>

#20 baldurk

    Senior Member

  • Members
  • PipPipPipPip
  • 1057 posts

Posted 30 August 2003 - 11:13 AM

Quote

Well ... all seems to be going towards flaming

Not if I have anything to do with it :)
baldurk
He who knows not and knows that he knows not is ignorant. Teach him.
He who knows not and knows not that he knows not is a fool. Shun him.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users