Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Offscreen collision help.
- VICIproductions
-
Scratcher
4 posts
Offscreen collision help.
I am currently making a scrolling platformer, and have been using griffpatch's Classic Platformer Tutorial physics. I have been trying to figure out how to make my enemy land on surfaces that are offscreen, and am stumped, if anyone would have an good idea, I'm willing to try try it. However, since it is NOT tile based, I cannot use distance collision scripts. And yes, if you use TurboWarp, you can disable fencing, which fixes that.
if <(have an idea?) = [true]> then
DO IT!
end
Last edited by VICIproductions (April 20, 2026 18:06:29)
- NMario84
-
Scratcher
1000+ posts
Offscreen collision help.
If you're following Griffpatch, he has a tile engine that goes into detail for off screen collisions.
Since native Scratch doesn't do natural touching off screen collisions, you have to do the collisions mathematically.
Since native Scratch doesn't do natural touching off screen collisions, you have to do the collisions mathematically.
- Discussion Forums
- » Help with Scripts
-
» Offscreen collision help.