View Full Version : What "parts" do game consist of?
01-06-2003, 01:57 AM
I'm just curious about how a typical game is structured. What "parts" do OpenGl games consist of (Objectloader.....etc) ?
01-06-2003, 06:36 AM
In game engine you need to control things like:
-Entities (e.g. monsters, lights, cameras)
I'd suggest something like manager for everyone.
Furthermore you need stuff like:
-UI (User Interface, that is windows, menus etc)
-Input/Output (console, binds etc)
And some low level things like:
-Convenient structures to keep data
OpenGL has very few to do with game engine, since graphics is not the biggest part of game engine.
You can encapsulate whole OpenGL specific code in few classes derived from virtual ones (for example class that keeps track of state changes), so you're not OpenGL dependent.
Hope it helps.
I may have missed something, but I believe those I mentioned are most important in professional game engine.
[This message has been edited by MickeyMouse (edited 01-06-2003).]
Powered by vBulletin® Version 4.2.2 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.