Jump to content

  • Log In with Google      Sign In   
  • Create Account

Interested in a FREE copy of HTML5 game maker Construct 2?

We'll be giving away three Personal Edition licences in next Tuesday's GDNet Direct email newsletter!

Sign up from the right-hand sidebar on our homepage and read Tuesday's newsletter for details!

We're also offering banner ads on our site from just $5! 1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


Member Since 17 Apr 2009
Offline Last Active Oct 18 2013 09:34 AM

#4962678 Resetting States in Slick2D

Posted by Trihex on 24 July 2012 - 12:06 PM

If I remember correctly, the enter method is called whenever you transition into the state. So make sure you are overriding that method, and reset any variables to the default state.