当前位置:网站首页>[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
边栏推荐
- Stm32f1 and stm32cubeide programming example - rotary encoder drive
- Usage of limit and offset (Reprint)
- Relevant methods of sorting arrays in JS (if you want to understand arrays, it's enough to read this article)
- Archery installation test
- 单机高并发模型设计
- 用語雀寫文章了,功能真心强大!
- 自动化测试:Robot FrameWork框架90%的人都想知道的实用技巧
- Magic fast power
- About the difference between ch32 library function and STM32 library function
- 一键免费翻译300多页的pdf文档
猜你喜欢
快速回复二极管整流特性
如何衡量产品是否“刚需、高频、痛点”
Preliminary test of optical flow sensor: gl9306
HB 5469民用飞机机舱内部非金属材料燃烧试验方法
One click installation with fishros in blue bridge ROS
Set up personal network disk with nextcloud
Apng2gif solutions to various problems
Wechat applet development beginner 1
Install sqlserver2019
MP4文件格式解析之结合实例分析
随机推荐
HB 5469 combustion test method for non-metallic materials in civil aircraft cabin
【编程题】【Scratch二级】2019.12 飞翔的小鸟
P1308 [noip2011 popularity group] count the number of words
The function is really powerful!
Magic fast power
STM32F1与STM32CubeIDE编程实例-旋转编码器驱动
BSS 7230 flame retardant performance test of aviation interior materials
mysql8.0 ubuntu20.4
快速回复二极管整流特性
QT and OpenGL: load 3D models using the open asset import library (assimp)
Linkedblockingqueue source code analysis - add and delete
Basic learning of SQL Server -- creating databases and tables with the mouse
Install sqlserver2019
Trust orbtk development issues 2022
Binary sort tree [BST] - create, find, delete, output
P1067 [noip2009 popularity group] polynomial output (difficult, pit)
ROS从入门到精通(九) 可视化仿真初体验之TurtleBot3
SQL 使用in关键字查询多个字段
How did a fake offer steal $540million from "axie infinity"?
P5594 [xr-4] simulation match