Time for action – designing a clickable table of contents
For our storytelling project, we will create buttons with labels that the user can click to open each joke sequence, which we'll make analogous to a chapter in our Scratch book. We'll refer to these buttons as our table of contents. The steps to design a clickable table of contents are as follows:
Open a new project and delete the default Scratch cat sprite.
Let's import a button sprite into Scratch. For this project, I'm choosing the Button2 sprite from the Things category because it's a vector image and it has two costumes. Change the sprite name to Dog TOC so that we can identify this button as something that appears on our table of contents page.
After you import the button into the project, click on the Costumes tab to open up the paint editor. We need to add a label.
Use the text tool to type
Dog
in any font you want.Resize the text and position the word Dog so that it fits inside the button. Because this is a vector image, we can...