4/11/2024 0 Comments Scratch games code![]() Now the last thing we need to do is to hide the fish when it touches the Shark as if the fish is eaten by the Shark. ![]() The sequence of code for the fish will be: Step 5: Also, we will change the costume of the duplicates.įor the fish to swim in the water, we will use the block Next, we will take a fish sprite and duplicate it as many times we want. We will take the following blocks to make the shark move in different directions. We can change the key to up, down, left and right by clicking on the arrows. We will use the four arrow keys: up, down, right and left to move the Shark. We have a block in Events. First, we will position the Shark facing right using the go to x y block and point in direction 90. We will also need an Underwater backdrop. S tep1:įirst of all, we need a sprite Shark from the Scratch library. Now, let’s learn the Hungry Shark game with Arnav. He gets a lot of encouragement when he shares his coding games with others at SkoolofCode. The player controls the shark using the four arrow keys and the shark has to eat all the fish that are present in the ocean. This is Arnav’s first coding game in Scratch which is showcased. While coding in Scratch, he created his own Hungry Shark Game. Scratch coding, as we know, is a block- based coding language, which is appropriate for a young coder to begin his/her coding journey. ![]() He’s excited when he sees what you can do in Scratch. He enjoys coding because he can have fun by coding his games and then playing them with his family and friends.Īfter spending some time in SkoolofCode( now more than a year), Arnav learnt a lot about Scratch. Arnav is a young boy learning coding in SkoolofCode.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |