Animating your Sprites to Make Greeting Cards. This lesson will lead you through: Selecting a background Adding letter sprites Using the random function.

Slides:



Advertisements
Similar presentations
In this tutorial, we are going to create: A race car that the user can control with the arrow keys for direction and speed. A simulated road with a striped.
Advertisements

Mission Technology Introduction to Scratch! June 2007.
How to make an educational Snakes and Ladders game in Scratch
Code Club Session 3 Shark Eats Fish. Picture of finished product here.
Fish Chomp. The screen where you can see what happens when you play your game is called the STAGE. The SCRIPT BANK is where the types of instructions.
DRAFTING TECHNIQUES I 136. Here is a basic shape. From here, we will do some advanced drafting once we put this shape on a sheet as a drawing. Select.
How to make a Shooting Target game in Scratch!. WE ARE GOING TO MAKE A TARGET GAME. This game will have: A Target that will move when clicked. A Timer.
2015 CSE/EGR Summer Camps 1 Computer Science Concepts 1. What is an algorithm? 2. Binary information coding 3. Programming concepts via Scratch Designed.
Play Road Game to understand the game Click on each sprite to understand its script Think about a different place that a sprite would have to get across.
1 Understand how to use Scratch to: – Animate a sprite – Add sound to your script – Use the forever command to create a loop Lesson 2: Learning Objectives.
Fish Chomp. The screen where you can see what happens when you play your game is called the STAGE. The SCRIPT BANK is where the types of instructions.
Image #1 Getting Started
1 Use different costumes in Scratch to make an animation effect Synchronise interaction between 2 or more sprites Lesson 3: Learning Objectives.
First Project: Dance Dance Sprite  Write a dance with your sprite (You pick or create the sprite)  Incorporate as many of the Motion Commands as you.
Introduction to Computer Programming - Project 2 Intro to Digital Technology.
How to create a sprite Delete a sprite (e.g. the cat) by right clicking on it and choosing delete. Go to the bottom right hand corner of the stage and.
 SCRATCH is a new programming language that lets you create your own interactive stories, animations, games, music, and art.
How to create a basic game in Scratch. The Scratch Stage The Scratch stage is 480 pixels wide and 360 pixels high x increasesx decreases.
Computer Programming with Scratch JAOIT 8. Scratch Scratch is a programming language that makes it easy to create your own interactive stories, animations,
Introduction to Programming with Scratch Exploring Computer Science – Lesson 4-1.
Sprites & Backdrops. Sprites Sprites are the actors that perform the commands in your script. The cat is the default Sprite. Scratch has many other Sprites.
Teaching Kids Programming with Chromebook Digital Convergence Lab, NIU.
Play Road Game to understand the game Click on each sprite to understand its script Think about a different place that a sprite would have to get across.
Review for Final June 13, 2016.
Scratch Animated Greeting Cards.
Customise & Explain your game
Commands in Scratch.mit.edu
Creating a Tank Game in Scratch
Cosmic Chorus Green Book, Ch 5.
Pen Cards Pen Cards Back and Forth Draw a Line Special Effects
Pen Cards Pen Cards Back and Forth Draw a Line Special Effects
Stopwatch Cards Stopwatch Cards
Dance Cards Dance Cards
Playing with Pictures Module 1 Lesson 3.
BYOB – Costumes.
Getting Started with Scratch
Dance Cards Dance Cards
Dance Cards Dance Cards
Cosmic Chorus.
Dance Cards Dance Cards
Dance Cards Dance Cards
Dance Cards Dance Cards
Areas of the SCRATCH 2 Screen
Pen Cards Pen Cards Back and Forth Draw a Line Special Effects
(More) Basic blocks Broadcasting messages
Dance Cards Dance Cards
Stopwatch Cards Stopwatch Cards
Dance Cards Dance Cards
Getting Started with Scratch
Stopwatch Cards Stopwatch Cards
Image #1 Getting Started
Tank Game Int 10 Unit 3 – Game Maker.
Dance Cards Dance Cards
Pen Cards Pen Cards Back and Forth Draw a Line Special Effects
Getting Started with Scratch
Stopwatch Cards Stopwatch Cards
Dance Cards Dance Cards
Dance Cards Dance Cards
Game development using Scratch
Pen Cards Pen Cards Back and Forth Draw a Line Special Effects
Pen Cards Pen Cards Back and Forth Draw a Line Special Effects
Pen Cards Pen Cards Back and Forth Draw a Line Special Effects
Introducing Scratch and Creating Sprite
Stopwatch Cards Stopwatch Cards
Pen Cards Pen Cards Back and Forth Draw a Line Special Effects
Dance Cards Dance Cards
Pen Cards Pen Cards Back and Forth Draw a Line Special Effects
Stopwatch Cards Stopwatch Cards
“A Day in the Life” CTE Enrichment Grades 3-5 Computer Science Unit
Dance Cards Dance Cards
Presentation transcript:

