Sign in to follow this  
stein102

Slick2d Passing values between states

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

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