Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Tile-scroll endless run (without barrier) (like edge://surf)
- VKhoi2110
- Scratcher
17 posts
Tile-scroll endless run (without barrier) (like edge://surf)
Hello, I just want to know how to generate a tile-scroll map (no barrier) for a endless run game. Can anyone help me, please.
Last edited by VKhoi2110 (Dec. 17, 2021 00:02:55)
3x+1 problem:
set [x v] to (pick random (5) to (100000000000))
repeat until <[x] = [1]>
if <((x) mod (2)) = [1]> then
set [x v] to (((x) * (3)) + (1))
else
set [x v] to ((x) / (2))
end
end
- -NeonLightning-
- Scratcher
29 posts
Tile-scroll endless run (without barrier) (like edge://surf)
What do you mean?
Good luck Scratching!
- helloworldbyeworld
- Scratcher
1000+ posts
Tile-scroll endless run (without barrier) (like edge://surf)
If you want a simple scrolling background, this should do the trick:
https://scratch.mit.edu/projects/485684952/
https://scratch.mit.edu/projects/485684952/
Helloworldbyeworld | 1200+ posts
Have a great day
- starkodderTest
- Scratcher
27 posts
Tile-scroll endless run (without barrier) (like edge://surf)
Use modulo technic.
- VKhoi2110
- Scratcher
17 posts
Tile-scroll endless run (without barrier) (like edge://surf)
you mean the modulo technique Use modulo technic.
Last edited by VKhoi2110 (Dec. 17, 2021 00:24:30)
3x+1 problem:
set [x v] to (pick random (5) to (100000000000))
repeat until <[x] = [1]>
if <((x) mod (2)) = [1]> then
set [x v] to (((x) * (3)) + (1))
else
set [x v] to ((x) / (2))
end
end
- Discussion Forums
- » Help with Scripts
- » Tile-scroll endless run (without barrier) (like edge://surf)