ScratchData LogoScratchData
Back to kriblo_test's profile

Demo: Clones Probably Touching

KRkriblo_test•Created March 23, 2022
Demo: Clones Probably Touching
27
19
268 views
View on Scratch

Instructions

A quick project testing a more or less generic and more or less accurate method to keep track of which clones are touching which other clones, including clones of different sprites. This method uses global lists of clone coordinates. Each clone checks if it touches other clones, and calculate which of those is the closest. See code inside. This was in response to this question: https://scratch.mit.edu/studios/25643089/comments/#comments-179497172 See also this example, 'Food / Feeder Clones': https://scratch.mit.edu/projects/665020766/ All code by me (@kriblo).

Project Details

Project ID664601726
CreatedMarch 23, 2022
Last ModifiedApril 19, 2023
SharedMarch 23, 2022
Visibilityvisible
CommentsAllowed