Sign in to follow this  

Process/State Management

This topic is 2119 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

This topic is 2119 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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