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

#1 2012-10-21 19:48:56

leewyndelf
New Scratcher
Registered: 2012-10-21
Posts: 4

Identifying a partial sprite

Hi there!

I'm building a project around a sprite with no additional "costumes."  I'd like for something different to occur in the game when another sprite touches the front of him versus the back of him.  Is that possible?

Thanks in advance!

Offline

 

#2 2012-10-21 20:02:32

dvd4
Scratcher
Registered: 2010-06-30
Posts: 1000+

Re: Identifying a partial sprite

when gf clicked
forever
if<<touching sprite[other sprite v]> and <color [#front] touching [#otherspritecolor]>>
do when touching front stuff here
end
if<<touching sprite[other sprite v]> and <color [#back] touching [#otherspritecolor]>>
do when touching back stuff here
end
end
hope this helps !

the script workshop

Last edited by dvd4 (2012-10-21 20:04:24)


I made a mod  big_smile  It's called blook!
http://i49.tinypic.com/16ia63p.png

Offline

 

#3 2012-10-21 20:24:29

leewyndelf
New Scratcher
Registered: 2012-10-21
Posts: 4

Re: Identifying a partial sprite

Thank you!  I'll try that.  And Gravity Falls!  I LOVE that show!   big_smile

Offline

 

Board footer