Jump to content
  • Advertisement
Sign in to follow this  

Process/State Management

This topic is 2800 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: http://content.gpwik...ine_System_Core

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
Sign in to follow this  

  • 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!