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
JamesArnus
wrote ...
2018/11/28
How do I move an object random with a Smooth Mover?
JamesArnus
2018/11/28
#
I want to move an object randomly without it jumping back and forth, my world is 1200x800x1
Zamoht
2018/11/28
#
A way to do this would be to randomly pick a direction. Then create a counter and make the object move in the random direction for <counter> act cycles. When the counter hits 0 you pick a new random direction and fill up the counter again.
You need to login to post a reply.
X