Programming I (mblock)

Similar documents
Create Your Own World

Scratch for Beginners Workbook

Creating Computer Games

Lesson 2 Game Basics

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

Introduction to Turtle Art

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.

Teaching Kids to Program. Lesson Plan: Interactive Holiday Card

Inspiring Creative Fun Ysbrydoledig Creadigol Hwyl. Kinect2Scratch Workbook

a. the costumes tab and costumes panel

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

Project 1: Game of Bricks

Step 1 : Earth and Mars Orbit the Sun

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

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.

Programming with Scratch

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

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

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.

Module. Introduction to Scratch

1hr ACTIVITY GUIDE FOR FAMILIES. Hour of Code

Brain Game. Introduction. Scratch

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

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

Activities using Scratch

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

1. Make the robots exercise:

Create a Simple Game in Scratch

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

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

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

Copyright 2017 MakeUseOf. All Rights Reserved.

Create Your Own World

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

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

Game Making Workshop on Scratch

Ghostbusters. Level. Introduction:

Pong! The oldest commercially available game in history

Pong Game. Intermediate. LPo v1

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

Scratching the Surface of Pong: Enriching Linear Equations with Computer Programming

Module 4 Build a Game

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

Scratch Primary Lesson 5

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

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.

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

Computer with Scratch program.

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

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

Explore and Challenge:

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

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.

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

PROJECTS FOR SCRATCH & MOWAY

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

Pong! The oldest commercially available game in history

Scratch Coding And Geometry

2

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

Inspiring Creative Fun Ysbrydoledig Creadigol Hwyl. S4A - Scratch for Arduino Workbook

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

An Introduction to ScratchJr

CISC 1600, Lab 2.2: More games in Scratch

SAMPLE CHAPTER

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

Ada Lovelace Computing Level 3 Scratch Project ROAD RACER

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!

Robot Programming Manual

Key Abstractions in Game Maker

A. creating clones. Skills Training 5

Introduction to programming with Fable

Introduction Installation Switch Skills 1 Windows Auto-run CDs My Computer Setup.exe Apple Macintosh Switch Skills 1

Module 1 Getting Started

1.1 Encounter a Spaceship

In this project you ll learn how to code your own musical instruments!

To solve a problem (perform a task) in a virtual world, we must accomplish the following:

04. Two Player Pong. 04.Two Player Pong

1) How do I create a new program? 2) How do I add a new object? 3) How do I start my program?

Using the SparkFun PicoBoard and Scratch

Flappy Parrot Level 2

Computer Assistive Instruction to Teach Decoding Skills to Students with Physical Disabilities: PowerPoint and the Nonverbal Reading Approach

Scratch Programming Lesson 13. Mini Mario Game Part 4 Platforms

Defend Hong Kong s Technocore

Inserting Images Into Documents

Introduction. Overview

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

GAME:IT Junior Bouncing Ball

READ THIS FIRST, IF YOU HAVE NEVER PLAYED THE GAME BEFORE! World of Arch, First Days of Survival F.A.Q.

Creating Digital Stories for the Classroom

CONCEPTS EXPLAINED CONCEPTS (IN ORDER)

Getting Started Guide

INTERACTING SPRITES MODULE 3: INVESTIGATION 1. Anima9ng Sprites

OZOBOT BASIC TRAINING LESSON 5 CODING AND GEOMETRY

Creating Images with Transparent Backgrounds Import or Paste the Graphic Image into Adobe Photoshop Open an existing image file Open File Open

Lab book. Exploring Robotics (CORC3303)

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

Adding Content and Adjusting Layers

Cyber Security Awareness Game Using Scratch Bit by Bit: Advancing Cyber Security

2020 DRAWBOT INSTALLATION AND USE. Robert Ashford Henry Arnold 4-H OABB

Transcription:

http://www.plk83.edu.hk/cy/mblock Contents 1. Introduction (Page 1) 2. What is Scratch? (Page 1) 3. What is mblock? (Page 2) 4. Learn Scratch (Page 3) 5. Elementary Lessons (Page 3) 6. Supplementary Lessons (Page 10) Introduction A computer program is a collection of instructions that performs a specific task when executed by a computer. A computer program is usually written by a computer programmer in a programming language. Examples of programming languages: C, Java, Visual Basic, Pascal, etc. What is Scratch? Scratch (https://scratch.mit.edu/) is a project developed by MIT Media Lab. It allows students to lean computer programming interactively. Watch the short video and click the above TRY IT OUT to use the Online Editor. The Offline Editor can be downloaded from https://scratch.mit.edu/scratch2download/. Page 1 of 16

What is mblock? mblock is a graphical programming environment based on Scratch that makes it easy to learn computer programming. In addition, mblock can support the computer programming of singleboard computer and robot car. mblock can be downloaded from the official web site http://www.mblock.cc/. There are 3 tabs in the programming environment. Scripts scripting language commands are divided into many categories. Costumes new costumes can be tailor-made. Sounds new sounds can be recorded and edited. Page 2 of 16

