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 700 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/14383b66-ed47-4ff0-9390-8f48cdfed1a7.png" width="550" style="">
     

    这个积木怎么用?

    这个积木使程序暂停,直到输入框中的条件变为“真”。换而言之,只要条件为“假”,这个积木下面连接的积木就不运行。

    https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/f3daed38-8b5a-4cb7-a3ca-7b8e9cedf9b7.gif" width="900" style="border-radius: 5px; border: 1px solid #29622d;">
     

    如果条件本来就为真

    如果“等待( )”指定的条件本来就为真,那么这个积木根本就不等待。

    例如,在如下录屏中,“我的变量”的值大于20,所以积木“等待( )”不等待,下面的积木“下一个造型”会立即运行。

    https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/d5a7976c-164f-46b9-aaf1-525ad355bfe7.gif" width="900" style="border-radius: 5px; border: 1px solid #29622d;">
     

    “等待( )”计时器动画

    在这个示例中,积木“等待( )”会等着计时器到达“10秒”,然后把背景换成“游戏结束”。

    https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/083729c4-21c8-42f6-b090-480cc2e62c50.gif" width="900" 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