![]() When a box pops up asking for a new variable name, type in "direction", and then hit OK. Go to the Variables drawer and click the "Make a Variable" button. Tip: Remember to repeatedly save your code by clicking the "Save Now" button on the top right of the screen that appears when you've added new code to the code space. The red stop sign next to it stops your program. The green flag above the viewing area, when clicked, runs your program. We'll be talking about sprites more in the next step. The bottom half is your sprite pane, where all the sprites you've created are displayed. The area most right of the screen is divided in half-the top half is your viewing area, where you'll see your code output. ![]() ![]() The most left side with all the code blocks is divided into sections based on functionality, and I'll be calling these sections "drawers." The section right next to the drawers is what I call the "code space." This is where we'll be dragging and connecting the code blocks together. When you're on the Code tab, there are three main sections that we'll have to worry about. The next tab over is the Sounds tab, where we'll be adding sound effects to our game. On the tab to the right, the Costumes tab, is where we will be drawing our game characters (the apple and snake). This will take you to a brand new project page.Īutomatically, the project page is on the Code tab, where we'll be dragging code blocks to actually make our snake game. Once you're logged in, click the Create tab at the top of the page, next to the Scratch logo. Sign in if you already have an account, or click Join Scratch at the top right to create a new account. To create a new project on Scratch, go to. If you're interested in learning more, I'd recommend going to Scratch's Ideas page. Disclaimer: This isn't going to be a full out crash course on how Scratch works.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |