ScratchData LogoScratchData
Back to gregatku's profile

Clone Contact Test

GRgregatku•Created March 23, 2022
Clone Contact Test
2
0
41 views
View on Scratch

Instructions

Clone Contact Test 2 Sprites, 4 clones of which bounce around the Stage. When a Clone of A hits a Clone of B, @Deuzz wanted a simple way for each Clone to detect which of the other Sprite's Clones it hit. This is a really simple solution to that problem ... but it may have some flaws.

Description

Created for @Deuzz as possible solution to the problem above that he raised in the Dads & Mums on Scratch Studio. But it has flaws: very dependant on the "wait 0.03333 secs" (ie. one frame) which should be long enough for each to detect contact with each other and is small enough to be imperceptible in a game. Not sure if when A-Clone hits 2 B-Clones in the same frame that it actually. But it is a very simple concept and works most of the time and maybe some smarter people than me in the Dads & Mums on Scratch Studio could find a way to make my simple idea more robust. ... NOTE ... and that is just what @colinmacc did! His remix - https://scratch.mit.edu/projects/664620506/ - is a much more robust solution to the problem. But his remix has a flaw too, which has documented.

Project Details

Project ID664467853
CreatedMarch 23, 2022
Last ModifiedMarch 26, 2022
SharedMarch 23, 2022
Visibilityvisible
CommentsAllowed