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 704 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/58de19a1-2c9f-45a0-8bf9-648742cad014.png" width="550" style="">
     

    介绍

    积木“停止( )”位于控制这一组。根据你在下拉菜单中选择的不同项,这个积木会改变自身形状:
    https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/46fb902f-e8b8-4da6-87cd-0e8175b879d4.png" width="250" style="">

    “停止(全部脚本)”和“停止(这个脚本)”是基座积木,而“停止(该角色的其他脚本)”是堆栈积木。

    https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/1ccc39ba-8220-4083-95f6-f7667a645617.png" width="650" style="">
     

    这个积木怎么用?

    积木“停止( )”用于使项目中的一些脚本或全部脚本停止。下面看看每个选项:

     

    停止(全部脚本)

    选项“停止(全部脚本)”会使项目中的全部脚本停止。功能与红色的停止按钮相同。https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/e5eea585-4a41-4da4-9b07-4d74bf92c720.PNG" width="150" style=""> 比如,当游戏结束时你就可以用“停止(全部脚本)”。

    https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/75b3d835-4e88-4070-9605-8a49b6c11a2e.gif" width="900" style="border-radius: 5px; border: 1px solid #29622d;">
     

    停止(这个脚本)

    选项“停止(这个脚本)”只会使其所在的脚本停止。

    比如:在如下录屏中,当计时器到达10以后,只有计时器脚本停止,其它脚本照样继续运行。

    https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/e4397497-1aea-4ba1-8b7a-ef660a43d219.gif" width="900" style="border-radius: 5px; border: 1px solid #29622d;">
     

    停止(该角色的其他脚本)

    除了该积木所在的脚本,这一选项会使本角色的其他所有脚本停止。

    在如下示例中,一当计时器到达10,本角色中的其他脚本就停止运行。

    https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/6d7b46de-e72c-4d01-9b99-b553beefe93e.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