{"id":4846,"date":"2023-03-23T22:18:45","date_gmt":"2023-03-23T22:18:45","guid":{"rendered":"https:\/\/dalelane.co.uk\/blog\/?p=4846"},"modified":"2023-03-23T22:18:46","modified_gmt":"2023-03-23T22:18:46","slug":"how-to-make-your-own-scratch-extension","status":"publish","type":"post","link":"https:\/\/dalelane.co.uk\/blog\/?p=4846","title":{"rendered":"How to make your own Scratch extension"},"content":{"rendered":"<p><strong>A workshop I prepared for the <a href=\"https:\/\/www.raspberrypi.org\/clubs-conference-2023\/\">Raspberry Pi Clubs Conference<\/a> about how to create your own custom Scratch blocks.<\/strong><\/p>\n<p>This workshop is a step-by-step guide for how to create a Scratch extension.<\/p>\n<p>I created it for educators and coding group volunteers, who would like to customize Scratch for their students by giving them new and unique blocks to create with. In particular, I wanted to make this accessible to people who perhaps don&#8217;t necessarily think of themselves as developers and wouldn&#8217;t otherwise know how to clone the Scratch Team repos and start hacking it.<\/p>\n<p>I&#8217;ve wrapped all the complicated bits in scripts that set everything up, and prepared an online Scratch extension development environment &#8211; so everything can be done in a web browser without having to install or configure anything on your own computer.<\/p>\n<p>I&#8217;ve included step-by-step instructions for building different types of Scratch extensions, including Scratch blocks based on web APIs, and Scratch blocks based on JavaScript modules from <a href=\"https:\/\/www.npmjs.com\">npm<\/a>.<\/p>\n<p><iframe loading=\"lazy\" width=\"450\" height=\"260\" src=\"https:\/\/www.youtube.com\/embed\/bX9ZqhuxtnI\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen=\"\"><\/iframe><br \/>\n<small><a href=\"https:\/\/youtu.be\/bX9ZqhuxtnI\">workshop video on YouTube<\/a><\/small><\/p>\n","protected":false},"excerpt":{"rendered":"<p>A workshop I prepared for the Raspberry Pi Clubs Conference about how to create your own custom Scratch blocks. This workshop is a step-by-step guide for how to create a Scratch extension. I created it for educators and coding group volunteers, who would like to customize Scratch for their students by giving them new and [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[536],"class_list":["post-4846","post","type-post","status-publish","format-standard","hentry","category-code","tag-scratch"],"_links":{"self":[{"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/4846","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4846"}],"version-history":[{"count":0,"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/4846\/revisions"}],"wp:attachment":[{"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4846"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4846"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4846"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}