Scratch is a programming language designed to be easy to use, even for beginners. It uses drag-and-drop blocks instead of typing code. The blocks fit together visually to help users combine commands correctly. Scratch simplifies common tasks like collision detection. The main interface includes a stage to view programs, a sprite list to manage characters, and a blocks palette containing color-coded blocks for motions, looks, sounds, and other commands. Scratch aims to introduce programming concepts through visually engaging games, animations and stories.
Download as PPTX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
575 views
Introduction To Scratch Programming
Scratch is a programming language designed to be easy to use, even for beginners. It uses drag-and-drop blocks instead of typing code. The blocks fit together visually to help users combine commands correctly. Scratch simplifies common tasks like collision detection. The main interface includes a stage to view programs, a sprite list to manage characters, and a blocks palette containing color-coded blocks for motions, looks, sounds, and other commands. Scratch aims to introduce programming concepts through visually engaging games, animations and stories.
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 9
INTRODUCTION TO
SCRATCH PROGRAMMING INTRODUCTION
Programming is the art of writing
instructions to tell a computer what to do. A set of instructions is called a program. The instructions are written in what’s known as a programming language, and there are thousands to choose from. WHAT IS SCRATCH?
Scratch is a programming language that is
perfect for making games, animations, interactive stories and other visually rich programs. It provides a great introduction to programming for people of all ages. It’s widely used in schools and colleges. WHY SCRATCH PROGRAMMING Scratch is easier to use than most other programming languages for a number of reasons: • You don’t have to remember or type any commands: they’re all on screen, so you can just drag and drop them. • Commands fit together like jigsaw pieces, so there are strong visual hints about how you can combine them. • Error messages are rare. Because Scratch commands lock together, programs always make some kind of sense. It is possible to still write programs with logical errors in, if they don’t do what you expected, but Scratch guides you to write things that work, rather than nagging you when they don’t. • The commands are color-coded and categorized, so you can easily find a command when you need it. • The commands in Scratch simplify common activities in games, such as testing whether a missile has hit an alien (collision detection), or rotating a character on screen. USING THE SCRATCH SCREEN The main parts of the screen are: • Stage: This is where you can see your animations and games in action. When Scratch starts, there’s a large orange cat in the middle of the Stage. • Sprite List: The cat is a ‘sprite’, which is like a character or object in a game. Your project might include lots of sprites, such as the player’s spaceship, invading aliens and a missile. In the Sprite List, you can see all the sprites that are in your project, and click them to switch between them. In both versions of Scratch, the Sprite List is underneath the Stage Blocks Palette: In Scratch, you give the computer commands by using blocks, which are instructions that fit together like jigsaw pieces. The Blocks Palette presents you with all the blocks you can use. When you start Scratch, you can see the Motion blocks, which are color- coded in dark blue, and are used for moving sprites around the Stage. You can browse a different set of blocks in the Blocks Palette by clicking one of the buttons above it, such as the Looks button or the Sound button.