ScratchData LogoScratchData
Back to scratchcode1_2_3's profile

Shadow tag fixed

SCscratchcode1_2_3•Created June 4, 2022
Shadow tag fixed
2
1
9 views
View on Scratch

Instructions

When I played this, I noticed that the cats weren't disappearing when I clicked on them, went to the code, and noticed they weren't actually being deleted, rather sent to a different location once they got clicked on, this isn't wrong, but I still made them delete themselves using the "delete this clone block". As I said earlier, the original code wasn't wrong, but the location of it was. The reason they didn't get deleted was because the "if then" detecting if the cats were getting clicked was inside the same forever loop the "glide to [random position v]" block was, so most of the time the project was running was the cats trying to move to the next position. I fixed this by putting the "if then" inside a new forever loop in a new "when i start as a clone" hat block. I also added a forever loop in the initial "When green flag clicked" script to keep the cats constantly cloning.

Project Details

Project ID701111700
CreatedJune 4, 2022
Last ModifiedJune 5, 2022
SharedJune 4, 2022
Visibilityvisible
CommentsAllowed

Remix Information

Parent ProjectView Parent
Root ProjectView Root