当前位置:网站首页>[programming questions] [scratch Level 2] March 2019 garbage classification
[programming questions] [scratch Level 2] March 2019 garbage classification
2022-07-08 00:04:00 【Youth programming competition communication】
refuse classification
Garbage classification has become a very important part of our daily life , This is for environmental protection 、 Resource recycling is of great significance .
Now let's play a simple interactive garbage sorting game .
1. preparation
(1) Import... In the background library “Mural”, And edit the background , Add two trash cans as shown in the figure below , Indicate the “ Recyclable waste ” and “ Non recyclable garbage ” The text of ;
(2) Import... From the role library “Takeout” As a kind of paper bag garbage .
2. Function realization
(1) Click the green flag , Garbage on the ground “Takeout”( modelling a), The location of garbage does not contact the garbage can , Garbage static 1 second .
(2) Garbage moves towards the mouse pointer .
(3) When the garbage meets the green recyclable garbage can, it disappears , And said “ Correct classification ”2 second : When the garbage meets the blue non recyclable garbage can, it will not disappear , And said “ Classification error ”2 second .
3. Design ideas and implementation
(1) Role analysis
- role :Takeout
(2) Background analysis
- background :Mural( Draw two trash cans on it )
(3) Introduction to the building blocks used
a. Sports
边栏推荐
- 【编程题】【Scratch二级】2019.09 绘制雪花图案
- How to measure whether the product is "just needed, high frequency, pain points"
- 自动化测试:Robot FrameWork框架90%的人都想知道的实用技巧
- 单机高并发模型设计
- 数据湖(十五):Spark与Iceberg整合写操作
- 【编程题】【Scratch二级】2019.12 飞翔的小鸟
- Use filters to count URL request time
- 35岁那年,我做了一个面临失业的决定
- AITM3.0005 烟雾毒性测试
- Chisel tutorial - 04 Control flow in chisel
猜你喜欢
机器人(自动化)等专业课程创新的结果
How did a fake offer steal $540million from "axie infinity"?
Uic564-2 Appendix 4 - flame retardant fire test: flame diffusion
如何衡量产品是否“刚需、高频、痛点”
STM32F1与STM32CubeIDE编程实例-旋转编码器驱动
Basic learning of SQL Server -- creating databases and tables with code
SQL connection problem after downloading (2)
One click free translation of more than 300 pages of PDF documents
An example analysis of MP4 file format parsing
Wechat applet development beginner 1
随机推荐
P1308 [noip2011 popularity group] count the number of words
Aitm3.0005 smoke toxicity test
STM32F1與STM32CubeIDE編程實例-旋轉編碼器驅動
Using Google test in QT
DataGuard active / standby cleanup archive settings
SQL connection problem after downloading (2)
How to measure whether the product is "just needed, high frequency, pain points"
How to put recyclerview in nestedscrollview- How to put RecyclerView inside NestedScrollView?
[the most detailed in history] statistical description of overdue days in credit
CoinDesk评波场去中心化进程:让人们看到互联网的未来
Chisel tutorial - 00 Ex.scala metals plug-in (vs Code), SBT and coursier exchange endogenous
Introduction to programming hardware
SQL uses the in keyword to query multiple fields
Jisuan Ke - t3104
Data Lake (XV): spark and iceberg integrate write operations
C language learning
【编程题】【Scratch二级】2019.09 绘制雪花图案
SQL 使用in关键字查询多个字段
One click free translation of more than 300 pages of PDF documents
Common selectors are