转向 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;">
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