STEP 6:每枚硬币在下降时都需要说明其价值,因此玩家可以尝试快速将银行中的积蓄加起来!

  • 在图形中,单击并在循环内缩进Say for Time
  • 通过将 .say( .say()之前的变量名从sprite更改为bank ,将.say()分配给存钱罐。
  • 替换中的字符串。 say()带有变量value
  • 把逗号后面的数字2改成浮点数0.5让银行快速说出值!

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • 提交作品
  • 下个活动
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)