Discuss Scratch

treelink
Scratcher
53 posts

How to make a scrolling map?

how do you make a scrolling background like platformers when you go all the way to the right?
The_Blue_Snake
Scratcher
13 posts

How to make a scrolling map?

Can you please clarify a bit more?

For a scrolling platformer, you would either draw a huge map, all in one costume, and just give it inverted physics, (Basically the same script you wold use for a non-scrolling platformer, just reversed) or you could draw many different costumes of your platformer map, and the piece them together, having them show and hide as you go through the map.

Both ways work, second one is often higher quality, but a little trickier to pull off. I suggest using something like this: https://scratch.mit.edu/projects/283414764/

Scratch battle simulator! https://scratch.mit.edu/projects/404130635/

I'm The_Blue_Snake, a game maker, reader, gamer, and 150% nerd. Proud of it, too.
Now that I think about it, 75% of my time playing computer games is scouting out bugs in my ow projects… Humph
NMario84
Scratcher
1000+ posts

How to make a scrolling map?

Do you not check the scratch wiki?
https://en.scratch-wiki.info/wiki/Scrolling_Platformer_Tutorial

Last edited by NMario84 (Dec. 1, 2021 08:15:07)

Cat2437
Scratcher
500+ posts

How to make a scrolling map?

Try:
when green flag clicked
switch costume to [supa tiny dot v]
set size to (1000) %
switch costume to [Map v]

(My Siggy May Be Too Big… Highlight The Text And Use Ctrl+Shift+Down Arrow!)





Hello! Check Me Out!
Latest Project: Keybind System Tutorial
F4F = NO
Advertising = Games & Animations Maybe | Stuff That Includes Me = YES!

My Quote = To Accept Failure Is Not Wrong, You Can Then Learn From What Happened, And Try Again. (My Own Quote!)
Current Blocks:
when green flag clicked
if <@greenFlag clicked? ::sensing> then
broadcast [Destroy the evil kumquats! v]
treelink
Scratcher
53 posts

How to make a scrolling map?

NMario84 wrote:

Do you not check the scratch wiki?
https://en.scratch-wiki.info/wiki/Scrolling_Platformer_Tutorial


Okay thanks!
treelink
Scratcher
53 posts

How to make a scrolling map?

The_Blue_Snake wrote:

Can you please clarify a bit more?

For a scrolling platformer, you would either draw a huge map, all in one costume, and just give it inverted physics, (Basically the same script you wold use for a non-scrolling platformer, just reversed) or you could draw many different costumes of your platformer map, and the piece them together, having them show and hide as you go through the map.

Both ways work, second one is often higher quality, but a little trickier to pull off. I suggest using something like this: https://scratch.mit.edu/projects/283414764/

Powered by DjangoBB