Discuss Scratch

Son_Anakin
Scratcher
18 posts

How to do Scrolling Map????

I'm Making The Game League of Legends in scratch, but I've run into 1 massive problem. I try, and try, and try, but i have absolutely NO CLUE how to make the map scroll, along with all of the elements of the map! (the terrain, turrets, stationary enemies, etc) can anyone help?
deck26
Scratcher
1000+ posts

How to do Scrolling Map????

Do you understand the basics of scrolling? If not start with the wiki pages on the subject. Then these may help

https://scratch.mit.edu/projects/92682141/
https://scratch.mit.edu/projects/304642094/
Son_Anakin
Scratcher
18 posts

How to do Scrolling Map????

Yes, i do understand HOW it works, i just find myself unable to do it in my own project.
deck26
Scratcher
1000+ posts

How to do Scrolling Map????

Share what you have so far. But if you really understand it you should be able to code it. Start with one object and make sure the adjustments made by scrollx/y are working as expected - shouldn't be hard to display these on screen and see what happens when you move the player. Once you have one object working the method doesn't really change, just the world coordinates for the object.
Son_Anakin
Scratcher
18 posts

How to do Scrolling Map????

ok but thats the problem, i need the map to be significantly larger than the screen, but scratch wont let me do that
EpicGhoul993
Scratcher
1000+ posts

How to do Scrolling Map????

Son_Anakin wrote:

ok but thats the problem, i need the map to be significantly larger than the screen, but scratch wont let me do that
2 solutions:
1. Split the map out to multiple costumes, then normal scrolls. Tiled scrolling (?) is a good thing to try too.
2. Have a big big imagine of the map then just zoom and scroll.

Powered by DjangoBB