Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » How to tile scroll (easy method)
- bobbyrichard
-
Scratcher
2 posts
How to tile scroll (easy method)
I have recently been trying to make tile scroll games, but I need help knowing how to code the tile scroll bit. I would really appreciate it if you write down a tutorial or project I can use.
Thanks
Thanks
- Pixilized
-
Scratcher
100+ posts
How to tile scroll (easy method)
I can’t explain to you the entirety of a tile scrolling game, so maybe try watching some tutorials. Griffpatch has a great tile scrolling platformer tutorial series on his YouTube account, where he teaches you how to use tile scrolling to remake Super Mario Advance 4. You could go through the tutorial using your own tiles, or you could make Mario and edit the tiles and assets when you’re done.
- Landslide-3000
-
Scratcher
21 posts
How to tile scroll (easy method)
Would you please help out on a tile scroll game. When I try to make the tiles stay visible, they all disappear


























































- happywaffle0
-
Scratcher
100+ posts
How to tile scroll (easy method)
I have recently been trying to make tile scroll games, but I need help knowing how to code the tile scroll bit. I would really appreciate it if you write down a tutorial or project I can use.
Thanks
a tile scroll… interesting… a topic i've never covered.
I'll still give my best
you should make a variable for the tiles their immediate position, snapping by dividing it by tile length, round it, then multiply it back (same should be done for height). then you should make a variable for the player the immediate position they are in.
if
<<<((playerx) - (tilex::custom)) > (240)> and <((playerx) - (tilex::custom)) < (240)>> and <<((playery) - (tiley::custom)) > (240)> and <((playery) - (tiley::custom)) < (240)>>>it should be able to show the tile, else hide it.
the tile position on screen go to should be like
go to x: ((playerx) - (tilex::custom)) y: ((playery) - (tiley::custom)and thats all the assistance i could try to give.
edit: after posting, I noticed code going off-screen. use shift+arrow to see the entire thing
Last edited by happywaffle0 (Sept. 17, 2024 00:09:02)
- happywaffle0
-
Scratcher
100+ posts
How to tile scroll (easy method)
Would you please help out on a tile scroll game. When I try to make the tiles stay visible, they all disappear
ohhey, I've been mislead onto helping to–
you know what, you were the one necroposting here. its not allowed.
what's necroposting?
when you post in an unactive forum for 1+ months. Please do not do this lol
- Discussion Forums
- » Help with Scripts
-
» How to tile scroll (easy method)




