http://GameProgrammer.Com

Programming

GP Mailing List
     Thread Index
     Date Index

ATXGPSIG List
     Thread Index
     Date Index

Google
>

Home

Wise2Food



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gameprogrammer] Re: [gameprogrammer]



On Sun, 2008-01-06 at 17:05 +0530, ®£$ǖ"v@M$Ħ ¢© $. wrote:
> I have a question which i had asked a long time ago but failed to
> receive a reply.... Well here it is:
> 
> Why would any one use C++ instead of a game engine.... To make a
> sphere in a game engine you can just write CreateSphere or somehting
> like that... But in C++ we would have to write hundreds  of lines of
> code....???? 
> 

It all depends on what you want to accomplish and the resources
available to you. If you can do what you want to do, that is, you can
write the game you want to write, using a game engine. Then, by all
means, use the game engine. On the other hand, if you want to create
something that isn't possible with a game engine, then write the code
your self. 

BTW, drawing a sphere in C++ can be hundreds of lines of code, or it can
be one line of code. It all depends on the libraries you use. There are
a lot of levels between using raw C++ and using a game engine. Even if
you do not want to use a game engine you may well still use many high
level libraries. 

There is also the question of cost. There are a lot of different ways of
measuring cost. Cost is not just about money. Money, of course, is the
obvious way to measure costs. Time is another one. And licensing is yet
another one.

Using a game engine can have a high money cost. The really good
commercial quality game engines are very expensive. 

Using a game engine has a time cost too in that you have to learn how to
use the engine. Often that means learning the scripting language used by
the engine. It also means learning the object model used by the engine
so that you can extend it, or even use it if the way you use it, if the
only way to use it is to extend its classes in C++.

Many people have a lot more time than they have money. So, they would
tend to program their games rather than use an engine. And, in many
cases it is easier and faster to write a game from scratch than it is to
learn a game engine. 

One other thing, there are *many* kinds of games and many programming
languages and systems in the world. The choice is not between C++ and a
game engine. 

	Bob Pendleton


> 
> 
> 
> -- 
> Reply,
> ???£   ®(((Ŝǖ"v@ˉ˘MśĦ ¢  ???)))©
> 
> garbagegames.weebly.com
> Garbage Games: Games for the Next-Gen
-- 
+--------------------------------------+
+ Bob Pendleton: writer and programmer +
+ email: Bob@Pendleton.com             +
+ web: www.GameProgrammer.com          +
+ www.Wise2Food.com                    +
+ nutrient info on 7,000+ common foods +
+--------------------------------------+



---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html