Pages: 1
Topic closed
I cant figure out the scripts for a sprite to keep on going around, and around forever. Any scripts?
Offline
A forever loop would do. Simply try:when green flag clickedforever{move (10) stepschange direction clockwise by 90 degrees}
What do you mean by "go around"? Go around what?If you want the sprite to spin around in place, try this script:
Both of those scripts will work, depending on what you want done.
Well, I want it to simply spin around. Go in a circle. Y'know?
scratchU8 wrote:Well, I want it to simply spin around. Go in a circle. Y'know?
Spin around, like constantly rotate, or move around in the shape of a circle?
Move the rotation centre away from the real centre of the sprite, and you'll more or less get what you want with Wilson's script.
Try this:Where increment is the number of degrees the sprite will turn each time, and circumference is well, the circumference of the circle.
Last edited by Harakou (2010-07-09 18:19:34)
Reduce the numbers to make it slower.