Jump to content
  • Advertisement
Sign in to follow this  
stein102

Slick2d Passing values between states

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

Okay, my game is set up to have a main menu, play and loadMenu state. In the LoadMenu State, you can select which level you want to play instead of having to play through the game to get to each level, you can also play user created levels. What I need to do is take a selection from the LoadMenu state, and pass a string into the Play state when it enters so it knows which level to load. Any ideas?

 

Thanks

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

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