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

#1 2010-12-18 05:53:12

Argonaut64
New Scratcher
Registered: 2010-12-18
Posts: 4

Help with sprite sensing!

Hello, I'm new around 'tis very block. I know abit about scratch, but what i'ma stuck on is How would you get a sprite to sense the floor? I'm making a SSBB game and I need it to sense that there is a floor to walk on and that the is a gap (look on youtube SSBB final destanation to see the edges and gaps), so it won't just walk in any direction regardless of the edges. Also please go through it "like you were telling it to a child who has little knowlage of scratch" because I don't know everything 'bout it.

Plz help  smile

Offline

 

#2 2010-12-18 11:24:37

LolaRose1892
Scratcher
Registered: 2010-12-10
Posts: 98

Re: Help with sprite sensing!

Try this. Put <when green flag clicked> then <forever if> then connect <touching[ whatever the floor is called ]> to <forever if> and then... i'll find out for you so wait a sec...


http://i1082.photobucket.com/albums/j377/DIYmit/LolaRose1892.png

Offline

 

#3 2010-12-18 16:11:13

Argonaut64
New Scratcher
Registered: 2010-12-18
Posts: 4

Re: Help with sprite sensing!

I can see this coming along... neutral ]

Offline

 

#4 2010-12-18 16:17:07

Paddle2See
Scratch Team
Registered: 2007-10-27
Posts: 1000+

Re: Help with sprite sensing!

You might be able to find a good example of something close to what you are trying to do and download it.  You can learn a lot by looking at other people's projects.  For a basic platformer, there are a ton around.  Maybe somebody has some recomendations?  I usually start by looking at Archmage's stuff - it works and it is often well documented.

Maybe something like this demo http://scratch.mit.edu/projects/archmage/101212


http://i39.tinypic.com/2nav6o7.gif

Offline

 

#5 2010-12-19 06:15:24

Argonaut64
New Scratcher
Registered: 2010-12-18
Posts: 4

Re: Help with sprite sensing!

The problem is, when I try to select an option for<touching[  It won't come up with the stadge.
But if I duplicate the stadge into a sprite, my music won't work  sad

Offline

 

Board footer