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 919 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/2adf7e28-faf1-44e6-a656-b2422373ac5b.png" width="550" style="">
     

    积木:“显示”

    如果角色被隐藏,积木“显示”用来让它在舞台上显示。

    注意:如果角色已经是显示状态,那么当你运行积木“显示”,就不会有什么变化。

    https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/4955091b-3a2f-4a43-a798-2c32c68a20a8.gif" width="900" style="border-radius: 5px; border: 1px solid #29622d;">
     

    积木:“隐藏”

    积木“隐藏”用来使当前角色在舞台上隐藏(看不见它)。

    注意:如果角色已经隐藏,那么,当你运行积木“隐藏”,就不会有什么变化。

    https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/5d84dd25-9260-48e4-80bf-0703616ffb08.gif" width="900" style="border-radius: 5px; border: 1px solid #29622d;">
     

    单选按钮:“显示”、“隐藏”

    还有一个方法能显示、隐藏角色,就是点击角色窗格里的这两个单选按钮Untitled.png 当你使用积木显示、隐藏角色,这两个按钮也会跟着切换状态。

    https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/7359dc79-726d-46e5-a917-44b1656ebf3e.gif" width="900" style="border-radius: 5px; border: 1px solid #29622d;">
     

    带“显示”和“隐藏”的动画

    在这个程序中,每当你点击幽灵这个角色,它就会隐藏,随机飞到一个地方,然后再次出现。

    https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/570d609e-523c-4d63-b298-ed16329a0531.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