ScratchData LogoScratchData
Back to Psiborg's profile

For @eggdog111 Help me. Please. remix

PSPsiborg•Created February 12, 2024
For @eggdog111 Help me. Please. remix
14
12
239 views
View on Scratch

Instructions

Hi @eggdog111 Your problem was that you set your "is attack attacking" variable back to 0 whilst there were still clones in play from your attack id 1. They then receive the next broadcast and create more clones of themselves. I have changed the is_attack_attacking variable to be a clone counter. Every time a clone is created this increases by 1 and every time a clone is deleted it decreases by 1. Therefore we know the attack has actually ended when the clone counter is back to 0. I have also changed the broadcast to a "broadcast and wait" to make sure the first clone is created and the counter increased before it does the check for the clone counter being 0.

Project Details

Project ID964914188
CreatedFebruary 12, 2024
Last ModifiedFebruary 12, 2024
SharedFebruary 12, 2024
Visibilityvisible
CommentsAllowed

Remix Information

Parent ProjectView Parent
Root ProjectView Root