How do I make it so that when a sprite touches another sprite, the score gets increased by to?
Offline
Make a variable called score, and then put this on Sprite 1:
<when green flag clicked> <set [score] to 0> <forever> []<if <touching [Sprite2]>> [][]<change [score] by (2)> [][]</if> []</forever>
Last edited by floatingmagictree (2010-05-17 20:26:10)
Offline
This Needs To Be Moved. I'm Telling The Scratch Team Now...
Offline
This isn't a really advanced topic... I think it would feel more cozy in All About Scratch. :3
Offline
FMT"s method is good, but it'll keep increasing speedily. If you want it once to change(like I do), then here:
Offline
Thread Hijack/
Sorry to hi-jack the thread, but I LOVE greatdane's Yoda quote.
/Thread Hijack
Last edited by infinitum3d (2010-05-18 18:47:35)
Offline