It's Sean!

UK freelance journalist, author
and copywriter Sean McManus

Printed from www.sean.co.uk. © Sean McManus.
Home > Books > Scratch Programming in Easy Steps > 10 block demos

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.