Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » How to make sprites scroll out of sight?
- Naoderi
- Scratcher
16 posts
How to make sprites scroll out of sight?
I've made scrolling games before but I've always had to use borders to hide the sprites getting dragged on the edge of the screen, can anyone help me make them scroll out of sight?
Thanks!
Thanks!
You're on your own, Noble… Naoderi out.
- TLJL
- Scratcher
3 posts
How to make sprites scroll out of sight?
maybe a glide-to block that's a bit further away than the borders? Or you could have a block that hides the sprite after going x?
when green flag clicked
if <(x position) < [x]> then
hide
end
Be cool, be respectful, and BE AWESOME!
when green flag clicked
forever
set [be awesome v] to [always]
end
- TLJL
- Scratcher
3 posts
How to make sprites scroll out of sight?
and you can have the sprite a bit further away from the centre crosshair in costumes.
scratch wiki says ‘the X position can range from 240 to -240, where 240 is the rightmost a sprite can be and -240 is the leftmost, and the Y position can range from 180 to -180, where 180 is the highest it can be and -180 is the lowest it can be.’
Hope it helps!
scratch wiki says ‘the X position can range from 240 to -240, where 240 is the rightmost a sprite can be and -240 is the leftmost, and the Y position can range from 180 to -180, where 180 is the highest it can be and -180 is the lowest it can be.’
Hope it helps!
Be cool, be respectful, and BE AWESOME!
when green flag clicked
forever
set [be awesome v] to [always]
end
- CST1229
- Scratcher
1000+ posts
How to make sprites scroll out of sight?
There's 2 ways.
- Add a fully transparent box around your costumes
- Switch to a very big costume before moving
This is a signature. It's a piece of text that appears below every post I write. Click here to learn more, including how to make your own.
RIP assets image hosting. 2013?-2023
RIP assets image hosting. 2013?-2023
- Naoderi
- Scratcher
16 posts
How to make sprites scroll out of sight?
Thanks!!! I'll try these ideas
Last edited by Naoderi (July 18, 2021 08:48:14)
You're on your own, Noble… Naoderi out.
- Discussion Forums
- » Help with Scripts
- » How to make sprites scroll out of sight?