As you start, this will all make sense to beginners. This step is an additional step for beginners to see how the code is put together.The When Flag Clicked block is essential for every project.If you want to allow your sprite to move horizontally, change the "x" axis by using the "change x by ( ) block. Make the sprite move up and down, or vertically, by changing the "y" axis. Remember to put a "go to x:0, y: 0" block right after the "When Green Flag Clicked" block, so your sprite will return to the spot where it had started, and not keep moving forwards or backward. Then, drag a "move 10 steps" block and click on the green flag at the top corner of the project. Start your project by dragging the "When Green flag Clicked" block into your workspace. If you understand the blocks, great, you can start coding now! If you don't, that is fine, because in the next few steps, you can learn how to start an easy project off by yourself. Then, in the next step in this article, you will start coding with the blocks. Experiment with the different combinations of different blocks. Try dragging the blocks together yourself.You can only use the cloud variables once your status changes from a New Scratcher to a Scratcher. Create a cloud variable when you want something to store in Scratch. Variables are used when you want for example a score.Operators blocks are the addition, subtraction, multiplication, and division blocks.The sensing part in that example is the if the two colors are touching part. Sensing blocks, for example, is used when two colors or sprites are touching, something is "happening".Also, if you want a situation where if something is happening, then this happens in the project, use the if-then blocks. Control blocks allow you do decide whether you want something to repeat.Events blocks are the "When green flag Clicked", "When space Key Pressed" blocks, and so on.Sound blocks are used when you are going to add sound to your project.Looks blocks can make the sprite's costume change, make the sprite speak on the screen, change the size, and it contains other effects, such as ghost and color effects.The sprite can move forwards or backward to the direction it is pointing at. Testing the block combinations is essential to help you learn how it works. Most of this requires you to explore by yourself.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |