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:
when green flag clicked
set [Scroll X v] to [0]
set [Scroll Y v] to [0]
set [Clone ID v] to [0]
repeat (3)
create clone of [myself v]
change [Clone ID v] by (1)
forever
go to x: (Scroll Y) y: (Scroll Y)
end

end



when I start as a clone
if <(Clone ID) = [1]>then
forever
go to x: ((Scroll X) + (480)) y: (Scroll Y)
end
end
if <(Clone ID) = [2]>then
forever
go to x: (Scroll X) y: ((Scroll Y) + (360))
end
end
if <(Clone ID) = [3]>then
forever
go to x: ((Scroll X) + (480)) y: ((Scroll Y) + (360))

Powered by DjangoBB