Important Announcement
PubHTML5 Scheduled Server Maintenance on (GMT) Sunday, June 26th, 2:00 am - 8:00 am.
PubHTML5 site will be inoperative during the times indicated!

Home Explore Lion Programming Guide

Lion Programming Guide

Published by chongwanleng_1991, 2015-06-27 02:17:10

Description: Lion Programming Guide

Search

Read the Text Version

© ALL RIGHTS RESERVED

Exercise 1: Movements and sound• Create a program in the Scratch 1.4 software that allow the Lion to roar.• Let’s gather the kids to make a loud roar. – Record the sound by clicking on the “sounds” tab. Any unauthorized reprint or use of this material is prohibited.

Exercise 2: Movements• Now, it’s time for the Lion to sleep. – Set the motor direction to “that way”.• Gather the kids to make a snoring sound and record it.• The up and down movement of the Lion is controlled by the “motor direction” block. Any unauthorized reprint or use of this material is prohibited.

Exercise 3: Tilt Sensor• Attach a tilt sensor to the Lion.• Create the following program to allow the Lion to roar when “a” key is pressed on the keyboard and the Lion will snore when the tilt sensor is tilted downwards (1). Any unauthorized reprint or use of this material is prohibited.


Like this book? You can publish your book online for free in a few minutes!
Create your own flipbook