Animating your Sprites to Make Greeting Cards

This lesson will lead you through: Selecting a background Adding letter sprites Using the random function to animate letters Adding sound Once you have completed the tutorial, tweak the code to create your own card.

Choose a background Click on the Stage area and select a new backdrop

Add sprites and change their costumes to letters to spell out a greeting Add a new sprite Click on the costumes tab and change the costume to a letter Do this for each letter in your greeting (I spelled Happy Holidays)

Animate the letters of your first word For your first letter, enter the following script: For each subsequent letter in your first word, edit the x value of the glide to block by adding 50 so that the letters don’t overlap once they finish gliding into position

Animate the letters of your second word For your first letter, enter the following script: For each subsequent letter in your second word, edit the x value of the glide to block by adding 50 so that the letters don’t overlap once they finish gliding into position

The Pick Random () to () Block This block is used in our letter animation to pick a random starting position The pick random () to () will pick a number between (or including) the endpoint values you enter This can be used for animation in greeting card or to start predators off in a game

Add a Background Animation Add a new sprite (I chose to add the Tree-lights sprite)

Add a Background Sprite Once you’ve added the sprite, let’s add sounds. Go to the Sounds tab of your sprite and click on the “Choose sound from library” button. Add Xylo1 to this sprite. We will add these in later.

Add a Background Sprite Once you’ve added the sounds, let’s animate this sprite. Go to the costumes tab and click on the button “Paint new costume” Add the same costume again (tree-lights) Edit it by clicking the “flip left-right” button

Add a Background Sprite Add the following script:

Add a Background Sprite Add the following script:

Add a Background Sprite Let’s create some snowflakes. Add in this sprite:

Add a Background Sprite Let’s create some snowflakes. Add in this sprite:

Add a Background Sprite Add the following script to your snowflake sprite:

The Clone Feature Cloning is a feature that allows a sprite to create a clone, or semi-duplicate, of itself, while the project is running. Clones of a sprite will be the same as the original, or parent sprite, but as a separate instance. Clones inherit the parent's scripts, costumes, sounds, and properties, but can then be modified. There is a limit of 300 clones per project to prevent excessive lagging or crashes.

The Clone Feature Cloning is a feature that allows a sprite to create a clone, or semi-duplicate, of itself, while the project is running. Clones of a sprite will be the same as the original, or parent sprite, but as a separate instance. Clones inherit the parent's scripts, costumes, sounds, and properties, but can then be modified. There is a limit of 300 clones per project to prevent excessive lagging or crashes.

Let’s Add Some More Detail Create another sprite:

Let’s Add Some More Detail Add this script to animate your snowman:

Let’s Add Some More Detail Let’s add a penguin now.

Let’s Add Some More Detail Add this script to make your penguin jump up and down:

Let’s Add Some More Detail Finally, let’s get rid of the cat and add a dove.

Let’s Add Some More Detail Make it so your dove has two costumes, by going to the costumes tab and adding in both dove costumes.

Let’s Add Some More Detail Finally, add the following script to your dove.

Send it to me and your friends/family! Happy holidays! I would love to see your creations, so tweak this card to make it your own and then share it and send me the link. You can share this card with your friends and family by sending them the shared link, too!