Sign in to follow this  
Jiggle156

Process/State Management

Recommended Posts

Jiggle156    100
I was recently reading a tutorial about a simple 2D game engine, and no - im not making an engine, im making a game.
A stack was used for both game states and processes, and left me a little confused.

Link: [url="http://content.gpwiki.org/index.php/SDL:Tutorials:Complete_2D_Engine_System_Core"]http://content.gpwik...ine_System_Core[/url]

Can someone please explain to me, using examples - how stacks can be used to manage states and processes in a game, and why this is preferable to say - a switch statement?

Share this post


Link to post
Share on other sites

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

Sign in to follow this