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

#1 2011-11-08 10:57:20

ImagineIt
Scratcher
Registered: 2011-02-28
Posts: 1000+

Slope Detection

Ok, so I'm trying to make a game with no velocity or anything but I just can't get down how to do slope detection. Can you help me please?

EDIT: There's sensing for everything else too.

Last edited by ImagineIt (2011-11-08 10:59:31)

Offline

 

#2 2011-11-09 15:27:38

TRocket
Scratcher
Registered: 2009-08-18
Posts: 1000+

Re: Slope Detection

Please explain what you mean by

wrote:

slope detection


http://i.imgur.com/1QqnHxQ.png

Offline

 

#3 2011-11-10 09:00:14

PullJosh
Scratcher
Registered: 2011-08-01
Posts: 500+

Re: Slope Detection

You will need to make it change x by 1, then see if the sensing feels ground. If it doesn't, then make it do its normal stuff. If it does, then make it move back (change x by -1). I hope this helps!  big_smile


http://www.blocks.scratchr.org/API.php?action=text&string=I'm_on_vacation!&xpos=155&ypos=90&font_size=30&bgimage=http://imageshack.us/a/img339/7215/sspeechsigapiforwords.png

Offline

 

#4 2012-02-22 20:17:18

emmajill3000
Scratcher
Registered: 2011-05-18
Posts: 7

Re: Slope Detection

sad  I am confused with slopes  smile )

Offline

 

#5 2012-02-22 20:24:42

CheeseMunchy
Scratcher
Registered: 2008-10-13
Posts: 1000+

Re: Slope Detection

A little complicated, I'm not even really sure how it works.


6418,

Offline

 

#6 2012-02-23 13:57:05

bobbybee
Scratcher
Registered: 2009-10-18
Posts: 1000+

Re: Slope Detection

By slope detection, do you mean FM radio de-modulation?


I support the Free Software Foundation. Protect our digital rights!

Offline

 

Board footer