Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » How to make code for colliding sprites?
- -starlit_puma-
-
30 posts
How to make code for colliding sprites?
Hello!
I'm looking for a code for sprites that are touching each other but can also move around (like if they were marbles in a jar). See this game on Poki to know what I'm talking about.
https://poki.com/en/g/cats-drop
!Disclaimer! This is an external link, meaning you'll leave Scratch.
If anyone knows some code for this, that would be amazing. I'm making a similar game to the one above. I will make sure to give credit in the game description : )
I'm looking for a code for sprites that are touching each other but can also move around (like if they were marbles in a jar). See this game on Poki to know what I'm talking about.
https://poki.com/en/g/cats-drop
!Disclaimer! This is an external link, meaning you'll leave Scratch.
If anyone knows some code for this, that would be amazing. I'm making a similar game to the one above. I will make sure to give credit in the game description : )
Last edited by -starlit_puma- (Yesterday 18:06:45)
- kemoCyan
-
22 posts
How to make code for colliding sprites?
this isn't basic colliding sprite code, this is balls physics, you should watch griffpatch's tutorial: https://www.youtube.com/watch?v=Ge1DbXkyMKo&t=1049s
- Discussion Forums
- » Help with Scripts
-
» How to make code for colliding sprites?