Skip to content

Latest commit

 

History

History
106 lines (61 loc) · 4.96 KB

lesson_14.md

File metadata and controls

106 lines (61 loc) · 4.96 KB

Lesson 1.4: Animation

Learning objectives

Students will be able to...

  • Animate sprites using costume changes and movement.
  • Trigger action in other sprites using broadcasts.
  • Implement scripts for multiple sprites.

Materials and preparation

Pacing guide

Duration Description
10 minutes Welcome, attendance, bell work, announcements
10 minutes Lecture and introduce activity
25 minutes Animation activity
10 minutes Debrief and wrap-up

Instructor's notes

Note: The Lesson 1.4 project has examples of all the concepts covered in this lesson.

Warm-up

  • Students should complete Do Now 1.4 individually.

Lecture

Broadcasting

Introduce students to the Costumes tab and show them how to import costumes to a sprite.

  • Point out that, while a sprite's costumes can be anything, most often the different costumes of a single sprite will be somehow related.

Demonstrate how to use the next costume and switch to costume blocks to change the appearance of a sprite.

Next Costume

Switch Costume

  • Emphasize that costumes will cycle and that switching to the costume a sprite is already "wearing" is OK.
  • Combine costume switching with movement and other actions to show that blocks of different pallettes can be combined in the same script.

Introduce the broadcast and when I receive blocks and show how they can be used to coordinate action between sprites

broadcast Block

When I receive

  • Point out that all sprites "hear" a broadcast and any sprite with a corresponding when I receive block will react.

Discuss the difference between broadcast and broadcast and wait blocks and ask students to come up with ideas for when each would be useful.

broadcast and wait

It's worthwhile to introduce the rotate buttons. These buttons allow you to Snap your rotation, allowing you to lock rotation, allow free rotation, or allow only left/right rotation.

rotate buttons

Adding more sprites

Introduce students to adding more sprites to their script using the add a new turtle sprite button.

add_a_new_sprite

When clicked, the students will notice a new sprite is created with a different color.

Have them select the new sprite, then click on file > costumes > import > Have them select a sprite of their choice.

Show them how they can now write a script for this second sprite that is only for that Sprite.

Activity

Students should complete the Sprites in Action lab individually.

  • Ensure that students create two different sprites for parts 1 and 2 so they do not get the costumes mixed up.

Students can submit the assignment using your turn-in procedures or you can check off the work as students complete it.

Debrief

Ask a student to show their solution to each part. Call on a different student (either a volunteer or via cold calling) for part 1 and part 2.

  • Note any places in which there may be multiple possible approaches. Ask for volunteers to describe differences in their script.

Accommodations and differentiation

Students that finish quickly can be encouraged to add more detail to their animations, such as sounds, say blocks, and/or more costumes.

Especially advanced students can be encouraged to create their own costumes for a new animation that does not use any built-in sprites.

With struggling students, re-emphasize the fact that each sprite can have different costumes and that changing costumes is very much like changing position by moving. Get students to be able to change costumes on a key press before moving on to the animation aspect.