Bouncing Balls v2.0 ☆How does it work? 》Look inside. ☆How do you use it? 》Space or click the screen to spawn a ball 》Click a ball to delete it. 》R to delete all clones ☆What is it? 》I made a physics project in which I had a sprite clone another sprite (the balls) and use complicated collision scripts to make the clones of the sprite use colour detection, lists and maths to make them bounce off each other.
Test to see if clone balls can bounce off each other. Will be made into a game when I have time! Credits Pretty much all of the main code including the lists, clone spawning but the maths was found on a YT video which clarified the bouncing off each other maths. Change log v2.0 Fixed the glitchy part! Ready to be implemented in a new game! v1.5 Tried a few other options to fix it. Didn't really work well. v1.0 Initial release! A bit glitchy but works.