Discuss Scratch

Bellamcintire
Scratcher
71 posts

How do I make a background scroll for a platformer?

pls respond cuz I really want to make a scrolling platformer
Link2358
Scratcher
100+ posts

How do I make a background scroll for a platformer?

I would recommend watching griffpatch's background scrolling tutorial on this. It explains how the code works and how to code the script.
Bellamcintire
Scratcher
71 posts

How do I make a background scroll for a platformer?

Link2358 wrote:

I would recommend watching griffpatch's background scrolling tutorial on this. It explains how the code works and how to code the script.
Noted
PixelNinjaX
New Scratcher
14 posts

How do I make a background scroll for a platformer?

Sure! This can be done by creating a separate background sprite that moves in the opposite direction of the player.
Here are some steps…
1. The background will have to be large, so make sure to have a separate costume that contains a 1x1 box.
2. Then switch to the background, and set the size to 1000, and then switch to the background sprite. This will cause the background to overlay properly.
3. Then you can move the background as needed to create the scrolling effect.
Note: I agree with Link2358, griffpatch has amazing tutorials on this!
Bellamcintire
Scratcher
71 posts

How do I make a background scroll for a platformer?

PixelNinjaX wrote:

Sure! This can be done by creating a separate background sprite that moves in the opposite direction of the player.
Here are some steps…
1. The background will have to be large, so make sure to have a separate costume that contains a 1x1 box.
2. Then switch to the background, and set the size to 1000, and then switch to the background sprite. This will cause the background to overlay properly.
3. Then you can move the background as needed to create the scrolling effect.
Note: I agree with Link2358, griffpatch has amazing tutorials on this!
Okay! Thanks for the info

Powered by DjangoBB