Encountering Condi.ons

Similar documents
Table Football. Introduction. Scratch. Let s make a world cup football game in Scratch! Activity Checklist. Test your Project.

In this project you ll learn how to create a football game in which you have to score as many goals as you can in 30 seconds.

3. Select a colour and then use the Rectangle drawing tool to draw a rectangle like the one below.

Start a new Scratch project. Delete the cat by right-clicking it and selecting Delete.

Step 1. CoderDojo Milltown Exercise 1 Pong Page 1 of 13

Start - All Programs - Class Software - Scratch - Scratch move move move Sound play drum move move move play drum Control forever forever forever

Felix and Herbert. Level. Introduction:

1. First start a new scratch project and remove the default sprite.

Rota%onal Shot. The Goal of this Presenta%on. Start Posi%on To Windup. Start Posi.on Drill. Wind To Unwind Posi%on. Start to Unwind Drills 1/5/13

SCRATCH CHALLENGE #3

Scratch Hands-on Assignments CS4HS - Summer 2017

Penalty Kick in Ipanema

Felix and Herbert. Level

Get it here. Page 1 of 7 Date:Jan 8, 2014

The Final Fight STAGE. * Download file Scratch Stage 9. Chapter Objective. The Game

BBoard PONG game. Creative Computing #1

Grade 5: Number Sense - Fractions & Decimals

Wiimote in Physical Etoys

CS Problem Solving and Object-Oriented Programming Lab 2 - Methods, Variables and Functions in Alice Due: September 23/24

Good Morning Thumbs up for good. Hand then moves from left to right shoulder.

Welcome to Step Outside with Togo & Nogo a road safety training resource for year 2 children

Standard League WRO Football Simple Simon EV3 Training Curriculum

The Soccer Guy. By Marcus Hilgers Faisal Ahmad Jacob Borer

Walking for Health: Scheme page guide Contents

Learning event following Ironmen runaway

Orca Comprehension. Name:

TECHNICAL NOTE HOW TO USE LOOPERS. Kalipso_TechDocs_Loopers. Revision: 1.0. Kalipso version: Date: 16/02/2017.

Lesson Title: At the Gas Station. Method: Natural Approach & Jazz Chant

Sailing Downwind. Presented by Forespar Presenter: Bruce Brown

U6 RECREATIONAL COACHING PACKET

Repetition. Add in objects. The world should look like this: Bunny Eat Broccoli Repetition Simple loops and Conditional loops

THERE IS A PRELAB THIS WEEK! IT IS A SEPARATE DOCUMENT, DOWNLOAD AND PRINT IT FROM THE WEBSITE, AND DO IT BEFORE YOU COME TO LAB!

Simple Simon GEN II Robot Soccer EV3 -Tris 10 Training Curriculum

Student Exploration: Ripple Tank

U8 RECREATIONAL COACHING PACKET

Hertford Shires Rotary Club. The 13th Ware Dragon Boat Regatta 2018

Energy Skate Park. Part 1-Designing a Skate Park

qualified leaders able to teach tools:

Student Exploration: Uniform Circular Motion

Robot Activity: Programming the NXT 2.0

ipong FAQ/Troubleshooting Guide

Hya$sville Volunteer Fire Department Training. Swi$ Water Rescue Module

Special Olympics Junior Athletes. Basketball

The Triangle Offense as a Blueprint for Teaching Offense

Lesson 2: Crossing Streets Safely

Chapter 8 Darts and pleats

First Edition. Teaching Scratch. at primary school. Thomas Arts

Student Exploration: Pulleys

Our Healthy Year. Inspiration for the whole school. Building activity into the school day. Before school

Parametric Ball Toss TEACHER NOTES MATH NSPIRED. Math Objectives. Vocabulary. About the Lesson. TI-Nspire Navigator System

Community Ambassador Player Clinic 6 to 8 Year Olds

FC Nova. Idaho s Best Soccer Option

You are going to learn how to make a game, in which you ll use the mouse to navigate a boat to a desert island.

General Isolation Procedures

Fractions Print Activity. Use the Explore It mode to answer the following questions:

How to Make, Interpret and Use a Simple Plot

Pass. Tackle. Year 2. Dribble. Basketball. Catch. Turn. Shoot

Hya$sville Volunteer Fire Department Training. Knots Module

Instructions on How to Access the NSTA Chapter and Associated Group Online Resource Center

ROGERS CUP BRAND GUIDELINES. Tuesday May 30, 2017

Lock Out/Tag Out Control of Hazardous Energy

