Dog walking,the explanation of scratch grade I CIEYLT 2019-5
Posted CSDN专家-小兔子编程
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Dog walking,the explanation of scratch grade I CIEYLT 2019-5相关的知识,希望对你有一定的参考价值。
Dog walking
I. Title requirements
1. Preparations
-
Select the background playground
-
Select the character dog2, butterfly2
2. Function realization
-
The initialization position of the puppy is (- 151, ≤ 106), and the initialization position of the butterfly is (101165).;
-
Puppies keep only two shapes: dog2-an and dog2-b, edit dog2-b, tail down;
-
The butterfly faces to the left;
-
After clicking on the green flag, the puppy wagged its tail and walked from left to right, and butterflies fluttered their wings from right to left.
II. Case study
1. Role analysis
Role: dog2, butterfly2
2. Background analysis
Background:Playground
3. Preliminary preparation
1.Delete the default kitten character, click on the kitten character, and then click x in the upper right corner to delete, as shown in figure 1 below, and then click on the location shown in figure 2 below to enter the role library
2.Find the character dog2, butterfly2 from the character library and add it, as shown in the following figure:
3.Click on the dog2 character, then click on the shape label, delete the dog2-c shape, and then click on the dog2-b shape, edit the page on the right, click on the dog's tail (figure 1 below), and then click on the vertical flip above (figure 2 below). Finally, adjust the position of the tail and complete the shape change of the dog2-b.Seek
4.Click on figure 1 or 2 below to enter the background library to find the background playground we asked for in the background library, add it, and slightly adjust the position of the role, as shown in the following figure
5.Click on figure 1 or 2 below to enter the background library to find the background playground we asked for in the background library, add it, and slightly adjust the position of the role, as shown in the following figure
III. Implementation process
1. Process analysis
According to the functional realization of the topic, it is required to be designed step by step.Because there are multiple roles in this case, we analyze them one by one.
1.Dog
-
Initial position and direction
-
Move forward
-
Switching costume
-
Time interval
-
Repeat a certain number of 2-4 steps
2.Butterfly 2
-
Initial positionAnd direction
-
Set rotation style left-right
-
Move forward
-
Switching costume
-
Time interval
-
Repeat a certain number of 3-5 steps
2. Flow chart drawing
1.Dog
2.Butterfly 2
IV. Programming
1.dog2
2.Butterfly 2
PS: the specific coordinate values and the number of moving steps in the code can be defined by the children themselves, and there are no specific values in the title; as long as they are in the approximate position.
V. Analysis of examination points
This case difficulty coefficient 2; comprehensively examine the use of building blocks such as role addition, background addition, sound addition, initial position, number of moving steps, direction, speech, costume switching, infinite loop,set rotation style left-right
and so on; the difficulties are as follows:
-
How to implement sequential dialogue
-
How to move back and forth from left to right
-
How to realize costume switching and sound playing
There are many ways and means. The bunny teacher only uses one of them. As long as the children can meet the requirements of the topic, they can do so.
以上是关于Dog walking,the explanation of scratch grade I CIEYLT 2019-5的主要内容,如果未能解决你的问题,请参考以下文章
stack-walking-the-batch-runtime/
UVa 825 Walking on the Safe Side(DP)