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

#1 2008-06-11 21:29:23

Bluestribute
Scratcher
Registered: 2008-01-24
Posts: 1000+

Scrolling and sensing

O.K., heres my problem:

My sensing works fine UNTIL you start scrolling. Then it doesn' twork. I use 3 as the number- change y by -3, change scroll x by 3, etc,but it still isn't working. I even put in the changing of Scroll! Whats wrong?


http://img247.imageshack.us/img247/1204/bluestributett4.jpg
That's my PSN ID. I know tons of COD4 glitches. Add me as your friend. Oh, and get a headset

Offline

 

#2 2008-06-11 21:35:25

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: Scrolling and sensing

Bluestribute wrote:

O.K., heres my problem:

My sensing works fine UNTIL you start scrolling. Then it doesn' twork. I use 3 as the number- change y by -3, change scroll x by 3, etc,but it still isn't working. I even put in the changing of Scroll! Whats wrong?

What I do is I have invisible sensors and variables for each direction. So your script would look like:

If <key right arrow pressed> and <rightmove = 0 >
blahblahblah,scrollystuff,moveystuff, etc.

and then in the invisible sensors have

if <touching the thing you don't want to go through>
set rightmove (or leftmove, or downmove, or upmove) to 1
else
set rightmove (or leftmove, or downmove, or upmove) to 0

oh, and the invisible sensors use rotation points to always stay right beside or on top or below or on the other side of the person. the ghost effect makes them invisible.

Offline

 

#3 2008-06-11 21:44:01

Bluestribute
Scratcher
Registered: 2008-01-24
Posts: 1000+

Re: Scrolling and sensing

Hmmm... I kinda get it. Lemme try something


http://img247.imageshack.us/img247/1204/bluestributett4.jpg
That's my PSN ID. I know tons of COD4 glitches. Add me as your friend. Oh, and get a headset

Offline

 

#4 2008-06-11 21:46:23

Bluestribute
Scratcher
Registered: 2008-01-24
Posts: 1000+

Re: Scrolling and sensing

Thanks coolstuff. I realized where I went wrong. I was using the repeat until block.


http://img247.imageshack.us/img247/1204/bluestributett4.jpg
That's my PSN ID. I know tons of COD4 glitches. Add me as your friend. Oh, and get a headset

Offline

 

#5 2008-06-12 16:05:02

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: Scrolling and sensing

Bluestribute wrote:

Thanks coolstuff. I realized where I went wrong. I was using the repeat until block.

You're welcome.

Offline

 

#6 2008-06-12 18:13:30

subzero4
Scratcher
Registered: 2008-04-20
Posts: 5

Re: Scrolling and sensing

BLUESTRIBUTE! I clicked your Click Here button on the site and it said it installed a virus!!! Is this real?

Offline

 

#7 2008-06-12 18:14:01

Bluestribute
Scratcher
Registered: 2008-01-24
Posts: 1000+

Re: Scrolling and sensing

subzero4 wrote:

BLUESTRIBUTE! I clicked your Click Here button on the site and it said it installed a virus!!! Is this real?

No. But it was funny huh? And read all of the link...

Last edited by Bluestribute (2008-06-12 18:14:18)


http://img247.imageshack.us/img247/1204/bluestributett4.jpg
That's my PSN ID. I know tons of COD4 glitches. Add me as your friend. Oh, and get a headset

Offline

 

Board footer