Discuss Scratch

LightAxe2402
Scratcher
12 posts

Clones not working

okay so as of now i am making a game that involves shooting via making clones the scripts look like this
 

when green flag clicked
forever

if <key [space] pressed?> then
create clone of [myself]
end

end

when I start as a clone
go to x: ([x position] of [MS]) y: ([y position] of [MS])
repeat until <touching [edge] ?>
move (shot speed) steps
show

delete this clone

end

Now i have encountered a problem where in the middle of the game the script stops working anyone else have this problem?

Last edited by LightAxe2402 (Aug. 10, 2014 01:35:54)

derpmeup
Scratcher
1000+ posts

Clones not working

I think the problem is that you need to move the delete this clone block out of the repeat block.

hey bro that's a pretty good meme xD!
LightAxe2402
Scratcher
12 posts

Clones not working

Thank you! that did it.

Powered by DjangoBB

Standard | Mobile