Discuss Scratch

FGTEEV64
Scratcher
16 posts

How do you make it so when a snake character touch it self you loose?

Hello guys I am making a snake game and I have a question. How do you make it so when a snake character touch it self you loose?
Cat-o-cat
Scratcher
2 posts

How do you make it so when a snake character touch it self you loose?

If you make the snake costume just one part of the snake and then spawn individual clones of the sprite you can say
if <touching ( insert name of sprite here ) ?> then
DIE
end

Last edited by Cat-o-cat (May 10, 2024 21:45:00)

FGTEEV64
Scratcher
16 posts

How do you make it so when a snake character touch it self you loose?

I am pretty sure I did that, even if I didn’t I don’t understand you
FGTEEV64
Scratcher
16 posts

How do you make it so when a snake character touch it self you loose?


Cat-o-cat wrote:

If you make the snake costume just one part of the snake and then spawn individual clones of the sprite you can say
if <touching ( insert name of sprite here ) ?> then
DIE
end

I understand you, but I don’t know how to do that

Powered by DjangoBB