Development Program 4-7 years

JADWIZ RACING NEW MEMBER GUIDE

Physical Education Year 1 to Year 6 Skills & Learning Outcomes. Curriculum Strands Games Dance Gymnastics Athletics - Year 3, 4, 5, and 6 Swimming

MIS0855: Data Science In-Class Exercise: Working with Pivot Tables in Tableau

Introduc)on: Manager-Du)es and Responsibili)es:

Student Exploration: Boyle s Law and Charles Law

The history of climate data

Performance & Motor Control Characteris3cs of Func3onal Skills. Chapter 7

TRANSITION GAMES TO TEACH THE FOUR GAME SITUATION ROLES

- WATER SAFETY- WORKSHEET BOOKLET

Deer Population Student Guide

Dynamic Positioning Control Augmentation for Jack-up Vessels

Elmhurst Lacrosse Players Guide to Posi4ons

Using Mini Games as a Teaching Tool Tom Hilbert, Colorado State University

Low Level Cycle Signals used as repeaters of the main traffic signals Appendices

Game Design. Become A Game Designer. By: Seven Hu

PRODUCT CATALOG FITNESS THROUGH FETCH

National Curriculum Statement: Determine quartiles and interquartile range (ACMSP248).

KIWI HOOPS COACH COACH LEARNING MODULE 2 COACH BASKETBALL NEW ZEALAND KIWI HOOPS COACH L E A R N I N G M O D U L E 2.

CITB Construction site safety update

Beamex. Calibration White Paper. Weighing scale calibration - How to calibrate weighing instruments

Experimental Procedure

JIM SAIA. Offensive System. Plus Drills To Teach

Cancer Preven*on Training. We need to work smarter

The Reserve Club. Introduction to. On Line Tee Time System For Private Clubs

Lakeshore United FC U7/U8

The Effect of Drunk Driving Script Madeline McNamara Edgar Snyder Words to be Heard

FireHawk M7 Interface Module Software Instructions OPERATION AND INSTRUCTIONS

SPORTS ABILITY. Sitting Volleyball Sitting Volleyball. Skill Focus. Learning Intention. What you need. What to do

Physical Education Subject Coverage

Full-Time Cup Competitions Version 5.0

Exploring Wind Farms with Google Earth Teacher Guide

Relative Motion. A look at "Frames of Reference" Website

Skill Development. Defensive Zig-Zag Drill. :00 :05 :05 :10 :10 :20 :20 :30 :30 :38 :38 :53 :53 end

Line Following with RobotC Page 1

BALL HANDLING BASKETBALL DRILLS

In my left hand I hold 15 Argentine pesos. In my right, I hold 100 Chilean

Target Group: Elite Professional. Age: 14- first team

Set Create medium (20X20 paces) activity area. Scatter spot markers within area (space apart so students cannot reach/touch each other).

Transcription:

INTERACTING SPRITES Encountering Condi.ons

Ac.vity 3.2.1 Repeat Un.l ACTIVITY 3.2.1 Repeat Un.l

Ac.vity 3.2.1 Repeat Un.l Con%nue in your 3-Mul.ple Sprites project. Select Giga and teach her to walk in the same way as Pico either build the same script again, or copy Pico s walking script to Giga.

Ac.vity 3.2.1 Repeat Un.l Click the walking script of Giga and keep it running. Then drag the point towards block in the scripts area, keep it isolated and explore (select and click). u What does the point towards Tera block do? u What would happen if you change the value to Pico and click this block with the walking script s%ll running? Or Nano? Explain.

Ac.vity 3.2.1 Repeat Un.l When Giga is clicked, we want her to point towards Tera and start walking to her. Add the point towards Tera block in front of the walking script of Giga and run the script. u What happens when Giga reaches Tera?

Ac.vity 3.2.1 Repeat Un.l We want Giga to walk towards Tera and stop there. How will she know when to stop? Drag the touching? block from the Sensing group. Keep it isolated and explore by clicking the block whilst dragging Giga away from or close to Tera. This block is a condi.on its value is always True or False.

Ac.vity 3.2.1 Repeat Un.l Some blocks know how to react to condi%ons. Drag the repeat un.l block from the Control group and use it instead of forever in Giga s walking script. [Extension] Modify Giga s walking script so that when clicked she will walk towards Nano and stop there.

Ac.vity 3.2.1 Repeat Un.l u How exactly does the repeat un.l block work? When does it stop repea%ng the blocks inside it? u We now know three different ways to repeat blocks. Can you explain the three ways? What makes them different? [Extension] Modify the script so that when clicked, Giga will first walk to Tera, and then to Nano and stay there.

