Discuss Scratch

-starlit_puma-
Scratcher
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 : )

Last edited by -starlit_puma- (Yesterday 18:06:45)

kemoCyan
Scratcher
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

Powered by DjangoBB