Jump to content
Site Stability Read more... ×
  • Advertisement
Sign in to follow this  
  • entries
  • comments
  • views

Spinning off the graphics engine...

Sign in to follow this  


So, I am revisiting the core framework for Epiphany and have realized that my graphics engine should be spun off from the game engine. Why? Well for one, the code is looking more and more speghettish ;) The other reason is that the graphics engine and game engine perform very unique tasks...

Ideallty, it the game engine should be a "hub". As such, it should implement the game loop and the scene graph. During each iteration of the game loop the game engine should process each game entity by making requests against the graphics engine (and other engines).

The graphics engine should be responsible for loading, rendering, and disposing of game entities AND recovering itself (if necessary). The graphics engine should also maintain resource pools for the loading (and sharing) of graphics resources such as Fonts, Meshes, Textures, and Shaders.

Previously the game engine was handling all of these tasks - and as such it was getting more and more difficult to maintain.
Sign in to follow this  


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!