untung99.homes: How to Use Scratch
Untung99 menawarkan beragam permainan yang menarik, termasuk slot online, poker, roulette, blackjack, dan taruhan olahraga langsung. Dengan koleksi permainan yang lengkap dan terus diperbarui, pemain memiliki banyak pilihan untuk menjaga kegembiraan mereka. Selain itu, Untung99 juga menyediakan bonus dan promosi menarik yang meningkatkan peluang kemenangan dan memberikan nilai tambah kepada pemain.
Berikut adalah artikel atau berita tentang Harian untung99.homes dengan judul untung99.homes: How to Use Scratch yang telah tayang di untung99.homes terimakasih telah menyimak. Bila ada masukan atau komplain mengenai artikel berikut silahkan hubungi email kami di koresponden@untung99.homes, Terimakasih.
Download Article
Download Article
This article was co-authored by wikiHow staff writer, Travis Boylls. Travis Boylls is a Technology Writer and Editor for wikiHow. Travis has experience writing technology-related articles, providing software customer service, and in graphic design. He specializes in Windows, macOS, Android, iOS, and Linux platforms. He studied graphic design at Pikes Peak Community College.
The wikiHow Tech Team also followed the article's instructions and verified that they work.
This article has been viewed 41,691 times.
Learn more...
Scratch is a great educational tool developed by MIT. It enables nearly anyone to experiment with the basics of vector art, animation, and game development. You can create projects by yourself, or you can collaborate with other creators online. This wikiHow teaches you how to use Scratch.
Steps
-
Navigate to scratch.mit.edu/ in a web browser. This is the web page for Scratch. You can access Scratch directly from the website, or you can download the offline editor for Windows, macOS, Android, and Chromebook.
-
Click Join Scratch. It's in the upper-right corner. Click this option to create a Scratch account.
- You don't need to create an account to use Scratch, but it allows you to save projects online and share your work. Click Create in the upper-right corner to open the Scratch editor without creating an account. You can still save your work to your computer.
-
Create a username and password and click Next. Use the field at the top to enter your desired username. You can use anything as your username, but do not use your real name. Then use the next two fields to create a password. Make sure you enter the same password in both fields. Click Next when you are done.
-
Select your country and click Next. Use the drop-down menu to select your country. If you don't want to share your country, choose "Antarctica". Click the orange button that says Next when you are finished.
-
Select your birthday and click Next. Use the drop-down menus to select the month and year of your birthday. Click the orange button that says Next when you are done.
-
Select your gender and click Next. Click the radio option next to your preferred Gender option and click the orange button that says Next. You can select "Male", "Female", "Non-binary", "Another Gender [specify in the box]", or "Prefer not to say".
-
Enter your email address and click Create my account. Use the field to enter a valid email address. Then click the orange button that says Create my account when you are finished. You will be signed in automatically and directed to the Scratch Editor online.
- You can also download the offline editor from https://scratch.mit.edu/download. To do so, click Windows, macOS, ChromeOS, or Android. Then click Direct download. Open the downloaded file and follow the directions.
-
Type a name for the project in the bar at the top. It's to the right of the menu bar at the top.
-
Understand the two types of graphics. Video game design uses two types of graphic images, sprites and backdrops. Scratch has a variety of premade sprites and backdrops you can choose from. You can also make your own graphics inside of Scratch or using an external graphics editor.
- Backdrops: Backdrops set the scene that your game takes place in. They are generally static images that take up the entire screen or play area. Click the icon that resembles a photograph in the lower-right corner to view a list of pre-made backgrounds. Click a backdrop image to select it.
- Sprites: Sprites are objects that go on top of the background. They can be a playable character, non-playable characters, enemies and obstacles, power-ups, or other interactive objects. To select a premade sprite, click the icon that resembles a cat in the lower-right corner to view a list of premade sprites. Then click a sprite you want to use. All sprites in your project are listed below the play area in the upper-left corner. To delete a sprite, click the icon
-
Understand the two graphic formats. Scratch allows you to make 2D games. The two types of 2D graphics you can create are bitmap and vector images.
- Bitmap: Bitmap images are made up of pixels. Bitmap graphics are not used that often. The downside is they tend to have a fixed size. Enlarging raster images can make them look pixelated or fuzzy. Bitmap file formats supported by Scratch include JPEG/JPG, GIF, and PNG. You can create raster graphics using Paint on Windows, the Scratch sprite editor, or Preview on Mac. Though you may prefer a more robust image editor such as Photoshop or GIMP, which is a free alternative to Photoshop.
- Vector: Unlike raster images, vector graphics are not made of pixels. They are made up of data points called vectors that are connected to create lines and shapes. They are the most widely used graphics on Scratch. Scratch supports scalable vector graphic (.svg) image formats. You can create vector graphics using Adobe Illustrator, or Inkscape which is a free alternative to Illustrator.
-
Start a new graphic in Scratch. To create a new background or sprite using the built-in graphics editor, hover the mouse cursor over the icon that resembles a photograph for backgrounds or the icon that resembles a cat for sprites. Then click the icon that resembles a paintbrush to open the built-in graphics editor.
- To import an external graphic image, click the icon that resembles a trey with an arrow pointing up over it. Then select a JPEG/JPG, GIF, PNG, or SVG image and click Open.
-
Use the paintbrush tool. The paintbrush tool is used to draw objects freehand. To select the paintbrush tool, click the icon that resembles a paintbrush in the toolbar to the left of the drawing area in the middle. Click and drag to draw freehand using the paintbrush tool. This creates shapes in vector format.
-
Use the shape tools. There are two shape tools in Scratch, the rectangle tool and the ellipse tool. The rectangle tool can be used to make squares and rectangle shapes. The ellipse tool can be used to make circles and ovals. Click the icon that resembles a square or a circle in the toolbar to the left of the drawing area. Then click and drag in the drawing area to create a rectangle or oval shape.
- Hold the "Shift" key while you drag to create a perfect square or circle.
-
Use the line tool. The line tool can be used to create straight lines. To use the line tool, click the icon that resembles a straight line in the toolbar to the left. Then click and drag to create a line.
-
Use the eraser tool. The eraser tool is used to erase parts of a shape or line you've already drawn. To use the eraser tool, click the icon that resembles an eraser in the toolbar to the left. Then click and drag over an image or part of an image you want to erase.
-
Use the reshape tool. The reshape tool is used to alter the shape of a vector object. To use the reshape tool, click the icon that resembles a mouse cursor clicking a dot. This displays all the vector points in your drawing. Click and drag the vector points to change the shape of an object.
- To change a line from straight to curved, click a vector point with the reshape tool. Then click Curved above the drawing area. Click Pointed to make a curved line straight.
-
Use the select tool. The select tool allows you to select and move objects you've drawn in the drawing area. To use the select tool, click the icon that resembles a mouse cursor in the toolbar to the left. Then click an object you want to select. Click and drag to select multiple objects or hold Shift while selecting your
- To group multiple objects into one object, use the select tool to select all the objects you want to group together. Click Group above the drawing area to group them. Click Ungroup to separate objects that have been grouped together.
- Unlike Bitmap graphics which are made of pixels, vector graphics are made of shapes that can be stacked on top of one another. To move an object behind or in front of another object, select it with the select tool. Then click Forward or Backward to move the object up or down one layer. Click Front or Back to move the object all the way to the top or bottom of your objects.
-
Select a color. To select a color, click an object with the select tool, or select a drawing tool in the toolbar. Then click the box that says Fill to select the color inside of an object. Click the box that says Outline to select a color for the line around the object.
- To select a color, use the slider bar below "Color" to select the color hue. Use the slider bar below "Saturation" to select how much color is applied. Use the slider bar below "Darkness" to select how dark the color hue is.
- To remove the color, click the white box with a red line through it in the lower-left corner of the color selection menu.
-
Select line thickness. To change the line thickness, select an object with an outline, or select the line or shape tools. Then type a number in the box next to "Outline" or use the up and down arrows to change the line thickness.
- For the Paintbrush tool, use the box next to the icon that resembles a paintbrush at the top to alter the thickness of the paintbrush strokes.
-
Use the paint bucket tool. The paint bucket tool is used to fill a shape with a color. To use the paint bucket tool, click the icon that resembles a pouring paint bucket in the toolbar. Use the "Fill" color picker to select a color. Then click inside the object you want to fill.
-
Click the Backdrops tab. It's the second tab in the upper-left corner.
-
Select a backdrop. All backdrops you loaded are listed in the panel to the left when you click the "Backdrops" tab.
- To rename a backdrop, use the bar next to "Costume" above the drawing area to type a new name for the backdrop.
-
Add a sprite to the scene. All sprites you've uploaded are listed below the play area in the upper-right corner. Click and drag a sprite into the play area to place it in the scene. Drag it to the location you want it to go. You can change the location any time by clicking and dragging the object in the play area.
-
Change the size of a sprite. To change the size of a sprite, time the percent number of the sprite in the box next to "Size".
-
Change the direction of a sprite. To change the direction of a sprite, click the box next to "Direction". Then click and drag the arrow around the compass to the direction you want the sprite to point. Click the icon that resembles two arrows pointing towards each other below the compass to flip him in a mirror direction.
-
Rename a sprite. To rename a sprite, type the name of the sprite in the box next to "Sprite" below the play area.
-
Click the Sounds tab. It's the third tab at the top in the upper-left corner.
-
Click the icon that resembles a speaker. It's in the lower-left corner when you click the "Sounds" tab.
-
Use the tabs at the top to browse sounds. The tabs at the top of the Sounds menu allows you to browse sounds by category.
-
Hover over the play icon to preview a sound. It's the purple icon in the upper-right corner of each sound option.
-
Click a sound to select it. This loads the sound in the panel to the left and opens it in the sound editor.
- To upload your own sound, hover the mouse cursor over the speaker icon in the lower-left corner. Then click the icon that resembles a trey with an arrow pointing up. Click a sound file and click Open. Scratch supports .wav and .mp3 files.
- To record your own sound, hover the mouse cursor over the speaker icon in the lower-left corner. Then click the icon that resembles a microphone. Click the record button to start recording. Click the stop button to stop recording. Click the play icon to preview the recording. Click and drag the red bars to the left and right of the sound wave to select the starting and stopping point of the sound clip. Then click Save.
- You can also backpack sounds from other projects. Go into the sound in another project's editor, open the backpack, and drag the sound into it.
-
Name a sound. To name or rename a sound type a name for the sound in the bar next to "Sound" at the top of the Sound editor menu.
-
Alter the sound. There are several options below the sound wave that alter the sound. These options are as follows:
- Faster: This option speeds up the sound.
- Slower: This option slows down the sound.
- Louder: This option raises the volume of the sound.
- Softer: This option lowers the volume of the sound.
- Mute: This lowers the volume to 0.
- Fade in: This option makes the sound start quiet and get louder.
- Fade out: This option makes the sound get quiet at the end.
- Reverse: This option plays the sound backward.
- Robot: This option adds a metallic sound effect.
-
Click the Code tab. It's the first tab at the top in the upper-left corner. This displays the code menu.
-
Click a sprite you want to apply code to. Sprites are listed below the play area to the left.
-
Drag an event block into the code area. In Scratch, coding is done in visual blocks. Event blocks are listed below "Events" in the list of blocks. These indicate an action that triggers a script. Examples include, "When [green flag icon] is clicked", "When [keyboard key] is pressed", or "When this sprite is clicked".
- Some blocks have drop-down menus you can use to select an option or a white text box you can use to input your own value. For example to assign an action to a keyboard key, drag the block that says "When [space] is pressed" into the code area. Then use the drop-down menu in the block to select a keyboard key.
-
Attach an action block below the event block. Action blocks make something happen when the event is triggered. It can make objects in the play area move, trigger a sound effect, display text, or change the score. Attach an action block to the bottom of the event block so the notches line up. Use the following steps to create simple movement controls:
- Select a sprite.
- Add an event block that says "When [right arrow] is pressed" to the coding area.
- Attach a block that says "point in direction (90)' below the event block.
- Attach another block that says "move (10) steps".
- Add a new event block that says "When [left arrow] is pressed" to the coding area.
- Attach a block that says "point in direction (90)" below the event block.
- Click the white circle that says (90) and drag the arrow so it points to the left. The block should now say "point in direction (-90)"
- Attach another block that says "move (10) steps".
-
Click the green flag icon above the play area. This starts your program and allows you to test it. There are many combinations of blocks you can use. Try to experiment and watch lots of tutorials to learn how to get good at coding in scratch.
-
Click the red flag icon above the play area. This stops your program.
-
Click File. It's in the menu bar at the top.
-
Click Save to your computer. Use this option to save a copy of your Scratch program to your desktop computer.
- Alternatively, if you are using the online editor and you are logged in, you can click Save Now to save your work online.
-
Type a name for your file. It goes in the field next to "File name".
-
Click Save. This saves your Scratch file as a ".sb3" file.
-
Click File. It's in the menu bar at the top.
-
Click Load from your Computer. Use this option to load a saved file.
-
Select a ".sb", ".sb2", or ".sb3" file. These are the file types that correspond to Scratch, Scratch 2, and Scratch 3.
-
Click Open. This opens your file in Scratch.
Add New Question
-
How do I make it so that I don't need to press the green flag continuously in order to make the character move?
Instead of a "When Green Flag Clicked" block in front of the move commands, put a "When Key Pressed" block there.
-
How do I upload My Little Pony pics?
First, download the picture you want. Then, on whichever part of the program you want (background, sprite, costume) click the button that looks like a square with an arrow going through it. Lastly, choose the picture from a file.
-
Is there a way to duplicate a costume?
Yes, you can! Click on your sprite and go to costumes. Click the costume, and click the middle mouse button; you will see duplicate, save to a local file, etc. Click duplicate, and voila!
See more answers
Include your email address to get a message when this question is answered.
Submit
-
Keep practicing to get better.
-
If you have an account on Scratch, visit it often.
Thanks for submitting a tip for review!
-
The Scratch website is very child friendly and if you swear or put in anything that is the slightest inappropriate you will be banned by the Scratch administrators.
-
The Scratch website causes your computer to slow down a lot, so keep the website visits limited/only when you need to. However, use the Scratch program all you want as it doesn't really slow your computer down like the website does.
1. Go to http://scratch.mit.edu/ and click Create.
2. Click the icon that resembles a photograph in the lower-right corner to select a background.
3. Click the icon that resembles a cat to select a sprite.
4. Click the icon that resembles paintbrush in the background or sprite menu to open the graphics editor.
5. Use the tools next to the drawing area to create graphics.
6. Use the options above the drawing area to manipulate the graphics.
7. Click the Sounds tab in the upper-right corner.
8. Click the icon that resembles a speaker in the lower-left corner to select or create a sound.
9. Click the Code tab.
10. Select a sprite below the play area to the right.
11. Drag an event block into the coding area.
12. Attach other blocks to the event block to make the sprite interactive.
13. Save your work.
Did this summary help you?
Thanks to all authors for creating a page that has been read 41,691 times.