How to create a game engine
I've been searching information about game engines and developing a game engines alot lately, but I haven't found any good tutorial/article yet, that would contain the basics of engine programming and maybe about engine design etc..
I have the solid knowlegde of C++ basics and I would like to find out how to create an engine and I don't have much exp. about graphics programming yet.
so.. do you recommend any tutorials, maybe a book..?
First off, get solid knowledge of Advanced C++. Only having the basics will make things exceptionally more difficult.
Quote:Original post by zeeli
what do you mean by advanced c++
Templates, STL, iterators, exception handling, functors, inheritance, ploymorphism, virual classes and the cost of using them, operator overloading, understanding of temporaries, smart pointers, memory management...
Quote:Original post by zeeli
what do you mean by advanced c++
Well, you said you have a good understanding of C++ basics. This implies that there are 'not basic' things you don't know or aren't comfortable with. These advanced topics [such as the ones listed by T1Oracle] make the difficult task of making a computer game plausible.
If you have a good understanding of how to program with cpp you should start working on a small project.
If you're comfortable with most of the concepts mentioned above, the best way to start writing an engine is to 1) try it yourself to work out where the difficulties lie and 2) examine the source code of some existing engines for solutions to these problems.
Engines worth a look include Wild Magic, OGRE and Irrlicht, amongst others. Also have a look at the Enginuity article on GameDev.
Engines worth a look include Wild Magic, OGRE and Irrlicht, amongst others. Also have a look at the Enginuity article on GameDev.
Quote:Original post by zeeli
but I haven't found any good tutorial/article yet, that would contain the basics of engine programming and maybe about engine design etc..
Speaking of which, me and a couple of mates have got together and came up with a game engine design, and we are documenting it, writing an article on it, why we designed and made it the way we did. Read some books on object orientated design to get you off the ground, and draw LOTS of diagrams, work out exactly what you want your engine to do, and all the usual blah.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement