When you push 0 (zero), the cat goes to x-offset / 2 by y-offset / 2. The cat then starts moving, turning at a certain angle and moving a certain number of steps. This number of steps increases constantly, giving a spiral effect. Also, a variable called redo-target increases. When you push the Spacebar, redo-target stops increasing and the cat goes to 0 - x-offset / 2 by 0 - y-offset / 2 and starts again. Then a number called redo-control increases. The second spiral stops when redo-control is equal to redo-target.
Press 0 (zero) to begin. When you press the Spacebar, it goes to a point you defined with x-offset and y-offset. Then the spiral starts again. It stops when the spirals are equal in size.
UPDATES:
v0.01: Super-bug: Angle variable wasn't working. Fixed that. Also actually made Zero start the spirals >.<
v0.02: I added a doohickey that tells the speed in pixels per decisecond (10ths of a second) that the spiral was made. I'm not even sure it tells the correct speed.
Comments
You need to be logged in to post comments
Add a Comment
cool
(view all replies)Comment Reply
It looks really cool when you set the x-offset to 1 and the y-offset to -1.
(view all replies)Comment Reply
I hereby give anybody in any part of the universe permission to use the code from this project in any way except to make an exact copy of the project.
(view all replies)Comment Reply
Keep in mind this is all done by one sprite with one script and two costumes.
(view all replies)Comment Reply