Is "Touching()" block in Scratch commutative?
These two projects are identical but with a different sprite costume. In one case, the star and goblin pretty reliably detect that they're touching each other. In the other case, the lightning detects that it's touching the goblin, but sometimes not vice versa. After more experience with "broadcast and wait" my suspicion is it's something about the combination of these two sprites. If I were to speculate further, my first guess is that there's a floating point rounding issue. Support Game Titan at https://patreon.com/gametitan Scratch is a free programming language where you can code your own interactive stories, animations, and games. The projects are here: https://scratch.mit.edu/projects/419594569/ https://scratch.mit.edu/projects/419600190/ The forum topic to discuss this is here: https://scratch.mit.edu/discuss/topic/433620/ 0:00 Start 3:40 Run #2 for Lightning 3:43 Run #3 for Lightning 3:44 Run #4 for Lightning 3:46 Run #5 for Lightning 3:56 Run #6 for Lightning 4:04 Run #7 for Lightning 4:10 Run #8 for Lightning 4:12 Run #9 for Lightning 4:24 Run #10 for Lightning 4:37 Run #11 for Lightning 4:38 Run #12 for Lightning, etc. ========== Scratch Logo licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license https://commons.wikimedia.org/wiki/File:Scratch_Logo.svg Scratch is developed by the Lifelong Kindergarten Group at the MIT Media Lab. See http://scratch.mit.edu. Music by MBB https://www.youtube.com/c/mbbmusic https://soundcloud.com/mbbofficial https://www.instagram.com/mbb_music Corncob Kevin MacLeod (incompetech.com) Licensed under Creative Commons: By Attribution 3.0 License http://creativecommons.org/licenses/by/3.0/ Bowlby One SC font designed by Vernon Adams https://fonts.google.com/specimen/Bowlby+One+SC
Download
0 formatsNo download links available.