Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » how do i make clone collision with other clones
- H3nryst1ckMAN
-
36 posts
how do i make clone collision with other clones
I cant use color sensors because it randomly generates the color of each clone.
I was trying to store the clone positions and check if a clone was in the same position as another clone but that doesn't work.
https://scratch.mit.edu/projects/479145256/
I was trying to store the clone positions and check if a clone was in the same position as another clone but that doesn't work.
https://scratch.mit.edu/projects/479145256/
- H3nryst1ckMAN
-
36 posts
how do i make clone collision with other clones
im not asking how you see if a clone is colliding, im asking how you see if a clone is colliding with another clone, because you cant have the sprite its a clone of as the input
- MathPuppy314
-
500+ posts
how do i make clone collision with other clones
~snip~
im not asking how you see if a clone is colliding, im asking how you see if a clone is colliding with another clone, because you cant have the sprite its a clone of as the input
So when two clones collide, you want to know which clones collided and get some clone-specific variable from them?
- H3nryst1ckMAN
-
36 posts
how do i make clone collision with other clones
Yeah, exactly that.~snip~
im not asking how you see if a clone is colliding, im asking how you see if a clone is colliding with another clone, because you cant have the sprite its a clone of as the input
So when two clones collide, you want to know which clones collided and get some clone-specific variable from them?
- H3nryst1ckMAN
-
36 posts
how do i make clone collision with other clones
ill try it Have you tried hitboxes?
https://scratch.mit.edu/discuss/m/topic/251292/
Last edited by H3nryst1ckMAN (Feb. 3, 2021 16:41:28)
- deck26
-
1000+ posts
how do i make clone collision with other clones
Search for ‘nearest clone’ to see if any projects suggest anything that might work for you.
- Discussion Forums
- » Help with Scripts
-
» how do i make clone collision with other clones