Monday 24 April 2017

Game Engine 23/04/17

So i've restarted the work on my game engine and i'm taking as basis the following books:
  • Game Engine Architecture (2nd edition)
  • Game Programming Paterns
My engine is message based and will use game objects/component architecture. I already have the basis for the system, such as the MessageManager class (sends messages to the target systems) and System class (receives and sends message from/to MessageManager).

I also created the following systems (classes that derive from System):

  • Console: receives input from the player and allows me to fake other systems by sending messages and receiving them;
  • Graphics: handles window creation and destruction, handles OpenGL calls and Renderer components (a component that can be put on GameObjects to draw them);
  • Resource Manager: handles resource loading and destruction, manages file tree and prevents resources from being loaded twice.
I will continue posting here the changes i make.