INTERACTING SPRITES MODULE 3: INVESTIGATION 1. Anima9ng Sprites

Similar documents
MODULE 3: Interacting Sprites

Ghostbusters. Level. Introduction:

In this project you ll learn how to create a platform game, in which you have to dodge the moving balls and reach the end of the level.

In this project, you will create a memory game where you have to memorise and repeat a sequence of random colours!

Whack-a-Witch. Level. Activity Checklist Follow these INSTRUCTIONS one by one. Test Your Project Click on the green flag to TEST your code

Create Your Own World

In this project you ll learn how to create a game, in which you have to match up coloured dots with the correct part of the controller.

In this project you ll learn how to create a game in which you have to save the Earth from space monsters.

Fireworks. Level. Introduction: In this project, we ll create a fireworks display over a city. Activity Checklist Follow these INSTRUCTIONS one by one

You are going to learn how to create a game in which a helicopter scores points by watering flowers in the city.

Add in a new ghost sprite, and a suitable stage backdrop.

Pong Game. Intermediate. LPo v1

In this project you ll learn how to create a times table quiz, in which you have to get as many answers correct as you can in 30 seconds.

How to do automatic horizontal background scrolling in Scratch

Clone Wars. Introduction. Scratch. In this project you ll learn how to create a game in which you have to save the Earth from space monsters.

Memory. Introduction. Scratch. In this project, you will create a memory game where you have to memorise and repeat a sequence of random colours!

Lost in Space. Introduction. Scratch. You are going to learn how to program your own animation! Activity Checklist.

Creating Computer Games

Parallax Scrolling Tutorial Created in Drogheda by Seamus Minogue and updated for Clonakilty CoderDojo 15/06/2012 PARALLAX SCROLLING

Fish Chomp. Level. Activity Checklist Follow these INSTRUCTIONS one by one. Test Your Project Click on the green flag to TEST your code

In this project we ll make our own version of the highly popular mobile game Flappy Bird. This project requires Scratch 2.0.

pla<orm-style game which you can later add your own levels, powers and characters to. Feel free to improve on my art

CISC 1600, Lab 2.2: More games in Scratch

Scratch for Beginners Workbook

Lesson 2 Game Basics

Introduction to Turtle Art

SAMPLE CHAPTER

ChatBot. Introduction. Scratch. You are going to learn how to program your own talking robot! Activity Checklist. Test your Project.

Create a Simple Game in Scratch

Defend Hong Kong s Technocore

Defend Hong Kong s Technocore

Open the Tech Toys Scratch project. Your club leader will give you a copy of this project, or you can open it online at jumpto.cc/toys-go.

Starting from LEARNER NOTES edited version. An Introduction to Computing Science by Jeremy Scott

Game Making Workshop on Scratch

GAME PROGRAMMING & DESIGN LAB 1 Egg Catcher - a simple SCRATCH game

Pong! The oldest commercially available game in history

Copyright 2017 MakeUseOf. All Rights Reserved.

Overview. The Game Idea

Explore and Challenge:

Write algorithms with variables. Phil Bagge code-it

Ada Lovelace Computing Level 3 Scratch Project ROAD RACER

AIM OF THE GAME GLACIER RACE. Glacier Race. Ben Gems: 20. Laura Gems: 13

Programming I (mblock)

Module 4 Build a Game

Programming with Scratch

Introducing Scratch Game development does not have to be difficult or expensive. The Lifelong Kindergarten Lab at Massachusetts Institute

Module. Introduction to Scratch

2D Platform. Table of Contents

Inspiring Creative Fun Ysbrydoledig Creadigol Hwyl. Kinect2Scratch Workbook

04. Two Player Pong. 04.Two Player Pong

Scratch Programming Lesson 13. Mini Mario Game Part 4 Platforms

Create a game in which you have to guide a parrot through scrolling pipes to score points.

A. creating clones. Skills Training 5

Project 1: Game of Bricks

a. the costumes tab and costumes panel

Create Your Own World

Lab book. Exploring Robotics (CORC3303)

Pong! The oldest commercially available game in history

Step 1 : Earth and Mars Orbit the Sun

Using LEGO WeDo kits with Scratch

MODULE 1: Tiling Patterns

Flappy Parrot Level 2

Part II: Number Guessing Game Part 2. Lab Guessing Game version 2.0

Assessment. Self Assessment. Teacher Assessment. Date Learning Objective(s) Achievement or. NC Level: Game Control Student Booklet P a g e 1

Brain Game. Introduction. Scratch

Let s start by making a pencil that can be used to draw on the stage.

Tutorial: A scrolling shooter

Before displaying an image, the game should wait for a random amount of time.

UNDERSTANDING LAYER MASKS IN PHOTOSHOP

Creating a Maze Game in Tynker

Lesson 8 Tic-Tac-Toe (Noughts and Crosses)

Alright! I can feel my limbs again! Magic star web! The Dark Wizard? Who are you again? Nice work! You ve broken the Dark Wizard s spell!

