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

#1 2012-12-04 16:55:00

AMIII
Scratcher
Registered: 2010-01-20
Posts: 4

how to make a sprite scroll

I am making a need for speed game and I made the track a sprite and I want it to scroll while the car moves how do I do that?

AMIII

Offline

 

#2 2012-12-04 17:02:30

dankill51
Scratcher
Registered: 2012-01-22
Posts: 85

Re: how to make a sprite scroll

when gf clicked
forever
  set x to ((scrollx) + ([480] * [0]))
end
Use this script for each sprite that you want to scroll but change the 0 by 1 for each sprite. Also to make it move change scrollx by whatever you want the speed to be whenever you want it to move

Offline

 

#3 2012-12-08 19:51:15

thornshadow111
Scratcher
Registered: 2012-07-31
Posts: 23

Re: how to make a sprite scroll

when gf clicked
ask [How do you do scroll y?] and wait


smile   sad    wink   
                 Now my face hurts.

Offline

 

Board footer