Exciting news! On Friday, Raspberry Pi announced the release of an update to the Raspberry Pi operating system, Raspbian, which includes an offline version of Scratch 2.0.
We often get questions from Code Club leaders looking to use this latest version of Scratch offline on the Raspberry Pi, so this update will be welcome to many!
Work on implementing Scratch 2.0 has been in progress for a while, as Simon Long details on the Raspberry Pi blog, and now the team has succeeded: a Scratch 2.0 application is available for the Pi 2 and Pi 3 – you can find it in the Programming section of the updated Raspbian main menu.
However, the team didn’t stop at providing an offline version of Scratch 2.0 – they have also improved the experience of physical computing on the Pi using Scratch. There is now a custom extension which allows the user to control the Pi’s GPIO pins without difficulty: simply click on “More Blocks”, choose “Add an Extension”, and select “Pi GPIO”. This loads two new blocks, one to read and one to write the state of a GPIO pin.
The Scratch team at MIT kindly allowed Raspberry Pi to include all the sprites, backdrops, and sounds from the online version of Scratch 2.0, so the cat sprite and its meow noise that we all know and love are present and accounted for. And you can even use the Raspberry Pi Camera Module to create new sprites and backgrounds!
Got questions or want to learn more? Head over to the Raspberry Pi blog.