设置大小、修改大小
-
先修科目
说明
“将大小增加()”、“将大小设为()”、“将大小减小()”属于外观类别的堆栈积木。这三个积木分别以不同方式修改“角色”的个头大小。
https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/3a94346d-29a5-4a8d-ae37-5d9ecce9efc2.png" width="550" style="">
关于角色的个头大小
舞台下方的角色窗格显示角色的比例大小。这个数值说的是角色相对于其原始尺寸的大小。比如说,角色的默认比例大小为100。如果我们改为200,角色的大小就变为原来的两倍。如果我们改为50,它就变为原始尺寸的一半。
https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/15d434f5-eea8-435c-b44f-ad4df6595241.gif" width="400" style="border-radius: 5px; border: 1px solid #29622d;">
要注意,不能用角色的比例大小来比较两个角色的大小。比方说,熊的比例大小为90,犀牛的比例大小为120,但熊仍然比犀牛大,因为熊的原始图像就比犀牛大得多。
https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/4a37c53e-6886-4ee2-855a-fa8432f98a14.gif" width="450" style="border-radius: 5px; border: 1px solid #29622d;">
将大小增加()
这个积木用来修改角色的相对大小。如果我们填入一个正数(比如10),角色的比例大小就会增加10%;如果我们填入一个负数(比如-10),角色的比例大小就会减小10%。
例如:下方的GIF图,每播放一次“将大小增加()”,角色就会根据输入值增大一定比例。
https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/d8f9ba13-a7b7-4857-8b44-3d9c7dbe2761.gif" width="800" style="border-radius: 5px; border: 1px solid #29622d;">
将大小设为()
这个积木用来直接设置角色的比例大小。
比如:如果你播放“将大小设为(100)”,角色的大小就变为原始尺寸的100%
https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/8b90e816-9d51-47b1-b16b-94f35a12fc8a.gif" width="800" style="border-radius: 5px; border: 1px solid #29622d;">
将大小减小()
这个积木用来让角色变小。当你填入一个数,比如10,角色的比例大小就会减少这么多。
例如:下方的GIF图,每播放一次“将大小减小()”,角色就会根据输入值减小一定比例。
https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/fe3a86e5-238f-4547-a5d8-eefaf59bc5d1.gif" width="800" style="border-radius: 5px; border: 1px solid #29622d;">
工具:“比例”
还可以用角色窗格中的工具“比例”
来修改角色的大小。要在输入框输入比例大小值,然后按键盘上的回车键。https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/beb7819c-4291-4521-8f0f-cf8220d7547e.gif" width="500" 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