Ac.vity 3.2.2 Touching Colour? ACTIVITY 3.2.2 Touching Colour?

Ac.vity 3.2.2 Touching Colour? Con%nue in your 3-Mul.ple Sprites project. Select Pico. When clicked so far he always walks forever horizontally. Insert the point in direc.on block in front of his forever block. Instead of point in direc.on 90 set Pico to point in a random direc.on (e.g. between 60 and 120). Run the script. u Why did we change the direc%on the sprite is poin%ng from 90?

Ac.vity 3.2.2 Touching Colour? u Pico doesn t walk horizontally any more. What direc%on does he walk when he bounces off the edge of the stage? What is special about this direc%on? Run Pico s walking script and drag one touching color? block to the scripts area, keep it isolated. Explore this block by sezng the colour and clicking the block.

Ac.vity 3.2.2 Touching Colour? We want Pico to walk forever, bouncing from the edges, but also turning back when he steps on a certain colour of the stage, e.g. on the dark grey at the bo[om. Click the walking script, keep it running and build a separate if script: u What will happen when Pico is walking and the separate if script is clicked while he is touching the dark grey colour?

Ac.vity 3.2.2 Touching Colour? Insert the if script inside the forever walking script so that the condi%on is checked for each step of Pico, again and again. Experiment with other colours of the stage in your if condi%on block in Pico s walking script. u When exactly does Pico turn around? [Extension] Change Tera s jumping behaviour so that she jumps high, then floats down un%l she reaches certain colour. Float down un%l a certain colour is touched e.g. dark grey

Ac.vity 3.2.3 Walking in the Air ACTIVITY 3.2.3 Walking in the Air

Ac.vity 3.2.3 Walking in the Air Con%nue in your 3-Mul.ple Sprites project. Select Pico. Extend his walking script so that he does not walk in the air i.e. above the planet into the white sky. u Did you use another if structure and the condi%on touching color? with the colour of the sky? Why does Pico turns back so early? u What else changes when Pico walks? What else instead of colour could be checked?

Ac.vity 3.2.3 Walking in the Air What happens with Pico s y coordinate when he walks around? Drag in the scripts area the y posi.on reporter block, keep Pico walking and explore the isolated block. Find the highest y posi.on of Pico before he starts walking in the air. Build a condi%on to check whether his current y posi.on is not higher than this posi%on. u What does the > block check for? What would happen if the > sign was switched around? u What does the y posi.on block report? When would the reported value change?

Ac.vity 3.2.3 Walking in the Air Replace the touching colour? condi%on to keep Pico from walking in the air by the new condi%on which checks its y posi.on. Whenever y posi.on is bigger than e.g. 75, Pico turns back.

Ac.vity 3.2.4 Unplugged: True or False? ACTIVITY 3.2.4 Unplugged: True or False?

Ac.vity 3.2.4 Unplugged: True or False? Use the picture to decide whether a condi%on is True or False. Explain why. \ Is Giga touching Pico? True or False? Explain why. Is Pico touching Giga? True or False? Explain why.

Ac.vity 3.2.4 Unplugged: True or False? \ Is Nano touching Pico? True or False? Explain why. \ Is Tera touching the white colour? True or False? Explain why.

Ac.vity 3.2.4 Unplugged: True or False? Tera x: 0 y: 0 \ Tera stands in the centre. Is Nano s x posi.on smaller than 0? True or False? Explain why. Tera x: 0 y: 0 \ Tera stands in the centre. Is Giga s y posi.on bigger than 0? True or False? Explain why.

My Inves.ga.on 2 check list: I made Giga point towards a sprite before star%ng walking. I used the condi&on block to check if touching another sprite. I used the repeat un.l block with a condi&on to make Giga stop walking. I used the condi&on block to check touching a specific colour. I used the if block to make Giga turn back if she touches a selected colour. I made Pico turn back whenever his y posi.on becomes bigger than certain value. I envisaged if a condi&on block would say true or false using the current posi%on of the sprites on the stage.

MODULE 3 INVESTIGATION 2: Key Vocabulary makes the sprite set its direc%on towards another sprite (selected from the drop down menu) condi.on is a block repor%ng whether something is True or False reports True if the sprite is touching another sprite (selected from the drop down menu) repeats the blocks inside it un%l its condi%on is True reports True if the sprite is touching the specified colour if the condi%on is True, runs the blocks inside reports the current y posi.on of a sprite reports True if the first value is greater than the second