Jump to content

View more

Image of the Day

WIP title screen for #DeathOfAPartisan #screenshotsaturday #gamedev https://t.co/qJNhfZCvd4
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Slick2d Passing values between states

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
No replies to this topic

#1 stein102   Members   

556
Like
0Likes
Like

Posted 23 March 2013 - 06:27 PM

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






Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.