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

#1 2012-12-28 21:41:54

mrn0body
Scratcher
Registered: 2012-12-11
Posts: 37

Scrolling backgrounds

Hey guys! I am thinking of doing a game where you are a character an you are trying to get away from a volcano eruption. The lava will be chasing you and the game goes on until you die. The problem is that i need a background that infinitely scrolls until the game is over. Does anyone know how to make this? If so please respond to me asap. Thanks  smile


Why Fit In When You Were Born To Stand Out

Offline

 

#2 2012-12-28 22:18:19

Kileymeister
Scratcher
Registered: 2008-04-17
Posts: 1000+

Re: Scrolling backgrounds

Scrolling with the actual stage is extremely impractical, so it's best to use sprites that are in the back layers (you probably inferred this yourself but I'd like to be clear).

You can use the scripts found here (minus the sensing of course) to act as a scrolling background.

Last edited by Kileymeister (2012-12-28 22:19:21)


I'm back, and showcasing two new* projects!  Click left or right on the image below to see!
http://img109.imageshack.us/img109/7905/part1l.pnghttp://img859.imageshack.us/img859/6417/part2bf.png

Offline

 

#3 2013-01-01 00:46:38

mrn0body
Scratcher
Registered: 2012-12-11
Posts: 37

Re: Scrolling backgrounds

Thanks Kileymeister


Why Fit In When You Were Born To Stand Out

Offline

 

Board footer