To embed this scenario in a web page, copy the following HTML code:
A new version of this scenario was uploaded on Wed Apr 30 12:57:10 UTC 2014
Any suggestion will be appreciated!!!
A new version of this scenario was uploaded on Wed Apr 30 14:30:56 UTC 2014
Why is it becoming so fast at the end???
I have privided the source code.
Plzzz help!!!
In your Ball class act method, you have three separate 'if' blocks, each with a 'setLocation' statement that will move the ball. When more than 10 off the bottom only the middle one will execute. When within then and not at the bottom, the first and third will execute. When at the bottom, all three will execute. That is why your ball speeds up when it is 'rolling' at the bottom.
2014/4/30
2014/5/1