Search code examples
spritemit-scratch

scratch sprite not registering hit consistently


This simple shooter game is supposed to result in the sprite shattering and disappearing when hit. It will work maybe 40% of the time. Here's the link to the project and the relevant code block:

https://scratch.mit.edu/projects/524150880/editor

enter image description here


Solution

  • So turns out that by simplifyingthe sprite's movements from: enter image description here

    to:

    enter image description here

    fixed the problem. Sprite consistently breaks up and disappears when hit. So it was just a matter of streamlining I guess?