Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Clone touching another clone of the same sprite
- IceCreamTub
-
Scratcher
1000+ posts
Clone touching another clone of the same sprite
Making a sort of zombe-tag-ish… aaaa doesn't matter
Basically when a “rock” clone touches a “scissors” clone, the “scissors” clone will switch its costume and become a “rock” clone, problem is both are clones of the same sprite, and the “Touching?” Boolean wont count the sprite its in
Same thing for “paper” clones, those get turned into “scissors” clones when touched by a “scissor” clone
Basically when a “rock” clone touches a “scissors” clone, the “scissors” clone will switch its costume and become a “rock” clone, problem is both are clones of the same sprite, and the “Touching?” Boolean wont count the sprite its in
Same thing for “paper” clones, those get turned into “scissors” clones when touched by a “scissor” clone
- medians
-
Scratcher
1000+ posts
Clone touching another clone of the same sprite
Try making it another sprite..
Sigh..


(this is literally a way people use to differentiate 1.4 and 2.0 and 3.0 since 1.4 and 2.0 return true)
Maybe if it was still possible to do this, and using a sprite only variable you could have it as one sprite..
Sigh..


(this is literally a way people use to differentiate 1.4 and 2.0 and 3.0 since 1.4 and 2.0 return true)
Maybe if it was still possible to do this, and using a sprite only variable you could have it as one sprite..
Last edited by medians (Jan. 28, 2023 05:37:56)
- IceCreamTub
-
Scratcher
1000+ posts
Clone touching another clone of the same sprite
Try making it another sprite..Oh hey medians
Sigh..
(this is literally a way people use to differentiate 1.4 and 2.0 and 3.0 since 1.4 and 2.0 return true)
Maybe if it was still possible to do this, and using a sprite only variable you could have it as one sprite..
Anyway, uh i didn't know that would actually work
Thanks i guess
- IceCreamTub
-
Scratcher
1000+ posts
Clone touching another clone of the same sprite
Hm now i've got another problem, keep in mind i'm still having it be all in one singular sprite
The “rock” clone (which is costume number 1) doesn't turn into a “paper” clone when it touches a “paper” clone
Here's my code right now… well atleast the parts relevant to this problem

I'll go look for some 1 sprite projects to see if i could find my solution
The “rock” clone (which is costume number 1) doesn't turn into a “paper” clone when it touches a “paper” clone
Here's my code right now… well atleast the parts relevant to this problem

I'll go look for some 1 sprite projects to see if i could find my solution
- medians
-
Scratcher
1000+ posts
Clone touching another clone of the same sprite
Hm now i've got another problem, keep in mind i'm still having it be all in one singular sprite..Remove the touching self part (it no longer works), and it could detect something else with the costume name thing.
The “rock” clone (which is costume number 1) doesn't turn into a “paper” clone when it touches a “paper” clone
Here's my code right now… well atleast the parts relevant to this problem
I'll go look for some 1 sprite projects to see if i could find my solution
- IceCreamTub
-
Scratcher
1000+ posts
Clone touching another clone of the same sprite
That's odd, when i tested it (with the touching self thing only and a say block) it returned true when the clone was touchedHm now i've got another problem, keep in mind i'm still having it be all in one singular sprite..Remove the touching self part
The “rock” clone (which is costume number 1) doesn't turn into a “paper” clone when it touches a “paper” clone
Here's my code right now… well atleast the parts relevant to this problem
I'll go look for some 1 sprite projects to see if i could find my solution
Last edited by IceCreamTub (Jan. 28, 2023 06:46:51)
- medians
-
Scratcher
1000+ posts
Clone touching another clone of the same sprite
Weird, maybe it only is false with the original sprite now.That's odd, when i tested it (with the touching self thing only and a say block) it returned true when the clone was touchedHm now i've got another problem, keep in mind i'm still having it be all in one singular sprite..Remove the touching self part
The “rock” clone (which is costume number 1) doesn't turn into a “paper” clone when it touches a “paper” clone
Here's my code right now… well atleast the parts relevant to this problem
I'll go look for some 1 sprite projects to see if i could find my solution
- Discussion Forums
- » Help with Scripts
-
» Clone touching another clone of the same sprite

