ScratchData LogoScratchData
Back to grandpasp's profile

Identifying Clone-to-Clone Collisions Demo

GRgrandpasp•Created March 26, 2024
Identifying Clone-to-Clone Collisions Demo
12
8
53 views
View on Scratch

Instructions

This is a demo of a method to detect clone-to-clone collision with retrieval of information from the collided clone. This enables decisions for further action based on that information. In this demo, multiple clones are generated in random colors, in random positions and travel in a random direction. (You may want your game to do more LOL) collisions are announced as they happen. At any point, you may pause the animation and click on any clone to see it's attributes (# of collisions etc.)

Description

I made this in response to a post on the Scratch forum "Help with Scripts" https://scratch.mit.edu/discuss/topic/750327/ If anybody is interested in using this, I will add more in-code comments and instructions for implementation. I have created a tutorial explaining how this method is implemented: https://scratch.mit.edu/projects/991673392

Project Details

Project ID990136062
CreatedMarch 26, 2024
Last ModifiedMarch 29, 2024
SharedMarch 27, 2024
Visibilityvisible
CommentsAllowed