To use this project, use the arrow keys to move the shark. Use the a button to rotate him/her left, and the d button to rotate him/her left. The up and down arrow keys don't do anything. Your goal is to catch all the fish, but none of the other food. If you miss a fish or catch the wrong food, you lose a life. If you lose five lives, you lose. My high score is sixty (because, until recently, the game was set to stop and say that you win at 60. If you would like for this to still happen, press see inside, and, on the script for the first fish, you'll see that it says "When flag clicked, wait until score = 60" and below it, a "broadcast winner". Connecting these two will make this feature active again.
To make this project, I told the shark to rotate -15 degrees when the A key was pressed, and to do the opposite when the D key was pressed. Then, I told it to move a certain number of steps when the right arrow key pressed, and when the left arrow key was pressed, negative (number). Then, I told the fish to constantly clone itself, and whenever a new clone was made, the clone will go down. If it is a fish, then you will lose a life when it touches the edge, but get a point when it touches the edge. If it is not, then you will lose a life if you get it in your mouth, but not if it touches the edge. Finally, I introduced the life and score variables. the life variable was set to decrease by one whenever something happened that should cause the loss of a life in this game, and the score variable was set to increase when a fish landed in the shark's mouth. Credit goes to @purplepup and @tiktok300 for the picture of the shark (the Scratch Library's shark didn't work because some of its teeth were so small that technically, there was never a time when the fish was touching white, which made it significantly harder). The idea originates from the earth day game by @bumblefly.