Skip to main content
GameDev.net gamedev.net
🔒 Locked

Process/State Management

Started by Jiggle156 Feb 22, 2012 at 8:30 AM 0 replies 800+ views
Original Post
Jiggle156
Jiggle156
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?

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.