Discuss Scratch

MrSherlockHolmes
Scratcher
500+ posts

Better clone possibilities

(distance to [others clones of me v])
Or
(distance to [others clones of sprite1 v])
([x v] of [this clone v])
([y v] of [this clone v])
It would be useful to cooperating ai's.
This would only be available for clones although a
(distance to [any clone v])
would be useful for sprites. (not available for clones)
DeadGoldFish123
Scratcher
1000+ posts

Better clone possibilities

You can do that already

when I start as a clone
forever

if (distance to [Whatever v]) then
Whatever
end

end
OmnipotentPotato
Scratcher
1000+ posts

Better clone possibilities

But there are 300 clones so this wouldn't work….
Alberknyis
Scratcher
1000+ posts

Better clone possibilities


You know there can be up to 300 clones. It can't select one for you.
Zro716
Scratcher
1000+ posts

Better clone possibilities

x and y of this clone is redundant. use (x position) and (y position)

the other blocks don't work. you can't just pick a nameless clone.
MrSherlockHolmes
Scratcher
500+ posts

Better clone possibilities

Zro716 wrote:

x and y of this clone is redundant. use (x position) and (y position)

the other blocks don't work. you can't just pick a nameless clone.
True.

Powered by DjangoBB