Presentation is loading. Please wait.

Presentation is loading. Please wait.

Lesson Twelve Video Sensing.

Similar presentations


Presentation on theme: "Lesson Twelve Video Sensing."— Presentation transcript:

1 Lesson Twelve Video Sensing

2 Skills

3 Create a new project Title it Lesson 12

4 We have to add the video sensing extension

5 Now you have new video code blocks

6 Try turning your video on
You also use this code block to turn your video off or to flip your video

7 Try different levels of transparency

8 We can code the cat to sense our movements and to react to them
Add an if loop and an operator that will sense when the video motion on our sprite is greater than 50 (you can decrease the number to make more sensitive)

9 Let’s have the cat hide if we touch him
Note that we also need a show code at the beginning of our program We also need a forever loop so that the program constantly checks for this condition

10 Does yours work?

11 Can you make the cat pop again in a random location?

12 Solution

13 Can you make the cat give some directions?

14 Solution

15 Select My Blocks and click
Make your own block Select My Blocks and click Make a Block

16 Type the word Dance

17 We are defining what our new code block will do
Add a series of commands underneath the new block to make your sprite dance We are defining what our new code block will do

18 Look under My Blocks for your new code and add it to your program

19 Your Turn! Make your own video sensing game
Must interact in some way with the sprites in the program Create your own code block to give yourself a shortcut BONUS: Can you create a program where the video turns on and off and key times? Submit to Lesson 12 in the class studio.

20 10-Lesson Discounted Bundle
Bonus Files Final project with Guidelines Rubric Reflection Assignment Student Support Website A support page for each lesson to aid students while working independently

21 Click for individual lessons

22 Technology and Computer Applications

23 Literature, Grammar, and Writing

24 Novels

25

26 Terms of Use & Credits By downloading this product you are given permission for classroom and personal use only. You may alter and modify this work for your own use, but please do not share, sell, or post online. Please consider rating this resource. Your ratings earn you TpT credits to apply discounts towards future purchases. Use the link to go to the “My Purchases” tab and rate any products you have downloaded. Note that there is a separate “paid downloads” and “free downloads” tab. Cover art from Tangerine by Edward Bloor. Copyright ©1997 by Edward Bloor. Reprinted by permission of Houghton Mifflin Harcourt Publishing Company. All rights reserved. All other images in products and on cover art (thumbnail images) were found in the public domain. The public domain consists of all the creative works to which no exclusive intellectual property rights apply. Those rights may have expired, been forfeited, expressly waived, or may be inapplicable. Screenshots that are taken from Adobe CC Suite, Microsoft Office Suite, iMovie, and Scratch are in compliance with Fair Use guidelines.


Download ppt "Lesson Twelve Video Sensing."

Similar presentations


Ads by Google