Scratch2.0 Example-Pick apples

Source: Internet
Author: User

Scratch2.0 example-Pick apples

"Teaching objectives"

1, learning examples, can use and construct conditions, and insert this condition into the, can understand and apply , when the condition is established, do not execute the script inside the building block.

2. Contrast and two blocks: The former is used for unconditional repetition; the latter is used to repeat the in-block script until the condition is established without executing the in-block script.

3, learning examples, can put the detection conditions into the building blocks; control role when the left button is pressed, the script inside the building block is executed, and the script inside the building block is understood when the condition is set.

4, learn to use and control the movement of characters.

5, learning examples, will create new variables and use.

"Teaching Hours"

1

Object

0 Basic pupils and parents

"Teaching emphases and difficulties"

The main point is how to judge the Apple falls to the stage, the Apple meets the monitoring of the bowl BU.

The difficulty is the selection of detection conditions.

"Teaching methods and means"

heuristic conversation method, demonstration method and Practice method

"Teaching Preparation"

Teaching Courseware

"Teaching Process"

First, create a situation, lead to the theme

Let's make a little game today-pick up apples.

Let's take a look at the work:

Second, the work analysis and production

When the Apple falls, use the left and right to move the bowl to pick up the falling apples, if you catch apples, you get one point. How is it achieved? There are three key points: let Apple randomly fall, move around the bowl, and catch the apple three processes.

One of the key implementations: let the apples fall randomly. The key to letting the apple fall is to determine when the Apple falls on the stage. This is determined by the value of the Apple's y-coordinate: When the position of the apple is smaller than the lower boundary of the stage, the Apple is judged to fall on the stage and then back to the top of the stage.

Realize the key two: Move the bowl around. This is used to press the left and right keyboard keys, to move the location of the bowl, repeat monitoring can be.

Achieve the key three: bowl of Apple score. The key is the idea of conversion: Apples hit the bowl when they score, so they can be used to monitor.           

Iii. Summary Examples

1, the use of Apple's coordinate position and the stage under the boundary comparison, to determine whether Apple falls on the stage.

2, from the left and right movement of the bowl, learn to use repeated execution and conditional execution to control the movement of the character.

3, catch the Apple score, learn to use variables.

Iv. freedom of creation and sharing of communication

Create your own creations and send them online.

Scratch2.0 Example-Pick apples

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.