This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2011-04-29 15:12:10

Joceline
New Scratcher
Registered: 2011-04-07
Posts: 1

problem with my game

how do you make a person change a costume  every time it touches the other person?Anybody suggestion please post really need help here!!!!!Soon as possible....thanks

Offline

 

#2 2011-04-29 21:27:25

Harakou
Community Moderator
Registered: 2009-10-11
Posts: 1000+

Re: problem with my game

Sure!

Code:

When Green Flag clicked
Forever
    If <touching other_sprite>
        next costume
        wait until <not <touching other_sprite> >
    End If
End Forever

For future reference, put questions like this related to programming in Scratch in the "All About Scratch" section. Troubleshooting is for technical issues.

Last edited by Harakou (2011-04-29 21:29:32)


http://www.blocks.scratchr.org/API.php?action=random&amp;return=image&amp;link1=http://i.imgur.com/OZn2RD3.png&amp;link2=http://i.imgur.com/duzaGTB.png&amp;link3=http://i.imgur.com/CrDGvvZ.png&amp;link4=http://i.imgur.com/POEpQyZ.png&amp;link5=http://i.imgur.com/ZKJF8ac.png

Offline

 

Board footer