10 block demos in Scratch

Sean McManus shares some 10 block demos that demonstrate popular techniques in Scratch

When I first started programming on the Amstrad CPC computer, magazines used to publish short listings. People could use them to learn how to program, and as building blocks for their own programs. One of the magazines had a feature called 10-liners, where programmers were invited to show what they could do in 10 lines of Basic.

I thought I'd see what I could do in up to 10 blocks of Scratch, and created a series of program cards. Click the cards below for more information and working demos, and feel free to share the cards on your social media channels or with the Scratch coders in your family, class or club.

How to add a countdown timer to your game

How broadcasts work

How broadcasts work: click for explanation

How to add a password to your Scratch game

How to add a password to your game: click for explanation

How to draw any regular shape in Scratch

How to draw any regular shape: click for explanation

How to draw a circle in Scratch

How to draw a circle: click for explanation

How to make a sprite explode in Scratch

How to make a sprite explode: click for explanation

How to use a webcam in Scratch

This Scratch example requires Scratch 2.0, not available on the Raspberry Pi

Ticklish dragon: Scratch webcam demo

How to greet the player by name

This Scratch example requires Scratch 2.0, not available on the Raspberry Pi

How to greet by username: click for explanation

Any requests?

Do you have an idea for a short program you'd like to see here? Email me, or message me on Twitter.

Find out more...

For more information on my Scratcb books and more bonus content like this, visit the Scratch Programming in Easy Steps and Cool Scratch Projects in Easy Steps homepages. You can also learn how to use Scratch on the Raspberry Pi in Raspberry Pi For Dummies.

Credits

© Sean McManus. All rights reserved.

Visit www.sean.co.uk for free chapters from Sean's coding books (including Mission Python, Scratch Programming in Easy Steps and Coder Academy) and more!

Discover my latest books

Mission Python book

Mission Python

Code a space adventure game in this Python programming book published by No Starch Press.

Coder Academy book

Coder Academy

Learn to make games and other programs in Scratch, and make a web page in HTML. Highly interactive book for 7-10 year olds.

Cool Scratch Projects in Easy Steps book

Cool Scratch Projects in Easy Steps

Discover how to make 3D games, create mazes, build a drum machine, make a game with cartoon animals and more!

Walking astronaut from Mission Python book Top | Search | Help | Privacy | Access Keys | Contact me
Home | Blog | Copywriting Services | Books | Free book chapters | Articles | Photos | Games | Shop | About