Discuss Scratch

ddiep
Scratcher
6 posts

How to make level backdrop move?

Hey guys, ddiep here, i was wondering if you guys could help me figure out how to make the backdrop move to the left. Thanks, and bye!
deck26
Scratcher
1000+ posts

How to make level backdrop move?

Backdrops can't move but you can use a large sprite instead of a backdrop.
ddiep
Scratcher
6 posts

How to make level backdrop move?

OK, so just make a huge sprite always moving -10 steps?
deck26
Scratcher
1000+ posts

How to make level backdrop move?

No if you want a scrolling background use several sprites. Each one may be the size of a normal backdrop. Imagine you had a strip of images joined up horizontally. Your game window is just a small section of that strip containing either one image or (part of) the left side of one image and (part of) the right side of the other. So for a horizontal scroll you need to manage the sprites so the correct sprite or sprites are showing. For scrolling vertically as well you need more images but the general idea is the same.

I suggest you start with the Wiki tutorials on scrolling - http://wiki.scratch.mit.edu/wiki/Scratch_Wiki:Table_of_Contents/Scripting_Tutorials
wiltypies
Scratcher
2 posts

How to make level backdrop move?

Awesome!
ddiep
Scratcher
6 posts

How to make level backdrop move?

Thanks's Guys! If you were wondering why I asked this question is for me Batman project. Project: http://scratch.mit.edu/projects/44867912/

Powered by DjangoBB