ScratchData LogoScratchData
Back to scratchlycaterton's profile

Debugging Challenge #2

SCscratchlycaterton•Created July 26, 2023
Debugging Challenge #2
4
3
54 views
View on Scratch

Instructions

Here is a code sequence that needs some debugging. In this program, we want a cat and ladybug to interact. Every time the program is run, we want the cat to spin in a complete circle, while staying on the ground, and then move to the ladybug. When the cat reaches the ladybug, we want the ladybug to play the sound “Hey.” The problem is the cat is moving in a huge circle that ends in the sky and never moves to the ladybug. The other problem is that the ladybug plays the sound “Hey” right away, instead of playing that sound when the cat moves to it. Run the code multiple times. Can you debug and come up with a solution so the cat spins and then moves to the ladybug and then the ladybug plays “Hey”?

Description

WARNING: Don't look at the possible solution sprites until you've tried debugging the code first yourself!

Project Details

Project ID877745661
CreatedJuly 26, 2023
Last ModifiedAugust 7, 2023
SharedJuly 27, 2023
Visibilityvisible
CommentsDisabled