Projects
Any creation in Scratch such as code for a game, story, or animation is termed as a project in Scratch. You can create a project by using the Scratch editor. Once a project has been created it can be shared with other Scratch programmers (called Scratchers). As of Sep, 22 there are over 100 million shared projects in Scratch.
Any scratches can use the code of a shared project and create another project through it. This process is called “Remixing”. As part of the community guidelines, you should acknowledge the creator of the original project whenever you are remixing their code.
Scratch Project Example
Below is the implementation of a simple program:
Here we have made a girl walk along the beachside. She will walk a few steps and then say “Hello”. Let’s see how we have implemented this.
- First, you have to select a suitable backdrop for your project. Here I have used the “Beach Malibu” backdrop.
- Select the sprite you want to work with. Here I have used the “Avery walking” sprite.
- Follow the following script:
Working of Code
- The first event is when the flag is clicked, it is for starting the program.
- The second block of code makes the sprite located in the initial position that is x is -164 and y is -69.
- Then we placed a loop to repeat moving by changing the costume 20 times.
- After completing the loop the sprite will say hello for one second.
Output:
Basics of Scratch Programming
Scratch is a programming language. Programming language is meant that a means of communicating with the computer, so as to give some instructions for it to perform. Programming in Scratch is very easy, including animation and games. It is a very useful tool for young kids or creators to learn and implement coding logic. It was developed by MIT’s Media Lab and it is free and can be used online on its, website, or it can be downloaded to use offline. It is available for operating systems like Windows, iOS, ChromeOS, Android 6.0+, etc. In this article, we will discuss the basics of Scratch.