Discuss Scratch

splinter_223
New Scratcher
17 posts

How do I make the backdrop move?

I want to make a game similar to Mario, but I don't know how to make the backdrop scroll like it does in the game. Please help me.
awesome-llama
Scratcher
1000+ posts

How do I make the backdrop move?

My project here is an example of it. To make a background scroll, you need to clone lots of slides of each part of the background, and have a variable to record the position, so the clone knows if it should be on the screen.
splinter_223
New Scratcher
17 posts

How do I make the backdrop move?

awesome-llama wrote:

My project here is an example of it. To make a background scroll, you need to clone lots of slides of each part of the background, and have a variable to record the position, so the clone knows if it should be on the screen.

Thanks, I looked at the insides of the project, but I don't quite understand it. How would I make a sprite move across the scrolling backdrop, and could you go a little further into detail?
wkelly42
Teacher
100+ posts

How do I make the backdrop move?

Easiest way to make something like this is to NOT put your background in the backdrop - make several sprites instead, and scroll those. This page of the Wiki can give you the details.

deck26
Scratcher
1000+ posts

How do I make the backdrop move?

portociledipper
Scratcher
1 post

How do I make the backdrop move?

how do you make a scrolling platformer!!!!!!!!!!!
SCRATCHNAMENOTTAKEN
Scratcher
3 posts

How do I make the backdrop move?

https://youtu.be/Eh4AdjbSuRA
this is the best video in this situation i found on internet
in case link dont work
the channel name is SWEET GOBLIN
Tiger_Person
Scratcher
100+ posts

How do I make the backdrop move?

portociledipper wrote:

how do you make a scrolling platformer!!!!!!!!!!!
Make your own topic if you need help.
-Linh_Linh-
Scratcher
6 posts

How do I make the backdrop move?

So how to make backdrop move ? ( not scroll backdrop)
I wanna make the backdrop can move when the big titan steps.
Yusei-Fudo
Scratcher
1000+ posts

How do I make the backdrop move?

-Linh_Linh- wrote:

So how to make backdrop move ? ( not scroll backdrop)
I wanna make the backdrop can move when the big titan steps.

Hi, if you have a question, please make your own topic: scratch.mit.edu/discuss/7/topic/add just like the post above your says back from Jan.

Also, when you post on old topics, it's called “necroposting”, which is a form of spam.
new_tdduong
Scratcher
16 posts

How do I make the backdrop move?

So you need make a sprite for backdrops instead of backdrops.Then make a variable for it self to save ID of clone and two another variable scroll x and scroll y to scroll.Then make it like this:
whenclickedsetScroll Xto0setScroll Yto0setClone IDto0repeat3createcloneofmyselfchangeClone IDby1forevergotox:ScrollYy:ScrollYwhenIstartasacloneifCloneID=1thenforevergotox:ScrollX+480y:ScrollYifCloneID=2thenforevergotox:ScrollXy:ScrollY+360ifCloneID=3thenforevergotox:ScrollX+480y:ScrollY+360

Powered by DjangoBB