This site requires JavaScript, please enable it in your browser!
Greenfoot back
leew145
leew145 wrote ...

2015/4/23

Need help with increasing speed in scenario.

leew145 leew145

2015/4/23

#
Is there a way to increase the speed of my scenario after a certain goal is met. For example in my scenario I would like to increase the speed of Green foot every time my fish eats 10 pearls and then 20 pearls and so on without the scenario stoping. Thanks for any help!
depimomo depimomo

2015/4/23

#
Try to use Greenfoot.setSpeed(speed you want); inside the goal condition. The standard speed is 50 so if you want to increase the speed, try 52 or more. cmiiw thanks :)
You need to login to post a reply.