Discuss Scratch

groko13
Scratcher
100+ posts

Clone problem

Hi! I made a project a while ago, and now I am working on updating it. The problem is, I don't know the right code to make the clones not touch the ball when they appear!Click here to see my project Otherwise a clone might appear where the ball is and make you lose. Please help me! This is what I have so far:
wh
when I start as a clone
go to x: (pick random (-24) to (125)) y: (pick random (-24) to (125))
forever

move (10) steps
if on edge, bounce
change y by (10)
change y by (-10)
end

Last edited by groko13 (April 7, 2014 19:20:23)


-This post was brought to you by me.
groko13
Scratcher
100+ posts

Clone problem

Scratch Team, can you move this to the Help with Scripts forum?

-This post was brought to you by me.

Powered by DjangoBB