http://scratch.mit.edu/projects/firedra … st/2882831Download it. It won't work. I commented the code.
Offline
You forgot to reset the X values in the nested loop. Put set X to -240 right before the inside loop. Also, Y is incremented. Since you're going down, you need to decrement. Change the change Y by 360 / size to -360.
Last edited by Molybdenum (2012-11-03 18:18:25)
Offline
Molybdenum wrote:
You forgot to reset the X values in the nested loop. Put set X to -240 right before the inside loop. Also, Y is incremented. Since you're going down, you need to decrement. Change the change Y by 360 / size to -360.
Still's broken.
Offline
Firedrake969 wrote:
Molybdenum wrote:
You forgot to reset the X values in the nested loop. Put set X to -240 right before the inside loop. Also, Y is incremented. Since you're going down, you need to decrement. Change the change Y by 360 / size to -360.
Still's broken.
Oh wait. Change the 480/size and -360/size inside the changes to...
Just size.
No wait. The Y needs to be -size.
Last edited by Molybdenum (2012-11-03 18:19:27)
Offline
Molybdenum wrote:
Firedrake969 wrote:
Molybdenum wrote:
You forgot to reset the X values in the nested loop. Put set X to -240 right before the inside loop. Also, Y is incremented. Since you're going down, you need to decrement. Change the change Y by 360 / size to -360.
Still's broken.
Oh wait. Change the 480/size and -360/size inside the changes to...
Just size.
No wait. The Y needs to be -size.
Wait, what? Say just what needs to be fixed.
Offline
repeat ((360) / (size)) set x to (-240) repeat ((480) / (size)) change x by (size) set [color v] effect to ((x position) * (y position)) stamp end change y by ((0) - (size)) endReplace the bottom with that.
Last edited by Molybdenum (2012-11-03 18:25:35)
Offline
Molybdenum wrote:
Firedrake969 wrote:
Molybdenum wrote:
You forgot to reset the X values in the nested loop. Put set X to -240 right before the inside loop. Also, Y is incremented. Since you're going down, you need to decrement. Change the change Y by 360 / size to -360.
Still's broken.
Oh wait. Change the 480/size and -360/size inside the changes to...
Just size.
No wait. The Y needs to be -size.
um... im confused
Offline
coolguy308 wrote:
Molybdenum wrote:
Firedrake969 wrote:
Still's broken.Oh wait. Change the 480/size and -360/size inside the changes to...
Just size.
No wait. The Y needs to be -size.um... im confused
Molybdenum wrote:
repeat ((360) / (size)) set x to (-240) repeat ((480) / (size)) change x by (size) set [color v] effect to ((x position) * (y position)) stamp end change y by ((0) - (size)) endReplace the bottom with that.
Offline
awww, It took me a while to get this, but there it is.
Molybdenum is exactly right; but for re-sizing the sprite I used different costumes instead of re-sizing. Great pattern you found!
Offline