Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » how do you make collisions?
- Kale_kale
-
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
-
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
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
- Discussion Forums
- » Help with Scripts
-
» how do you make collisions?