Discuss Scratch

kajdna
Scratcher
13 posts

Simple Iteration -- Need Help

Hello,

I am learning iteration. I have made a script that has made a petal, returned my Sprite to x=0,y=0 and then rotated my Sprite to iterate the next petal.

The problem is, no matter how I try to iterate it, whether one more petal or eight more petals, the NEXT petal shape CHANGES into a blob that looks completely unlike my first petal. And YET I am using the same values for my first correct petal.

I have no idea why this should be happening and I can't figure out a solution because my first petal values are correct. What is there to change?

Here is my link:

https://scratch.mit.edu/projects/69366462/

Please give me a link of the solution. I would be very grateful.
drmcw
Scratcher
1000+ posts

Simple Iteration -- Need Help

Delete the first green flag script, you only want one, and the one that ends with trun 45 degrees is the right one, just put the repeat 8 around that whole script and it will work.

Powered by DjangoBB