I have added a game state FSM based on the 'Miner' Demo of Matt Bucklands 'Programming Game AI by Example'.
I would like some advice on how to link the Intro Splash Screen, Main menu (which just will have Play game, Settings, Quit), and then the actual Game with it. I am working with what will hopefully be a component based engine .
In my game::init() function I have
as I want the program to first display a quick logo.
game::update() function I will have
if (state == GS_Playing)
// update game specifc systems here
First thing, how should I handle things like the splash screen and main menu? When should they get loaded / rendered? Should there be a specific system for them (MenuSystem)? Do they need to be updated in the game::update() loop, or just the game::render() loop?
I would love any advice on how to handle this, or links to a sample project that show this.