Scratch Lab 2

Name: Chris Theo

Period: 7

Assignment: Lab #1

Lab Overview

This lab is based on learning how to use loops within Scratch and learning to animate with more variables such as reaction commands and making overall smoother animations. You can learn more HERE.

My Solution

My creation in this lab consists of a puppy who falls from the sky onto a trampoline and later evolves to turn into a bowl of cheese puffs, these cheese puffs have an allergic reaction to the white background and begin to change color. In order to stop his allergic reaction you are commanded to press the spacebar the trampoline. This stops his allergic reaction and you are proven to be a cheese puff hero.

My Project Link

My Solution

In this project I animate my name to change from normal handwritting to cursive. This animation was hard to make look smooth because you cant put transition blocks in scratch.

My Project Link

My Solution

In this project I animate 8 tennis balls to form a 8 sided polygon. I think this animation works well nad looks smooth.

My Project Link

Questions

  1. What are the types of loops contained in Scratch? What are the differences?
    • There are 3 types of loops in Scratch. The first loop is a loop that allows you to control how many times the sprite or background loops. The second type of loop is a forever loop, and like the name suggusts; it will loop forever. The third and final type is a lops that will continue until something is sensed.
  2. If you are given a situation where you want an action to repeat, but you don’t know how long it should repeat for, which loop is the best structure to use? Why?
    • You a should choose the repeat until loop so you can decide when it stops via a sensing block.
  3. Does the following loop structure work? Does it make sense? Why or why not?
    • No it does no make sense because it would be repeating "this is a forever loop" two times for one second instead of just using one block to say the text and setting the time for 2 seconds.
  4. How can sprites “know” when to begin an action? Is there more than one way?
    • The sprites know when to begin an action by an event block commanding them to start. There are 5 different event blocks that will start your animation.
  5. Are the following code snippets equivalent? Why or why not?
    • Yes these are equivilent because there is a block that defaults to the "else" command, and in both blocks the commands are switched.

Click HEREto return to homepage