Circle 1: When the green flag is clicked to start the program, the crab sprite will show up and always glide from the top of the screen to bottom in random locations.
Circle 2: This initializes the Score variable to 0 each time the program is started and every time the crab and black ball touch, the crab will become hidden, increase the score, and play a sound.
No comments:
Post a Comment