Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 30 Sep 2010
Offline Last Active Jul 23 2013 07:38 AM

#4977135 What exactly is a Game Engine?

Posted by ASnogarD on 06 September 2012 - 04:28 AM

In short , a game engine is a set of tools that allow you to craft a game using those tools provided.

It makes more sense when you actually make a small game, and then another small game... you can take a few things from your first game and use them in the second game... in C++ and SDL that would be your initiating SDL functions, blitting functions, loading art functions, probably your text functions... stuff that doesnt change that much and each game can use.
The more games you make the more 'tools' (tricks, techniques, methods) you aquire and the more you put into your next game... eventually you have a nice set of tools.
A Game Engine allows you to bypass that building up of your tool collection and presents you with the tools (but you do now have to learn how to use the tools as you didnt aquire them normally).

A Game Engine is usually coded in a more robust manner concentrating on ensuring the interfaces provide only the actions that were intended, and not allow for unintended calls... proper encapsulation, whereas most beginner coders are more concerned with getting damn thing to run and dont worry if someone else uses the code.

#4951499 Advice in starting 2D game programming

Posted by ASnogarD on 21 June 2012 - 03:12 PM

The only book I know of for SDL is Focus on SDL, but I cant vouch for how good it is.
I would suggest IF you go SDL , visit :

http://lazyfoo.net/index.php for good tutorials and tricks , plus articles.
http://www.sdltutorials.com/ for some more SDL based techniques

or for SFML you could try


Both SDL and SFML have lots of online resources but I doubt you will find many books to read through on the subject.

Hope that helps some.