Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.



This topic is 5931 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

Depends on the type of program.

If it''s windows application you just have to make sure that you open any windows that should be open when your program starts and close one that shouldn''t be, also clear variables that shouldn''t have values in them yet, and ut default values in variables that should have them.

If it''s a game then the easiest way I know of s to use a state machine and have a state like GAME_STARTUP, that way you can return your game to that point at any time, just as long as you don''t gather resources in that state, you don''t want to allocate resources twice.

Jason Mickela
ICQ : 873518
Excuse my speling.

The V-Town Have-Nots

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!