Learn Scratch (http://learnscratch.com) This web site hosts many useful teaching videos for students to learn Scratch. If you are using the mblock, you have to adjust a little bit. The learning videos can be also retrieved from http://www.maklary.com/ls/learnscratch.htm. Elementary Lessons There are 3 sets of videos in Learn Scratch. First, students are suggested to attain the 8 lessons in Scratch 1. Activity 1 Lesson 1 - Motion and Sound Part 1 Start Moving 01:35 State 2 differences between the following instructions. 1. 2. Part 2 Add a Sound 01:55 In the following instruction, how many different sounds can be chosen? Part 3 Start a Dance 01:59 Page 3 of 16

Lesson 2 Repeating Actions Part 1 Again and Again 02:38 How to stop the following instructions? Part 2 The Green Flag 00:55 Can we use the following instruction more than one time for a single sprite? Design an action with the sprite moving steadily from the left to the right on the stage. Sound should be played when the sprite is moving. Click the Green Flag to play the action. Page 4 of 16

Activity 2 Lesson 3 Playing with Color Part 1 Change Color 01:34 How many kinds of effects can be changed with the following instruction? Part 2 Pressing Keys 01:31 Find the missing instruction such that we can use the space key to move and stop the sprite. Use the left and right arrow keys to move the sprite to L.H.S. and R.H.S. respectively. Use the key c to change the colour of the sprite. Page 5 of 16

Activity 3 Lesson 4 Create Your Own Sprites 02:13 Find the following features: Import, Flip, Grow, Shrink. How to make the background transparent? Lesson 5 Speaking and Thinking 02:48 What is the difference between the following two instructions? Page 6 of 16

Remove the original sprite from the stage. Insert 2 sprites named as Elephant and Monkey1 onto the stage. Click the Green Flag to show the conversation of the two sprites. (Hint: Use 2 different sets of scripts for the 2 sprites and the following command.) Activity 4 Lesson 6 Create Image Effects 01:12 Name the Image Effect to produce the following result. Lesson 7 Sounds, Voices and Music 01:44 By comparing the following two sets of instructions. State the difference between them. Page 7 of 16

Lesson 8 Creating Animations 01:36 Insert the following sprite onto the stage. Click the Green Flag to make the boy walking from the left to the right. Change the image effects (i.e. color & brightness) and costume when the boy is walking. Insert sound effect. Page 8 of 16

Task 1 A race between a rabbit and a tortoise is a very famous story. Click the Green Flag to tell this story with the following requirements. 1. Stage backdrops (switch the backdrop with the following command). 2. The rabbit and tortoise sprites (preferable with more than one costume). 3. Speaking and thinking. 4. Motion with animation. 5. Sounds. Page 9 of 16

Supplementary Lessons There are 24 lessons in Scratch 2. Some selective lessons can be attained in the following activities. Of course, students are encouraged to attain other lessons in Learn Scratch. Activity 5 Lesson 6 Size, Presence and Layers Part 1 Changing Size 03:17 In the video, the following instruction has been obsoleted. Use the following instructions to get the same result. Part 2 Show and Hide 03:51 Part 3 Controlling Layers 01:51 Insert 2 sprites onto the stage as shown below. Use the following keys to perform corresponding actions. Key 1: Hide the monkey Key 2: Show the monkey Key 3: Enlarge the monkey Key 4: Diminish the monkey Key 5: Move the monkey to the front Key 6: Move the monkey to the back Page 10 of 16

Activity 6 Lesson 12 Beginning and Waiting Part 1 Beginning Actions 04:02 Part 2 Waiting 04:53 Insert a Magic Wand and an Apple sprites onto the stage. Use the arrow keys to move the Magic Wand. When the Magic Wand touches the Apple, another Apple can be produced. Activity 7 Lesson 13 Repeating Actions Part 1 Doing Forever 04:24 Part 2 Repeating Actions 02:28 Remove the original sprite from the stage. Insert the following sprite onto the stage. Make the ball moving continuously and bounce against the four edges of the stage. When the ball reaches an edge, it should play a sound. Page 11 of 16

Activity 8 Lesson 15 Conditional Actions 07:30 Insert two more sprites onto the stage. Use the keyboard to move the panda. When the panda touches the dinosaur, it says Help!. When the panda touches the monkey, it says Hi!. Page 12 of 16

Activity 9 Lesson 16 Stopping 05:01 Two instructions in the video have been replaced by a new instruction. Lesson 17 Mouse and Keyboard Control Part 1 Mouse Report 06:07 Part 2 Pressing Keys 03:15 Insert the following sprite onto the stage. Using the following commands to make the ball moving along the mouse pointer. Page 13 of 16

Task 2 A magic show should be produced. The following requirements should be fulfilled. 1. Select a suitable stage backdrop. 2. Insert a Wizard sprite and 3 animal sprites. 3. The size of the sprites should be adjusted properly. 4. Use the keyboard to move the Wizard sprite. 5. When the animal sprites are touched by the Wizard sprite, different magical changes should be produced. 6. Press the space bar to reset all the magical changes. Page 14 of 16

Instruction List Elementary Lessons Lesson 1 - Motion and Sound Lesson 2 Repeating Actions Lesson 3 Playing with Color Lesson 4 Create Your Own Sprites 02:13 Lesson 5 Speaking and Thinking 02:48 Lesson 6 Create Image Effects 01:12 Lesson 7 Sounds, Voices and Music 01:44 Lesson 8 Creating Animations 01:36 Supplementary Lessons Lesson 6 Size, Presence and Layers Page 15 of 16

Lesson 12 Beginning and Waiting Lesson 13 Repeating Actions Lesson 15 Conditional Actions 07:30 Lesson 16 Stopping 05:01 Lesson 17 Mouse and Keyboard Control Page 16 of 16