Discuss Scratch

harleycurnow
Scratcher
100+ posts

Controlling Clones separately??

Is there a way I can get the boxes to move separately??

http://scratch.mit.edu/projects/10981657

It's for a shipping game and having multiple ships would triple the amount of sprites in the game. Is there a way i can use cloning but still have independent control of each ship?

Join me in the Simplicity Collaborative Contest:
http://scratch.mit.edu/discuss/topic/8807/
61clocks
Scratcher
8 posts

Controlling Clones separately??

I think so.
This is my remix of a small RPG that used many sprites for the coins. I fixed it.

I'm someplace…
mwiedmann
Scratcher
100+ posts

Controlling Clones separately??


I remixed and used a variable to keep track of which boat was clicked.

Your project fixed
MrCreeper_From_MC
Scratcher
58 posts

Controlling Clones separately??

when green flag clicked
set [id v] to [1]
create clone of [myself v]
set [id v] to [2]
create clone of [myself v]


when I start as a clone
if <[id] = [1]> then
---script for 1---
end
if <[id] = [2]> then
---script for 2---
end

I lik cake it so yumy yum yum yum yum cake so yumy eat it all day yum yum yum
 
when green flag clicked
forever
like (cak v) (because v) its (yumy v) for (3) (years v)
if <not<[alt] = [ek43680]>> then
set [alt v] to [ek43680]
else
lik (cak)
end
end
Doium
Scratcher
13 posts

Controlling Clones separately??

you're a bit late creeper

Powered by DjangoBB