Discuss Scratch

Kale_kale
Scratcher
15 posts

how do you make collisions?

so i am making a platformer and i cant figure out how to make it so it doesn't go through walls.

Last edited by Kale_kale (Feb. 6, 2019 18:42:37)

Magicguy04
Scratcher
68 posts

how do you make collisions?

I'm sorry the image is too blurry to see.
What I would do is create a hit box with a different script for each color:
RED
________________________________________________________
|
|
|
|
|
|
|GREEN
| | YELLOW (didn't want to finish box)
| |
| |
| |
| |
| |
________________________________________________
BLUE
StrangeMagic32
Scratcher
1000+ posts

how do you make collisions?

Powered by DjangoBB