Let s start by making a pencil, that can be used to draw on the stage.

Assessment: Reverse Engineering

Rock Band. Introduction. Scratch. In this project you ll learn how to code your own musical instruments! Activity Checklist.

GAME:IT Junior Bouncing Ball

1 Shooting Gallery Guide 2 SETUP. Unzip the ShootingGalleryFiles.zip file to a convenient location.

Lesson 1 Getting Started. 1. What are the different ways you interact with computers?

Student Exploration: Quadratics in Factored Form

The Beauty and Joy of Computing Lab Exercise 10: Shall we play a game? Objectives. Background (Pre-Lab Reading)

TEMPLE OF LOCKS V1.0

Where's the Treasure?

A Day in the Life CTE Enrichment Grades 3-5 mblock Programs Using the Sensors

Explore and Challenge:

Cato s Hike Quick Start

Creating a light studio

Introduction. Overview

VACUUM MARAUDERS V1.0

STEP-BY-STEP THINGS TO TRY FINISHED? START HERE NEW TO SCRATCH? CREATE YOUR FIRST SCRATCH PROJECT!

Tutorial: Creating maze games

Once this function is called, it repeatedly does several things over and over, several times per second:

An Introduction to Programming using the NXT Robot:

abc 3 def. 4 ghi 5 jkl 6 mno. Computers Rule the World

A Day in the Life CTE Enrichment Grades 3-5 mblock Robotics - Simple Programs

THE TECHNOLOGY AND CRAFT OF COMPUTER GAME DESIGN An introductory course in computer game design

Objectives: Create Sprites Create Sounds Create Objects Create Room Program simple game

Learning to Program: Part 2 Wri0ng Methods and Events

Game Maker Tutorial Creating Maze Games Written by Mark Overmars

CHEAP GOLF EDITOR MANUAL. v 0.11

Princess & Dragon Version 2

Transcription:

INTERACTING SPRITES MODULE 3: INVESTIGATION 1 Anima9ng Sprites

Ac9vity 3.1.1 Mul9ple Sprites ACTIVITY 3.1.1 Mul9ple Sprites

Ac9vity 3.1.1 Mul9ple Sprites Open project 3-Mul9ple Sprites - if online Save as a copy and add your name - if offline Save as and add your name Explore the project. Click each sprite and explore how they react. u How many sprites are there in the project? What are their names? u What can each of the different sprites do? How did you find out? u Where do the reacdons of sprites come from?

Ac9vity 3.1.1 Mul9ple Sprites For each sprite build a setup script with the when green flag clicked block to get sprites back to their inidal posidons and test out. Always select the sprite you are building a script for. [Extension] Replace the go to x: y: block with the glide to x: y: block. Experiment with different glide Dmes in this block.

Ac9vity 3.1.1 Mul9ple Sprites u How and where did you find out the ini9al posi9ons of the sprites? u How did you build a script for each sprite? u How many scripts did you build altogether? u What happens if you click one of the scripts? What happens if you click the green flag? What is the difference?

Ac9vity 3.1.1 Mul9ple Sprites As a class decide on a short back story for the four sprites: Where are they from? How do they know the other sprites? What do they like doing?

Ac9vity 3.1.2 Telepor9ng Nano ACTIVITY 3.1.2 Telepor9ng Nano

Ac9vity 3.1.2 Telepor9ng Nano ConDnue in your 3-Mul9ple Sprites project. Drag the hide and show blocks from the Looks group and explore. Build a new behaviour for Nano: If clicked, Nano will vanish, then reappear somewhere else. Use the following blocks

Ac9vity 3.1.2 Telepor9ng Nano As a class discuss and compare the following soludons:

Ac9vity 3.1.2 Telepor9ng Nano u What exactly does the hide block do? What would happen if you removed the show block from your script where would Nano be? u When you click Nano again, does he teleport somewhere else? If not, why? Ensure that whenever we click Nano he will always reappear somewhere else on the stage. Do you remember how the Beetle was jumping to a random posidon?

Ac9vity 3.1.2 Telepor9ng Nano u What values did you select for x and y posi9ons? How did you select these values? u What would happen if you selected only negadve numbers for the x and y posidons, like pick random -200 to -100? Build your own block teleport and have Nano s behaviour as short as

Ac9vity 3.1.2 [Extension] Telepor9ng Nano [Extension] Nano may vanish in one go using hide, then show. However, he can also disappear then reappear gradually using the ghost effect: Explore the block by itself (when isolated, not in a script). Click it again and again. What happens?

Ac9vity 3.1.2 [Extension] Telepor9ng Nano What did you discover? The ghost effect varies between 0 and 100. Use the repeat block to build a disappearing behaviour. Make it you own new block disappear and use it instead of hide. Build the reverse process. Make the speed of disappearing slower than 25. Make it your own new block reappear and use it instead of show.

