It's Sean!

UK freelance journalist, author
and writer 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.

Books by Sean McManus

Scratch Programming in Easy Steps

Scratch Programming in Easy Steps

Raspberry Pi For Dummies

Raspberry Pi For Dummies

Learn to program with the Scratch programming language, widely used in schools and colleges.

Set up your Pi, master Linux, learn Scratch and Python, and create your own electronics projects.

Earworm: a novel about the music business

Earworm

Cool Scratch Projects in Easy Steps

Cool Scratch Projects in Easy Steps

An entertaining techno-thriller that takes a slice through the music business: from the boardroom to the stage; from the studio to the record fair.

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

More books

Recommended articles

Stylised coloured photo of a synth

Discover my music and home recording articles

Interested in starting home recording? Follow me as I start recording, using instruments such as the Novation MiniNova and Korg Kaossilator, and share my synth and sample-based music online.

Scratch cat and rainbow circle

10-block demos for Scratch programming

Lots of people of all ages are learning to program with Scratch. Discover some useful tricks and techniques in my 10-block Scratch demos, including special effects you can drop into your games.

Paper Raspberry Pi case

Download free book chapters and more!

Download a free case for your Raspberry Pi, and free chapters from my books about the Raspberry Pi, Scratch, web design and more!

©Sean McManus. www.sean.co.uk.