Discuss Scratch

NOVA_POLARIS
Scratcher
37 posts

Scrolling left,right,up,and down?

I am trying to make a pokemon or zelda style game where the background will move the character and then a new background will take its place once it gets to a certain point. But I am having a LOT of trouble. I made a side scrolling game before with just left and right but the up and down part it confusing me. Here is my attempt at it even though its a 100% failure https://scratch.mit.edu/projects/85677362/ so how can I get a background to cover the screen and scroll? Also how can I replace it with a new one after? I am not that far so I am willing to start over if I have to. Please help!
BKFighter
Scratcher
1000+ posts

Scrolling left,right,up,and down?

First off, your down key is in the up key, so you'd have to press both to actually move down…… Second, if you made a grid system, you could name costumes:
11
12
13
14
21
22
23
24
31
32
33
34
41
42
43
43

with the left side being x on the grid, and right side being y, and use that to tell where each background should be. You would have to divide x and y by the width and height of the screen to do that though.
NOVA_POLARIS
Scratcher
37 posts

Scrolling left,right,up,and down?

BKFighter wrote:

First off, your down key is in the up key, so you'd have to press both to actually move down…… Second, if you made a grid system, you could name costumes:
11
12
13
14
21
22
23
24
31
32
33
34
41
42
43
43

with the left side being x on the grid, and right side being y, and use that to tell where each background should be. You would have to divide x and y by the width and height of the screen to do that though.

Can you make the grid in scratch? Or would I have to import a photo of one?
BKFighter
Scratcher
1000+ posts

Scrolling left,right,up,and down?

It wouldn't matter. It's just that each background would take up the full screen and move with the character, and load dynamically.
deck26
Scratcher
1000+ posts

Scrolling left,right,up,and down?

A-A-R-C
Scratcher
14 posts

Scrolling left,right,up,and down?

i need this information to you know
The_Imaginarium
Scratcher
1000+ posts

Scrolling left,right,up,and down?

Don't necropost. This topic was from 2015.
reported to be closed.

Powered by DjangoBB