Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • CreatiCode
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

CreatiCode Scratch Forum

  1. CreatiCode Forum
  2. 知识库
  3. 二维积木
  4. 积木——“当碰到颜色( )时”

积木——“当碰到颜色( )时”

Scheduled Pinned Locked Moved 二维积木
1 Posts 1 Posters 630 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    creaticodeteacher2-mail
    wrote on last edited by admin
    #1

     

    先修科目

    • 组装积木

     

    介绍

    积木“当碰到颜色( )时”属于事件类别的帽子积木。

    https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/87857075-7cf7-4dce-84cc-d8e0ed5447b6.png" width="650" style="">
     

    这个积木怎么用?

    当本角色碰到指定颜色,这个积木就会运行它下面连接的积木。

    选择颜色方法:点击调色板,然后左右滑动“颜色”滚动条。https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/6a0c04c0-43bc-4f6b-938f-e248a912297a.png" width="250" style="">

     
    还可以用“拾色器”在舞台上选择颜色。https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/20adf8ba-f903-4d77-843a-e31c310d472e.PNG" width="50" style="">

    在下图示例中,当本角色(小吉)碰到蓝色的水晶,他就说“我找到财宝啦!”。

    https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/66b4f008-c3af-4d1d-a97b-d53b9cc71afd.gif" width="800" style="border-radius: 5px; border: 1px solid #29622d;">
     

    动画

    如下是用积木“当碰到颜色( )时”制作的一个简单游戏。比如,当小妖精碰到水晶上的蓝色,就得一分。

    https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/2f632bbd-3faa-44bd-b64d-ab096e60a8a2.gif" width="800" style="border-radius: 5px; border: 1px solid #29622d;">
     

    1 Reply Last reply
    0

    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

    With your input, this post could be even better 💗

    Register Login
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • CreatiCode