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

#1 2010-04-12 17:13:25

Marquette
Scratcher
Registered: 2010-04-10
Posts: 1

Scroll when mouse following

I have seen lots of examples of how to scroll when using the right and left arrows to move my sprite. But in my program I want my character to follow the mouse pointer. I modified the scrolling examples (by making setting the variable scrollx to the x position of my sprite). It works but I can only scroll through 2 backgrounds. Maybe because the mouse won't go any farther off the stage???  Can anyone help - any examples of scrolling when the sprite is following the mouse pointer?

I shared it - it's called diver-unfinished need help.

Thanks!!

flippy

Offline

 

#2 2010-04-12 18:01:50

Billybob-Mario
Scratcher
Registered: 2008-01-05
Posts: 500+

Re: Scroll when mouse following

Could this help? http://scratch.mit.edu/projects/Billybob-Mario/903964

Offline

 

Board footer