Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Could you please help me with a top-down scroller?
- 684pika
-
Scratcher
1000+ posts
Could you please help me with a top-down scroller?
Hello! My username is @684pika and I need some help with my Crazy Weirdo Escape project. The problem that I am having is that my scrolling isn't working. What the scrolling is supposed to do is scroll each way. Thank you in advance for helping me on this project.


Last edited by 684pika (May 14, 2020 18:21:56)
- Vercte
-
Scratcher
500+ posts
Could you please help me with a top-down scroller?
Huh, just browsing and here you are.
Anyways, what you would want to do is create a big sprite and use the size hack:
Anyways, what you would want to do is create a big sprite and use the size hack:
desired event :: events hatFor the actual scrolling:
switch costume to [blank v]
set size to (600)%
switch costume to [desired costume v]
foreverThis creates scrolling.
if <key [right arrow v] pressed?> then
change [scroll x v] by (-5)
end
if <key [up arrow v] pressed?> then
change [scroll y v] by (-5)
end
so on with the other versions aka left, up :: grey stack
end
- Vercte
-
Scratcher
500+ posts
Could you please help me with a top-down scroller?
Also, this:
//In the ground sprite...
forever
go to X: (scroll x) Y: (scroll y)
- 684pika
-
Scratcher
1000+ posts
Could you please help me with a top-down scroller?
yeah, i was using griffpatch's, but it didn't work.
- Discussion Forums
- » Help with Scripts
-
» Could you please help me with a top-down scroller?