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. 转向 x( ) y( ) 用时 ( )

转向 x( ) y( ) 用时 ( )

Scheduled Pinned Locked Moved 二维积木
1 Posts 1 Posters 540 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

     

    先修科目

    • x坐标、y坐标

     

    介绍

    积木“转向 x( ) y( ) 用时 ( )”是运动类别的堆栈积木。

    https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/9cfdd8b9-786d-4ee9-9de5-9a35c7031a48.png" width="550" style="">

     

    转向 x( ) y( )

    积木“转向 x( ) y( ) 用时 ( )”使本角色转向舞台上的目标点。你可以指定目标点的x坐标、y坐标。

    假设我们把角色“箭头”放到舞台中央,然后我们运行积木“转向 x( ) y( ) 用时 ( )”,箭头就会指向舞台上的这个点。

    https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/38b64c78-ddb4-4bb1-87bf-a1457d313b1c.gif" width="700" style="border-radius: 5px; border: 1px solid #29622d;">

     
    注意:角色并不必位于舞台中心。比如,我们可以任意拖动角色,但使角色总是指向舞台中心:

    https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/ca229e48-16ca-428d-b80e-cad28f0f1a5b.gif" width="700" style="border-radius: 5px; border: 1px solid #29622d;">

     
     

    用时

    我们不要使角色立即转过去,而是以动画方式匀速转向,那么我们就可以设定转向所用的秒数。

    https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/00d6c66e-22f1-46f1-b546-e6689dddcbe9.gif" width="700" 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