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

#1 2009-07-21 13:26:52

reddsky
Scratcher
Registered: 2009-07-20
Posts: 10

Scratch...?

How can I make Sprite's aware that they cannot pass through platforms? In other words, how can I make platforms solid?

Thanks, Reddsky  smile

Offline

 

#2 2009-07-21 14:05:06

Blade-Edge
Scratcher
Registered: 2009-06-13
Posts: 1000+

Re: Scratch...?

I'm not sure but I've been having the same problems
what I did was add a script to the sprite that you dont want going through
<when green flag clicked>
<forever if> <touching color[ the colour of the platform
<change y by( -7
<end>
but this only works if you make the bottom one colour and the top another
and you put the same thing for the top colour except change y by +1
im bad at programming so i'm not sure about stuff sometimes (most of the time)

Last edited by Blade-Edge (2009-07-21 14:07:24)


http://img29.imageshack.us/img29/5145/scratchycat.gif CLASSY

Offline

 

#3 2009-07-21 17:05:31

bhz
Scratcher
Registered: 2008-07-06
Posts: 100+

Re: Scratch...?

http://scratch.mit.edu/forums/viewtopic.php?id=19526

Offline

 

Board footer