Ac9vity 3.1.2 [Extension] Telepor9ng Nano [Extension] Explore different costumes of Nano. Use one or several switch costume to blocks in the telepordng script.

Ac9vity 3.1.2 Telepor9ng Nano u Did you use different costumes of Nano? What for? u What exactly is the difference between the following blocks? Explore. u Does Nano disappear and reappear gradually? Slowly? Very slowly? u How could you change the speed that Nano disappeared? Does he disappear completely? Did you use different speeds?

Ac9vity 3.1.3 Jumping Tera ACTIVITY 3.1.3 Jumping Tera

Ac9vity 3.1.3 Jumping Tera Hello I am Tera. I can jump to any y - low or high! Hello I am Nano. I can teleport to any point, to any x or y!

Ac9vity 3.1.3 Jumping Tera ConDnue in your 3-Mul9ple Sprites project. Select Tera. Drag in this block and explore: u What happened when you click the block? u Which inputs have you tried? u Did you drag Tera somewhere else and click the block?

Ac9vity 3.1.3 Jumping Tera Use 2 change y by blocks and a wait Snap them in different ways and explore. u What did you discover? u Which inputs have you tried? u How much did Tera jump up and down?

Ac9vity 3.1.3 Jumping Tera As a class discuss and compare the following soludons:

Ac9vity 3.1.3 Jumping Tera Build a new behaviour for Tera: when clicked, she will jump high, then return back to the same posidon. Use one change y by block for jumping up and one change y by block for returning back. Be sure Tera returns to the same posi9on.

Ac9vity 3.1.3 Jumping Tera Instead of ge^ng back in one jump, we want Tera to float back slowly. Add a repeat block to make Tera float down by repeadng several smaller jumps moving in total the same distance. u How did you ensure Tera returned to exactly the same posi9on that she started her jump from? u If you drag Tera somewhere else and click her, will she jump and float down to her new posidon?

Ac9vity 3.1.3 Jumping Tera Build your own block jump and have Tera s behaviour as short as [Extension] Switch Tera s costumes when she is jumping up and floadng back. Use 2 or 3 of her costumes

Ac9vity 3.1.3 [Extension] Jumping Tera [Extension] Use another repeat block to make Tera jump up smoothly as well (but not as slowly as floadng back). u Does Tera jump high and float back at different speeds? u How did you calculate the values for the repeat and the change y by blocks to make Tera float back? u Did you define a new block also for jumping high?

Ac9vity 3.1.4 Walking Pico ACTIVITY 3.1.4 Walking Pico

Ac9vity 3.1.4 Walking Pico ConDnue in your 3-Mul9ple Sprites project. Select Pico and look at his costumes. Click them one by one, stardng from the top. u What did you discover? u Can you act out the different posidons?

Ac9vity 3.1.4 Walking Pico Drag in the next costume block and explore. Click it again and again. Then add repeat 100 around it.

Ac9vity 3.1.4 Walking Pico Build a simple when this sprite clicked script for Pico using only those blocks. Add a move block with a small number of steps, like 1, 2 or 3

Ac9vity 3.1.4 Walking Pico Add a wait block with a very small value, like 0.1 or 0.2 secs. Experiment with different small values in both move and wait blocks. u How is the illusion of walking created? u How could you make Pico walk faster or slower?

Ac9vity 3.1.4 Walking Pico As a class discuss and compare the following soludons:

Ac9vity 3.1.4 Walking Pico What will happen when Pico hits the edge? Explore this new block: Where will you add that new block in your script? And why? u What happens if we use the if on edge, bounce block? What happens if it is placed outside the repeat block of the script?

Ac9vity 3.1.4 Walking Pico Make Pico walk forever instead of only 100 times. Click the Stop sign to make Pico stop. u What is the difference between the repeat and forever blocks? u Why can you not connect any block to the bobom of forever? u What direcdon does Pico walk in when he bounces off the edge of the stage? How does the bouncing work?

Ac9vity 3.1.4 [Extension] Walking Pico [Extension] A pupil added forever without removing the repeat block. Envisage, compare and discuss these scripts.

My Inves9ga9on 1 check list: I built a setup script for each of the sprites. I made Nano hide then show somewhere else in the stage. I made Nano reappear in a random posidon. [Extension] I used ghost effect to make Nano disappear gradually. I made Tera jump high and back by changing her y posidon. I made Tera float down by repeadng several smaller jumps. [Extension] I used the next costume and/or switch costume blocks to change the costumes of my sprites. I made Pico walk and bounce from the edge. I made Pico walk and bounce forever.

MODULE 3 INVESTIGATION 1: Key Vocabulary this block will hide the sprite on the stage if it is currently shown this block will show the sprite on the stage if it is currently hidden this block changes the y posi9on of the sprite by a specified amount checks if the sprite is touching the edge of the stage and if true reverses the direcdon the sprite is poindng anima9on is an illusion (usually of a movement) created by showing different costumes in sequence this block repeats the blocks inside it forever (undl the stop sign is clicked)