Coding Compendium
A free 100-page ebook collecting my projects and tutorials for Raspberry Pi, micro:bit, Scratch and Python. Simply join my newsletter to download it.
Sean McManus, author of Scratch Programming in Easy Steps and Cool Scratch Projects in Easy Steps, shows you how to make a sprite explode in Scratch
The graphic effects in Scratch can be used to distort the colour and shape of your sprites, as this picture shows:
In that example above, the brightness effect is using a negative number to darken the sprite to a shadow here.
To find the graphic effects, click the Looks button above the Blocks Palette. These are the blocks you use:
By default, the color effect is in the blocks, but you can choose the other effects using the menu in the block.
If you use a loop together with a graphic effect to gradually apply it, you can make the sprite appear to transform. Here's an effect that uses the mosaic effect to make a sprite explode into smithereens.
You can make other great transitions and colour effects by changing the effect type from mosaic to one of the others.
Feel free to share that program card on your social networks, or to use this Scratch programming example in your classroom or Code Club.
In this example, I've added a sound effect. Click the green flag to explode the spaceship after a 1 second delay.
Find more 10 block Scratch demos here. For more information on my Scratch books and more bonus content, visit the Scratch Programming in Easy Steps and Cool Scratch Projects in Easy Steps homepages.
© 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!
A free 100-page ebook collecting my projects and tutorials for Raspberry Pi, micro:bit, Scratch and Python. Simply join my newsletter to download it.
Web Design in Easy Steps, now in its 7th Edition, shows you how to make effective websites that work on any device.
Power up your Microsoft Excel skills with this powerful pocket-sized book of tips that will save you time and help you learn more from your spreadsheets.
This book, now fully updated for Scratch 3, will take you from the basics of the Scratch language into the depths of its more advanced features. A great way to start programming.
Code a space adventure game in this Python programming book published by No Starch Press.
Discover how to make 3D games, create mazes, build a drum machine, make a game with cartoon animals and more!