This site requires JavaScript, please enable it in your browser!
Greenfoot
Username
Password
Remember Me?
Sign Up, Lost Password
Activity
About
Documentation
Download
Discuss
Scenarios
dyl_fisher
wrote ...
2015/3/11
How can i make a car do a loop from one side of the world to another
dyl_fisher
2015/3/11
#
I need to make a car move vertically along the world and when it reaches the other side it needs to start over from the bottom of the world, in line with the point it touched at the top.
danpost
2015/3/11
#
When (or 'if') the car returns a 'getY' value of zero, set its location to (getX(), getWorld().getWidth()).
You need to login to post a reply.
X