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

#1 2012-07-26 18:18:18

pizza22
Scratcher
Registered: 2012-04-30
Posts: 500+

Sensor

I need a simple sensor for a scroll that makes the player run along the hilly terrain without bouncing

Not this :-V
If touching green:
     Change scroll y by -2
Else:
     Change scroll y by 2

Last edited by pizza22 (2012-07-26 18:20:51)

Offline

 

#2 2012-07-26 23:23:05

daniel_j
Scratcher
Registered: 2012-05-22
Posts: 100+

Re: Sensor

There are variant way to do that using variables and lists, but is basically the same thing, it wont work any better. That is what I know anyway  smile


http://i50.tinypic.com/2dhgnsx.jpg

Offline

 

#3 2012-07-26 23:32:34

Wes64
Scratcher
Registered: 2011-08-19
Posts: 1000+

Re: Sensor

This isn't simple, but it works.
here. You can probably learn from it  big_smile


Experienced 2.0 Tester: Ask me questions!
Using Firefox 13.0, Flash plugin version 11.4.402.287, and Windows XP Professional.

Offline

 

#4 2012-07-27 05:58:41

pizza22
Scratcher
Registered: 2012-04-30
Posts: 500+

Re: Sensor

Wes64 wrote:

This isn't simple, but it works.
here. You can probably learn from it  big_smile

Thanks ou  smile

Offline

 

Board footer