In this video, I demonstrate how to use functions and parameters to simplify a code with musical characters. We take a look at sprites that sing notes, move, and speak words and create a function that will perform those actions for us. I explain the importance of editing a function's parameters for reusability and flexibility. Viewers are encouraged to experiment with the code and share their creations.
Starter program can be accessed here: arcade.makecode.com/S61268-33...
Fyi, I did not create the started program. It was provided to me a few years ago as a free teaching resource by TinkerGen. I made a couple small edits to it.
27 июн 2024