Building the presentations
Animation with Scratch - Lesson 4
Objectives
- Use sequence, selection, and repetition in programs; work with variables and various forms of input and output.
- use logical reasoning to explain how some simple algorithms work and to detect and correct errors in algorithms and programs.
Lesson Resources
Lesson 1 - Coordinates and Looks
Lesson 2 - Broadcasting
Lesson 3 - Planning the Presentation
Lesson 4 - Building the presentations
Lesson 5 - Introducing interactive elements
Introduction
This lesson is about the students getting on with programming their animations. While it’s not set in stone, below is a suggested order for doing things
Suggested order of doing things:
1. Import all the backgrounds needed, put them into the correct order and rename each one (simply numbering them or using one key word works best and saves confusion later)
2. Import or create any Sprites that are needed and name them.
3. Program visibility of all sprites at the start of the animation, which ones should be showing and which should be hidden?
4. Program the starting position of all sprites with ‘go to coordinate’ blocks
5. Then begin to add movement speech etc blocks to the sprites that appear first. Program it a scene at a time from here, the beginning might look like something like this:
6. Start to add broadcasts, change background blocks and make things appear/disappear at the correct times, for example:
7. Add sounds and music as they are needed. If you want background music to play all the way through the animation it’s best added as a separate thread of code. If the animation lasts longer than the piece of music just wrap it in a forever loop and ensure you select the ‘play sound until done’ block so it reaches the end before it plays it again.
Plenary
Review what they have so far. Ask - have you included any of the following?
- sprites moving using coordinates
- sprites speaking
- backgrounds changing
- sprites changing costumes
- sprites appearing or disappearing
- sound effects or music
Is everything happening in the right order so far?
Take a look at a partner's work so far, is there anything they could improve?
Do they have any pointless code e.g. multiple repeated blocks (instead of using a loop)?
Do they have any unused code that can be deleted?
Save what they have done so far in their project > File > Save to your computer.