Sunday, 20 January 2013

Architect the engine

This week topic was game engine architecture. We need to separate the game engine from the game itself so that we can reuse the game engine for another game. The goal is to have an architecture like the game architecture in our textbook Game Engineering Architecture by Jason Gregory.

Game Engine Architecture from the Game Engine Architecture book by Jason Gregory


Of course we don't need such a complex architecture. Well, at least now. This is my architecture for my MonsterChase game.

My current game engine architecture

We don't want to store same information in each sub-engine. Therefore I kept it within the Entity class. Then each Renderer, Physics, and Collision engine will have access to the Entity which is hold by the world, where all the objects in the world are hold.


My Entity class header

No comments:

Post a Comment