This week the digital leaders learnt how to add an additional obstacle for the sprite to jump over. We used the right click to duplicate the existing obstacle so it had exactly the same code attached. We then added extra code so that the second obstacle appeared later and hid until needed. We tested our games out and made some simple adjustments to the code to make sure that we could jump over the obstacles (like making the sprites glide quicker.)
“It’s very clever that you can copy the code from one sprite to another and just change one a little bit without having to write it all again.”
“There are so many blocks that do lots of cool things, I am definitely going to carry on using Scratch.”