第19步:从 if 语句内部删除默认的 .say() 指令。
如果英雄与 "kitten" 相撞,则设置以下命令运行:
- 使用 Remove Sprite 将 hit_sprite 从控制台上移除。
- 使用 Add Value 向 score 添加 1。
- 使用 Update Display 以将新的 score 更新到 score_board 。
To navigate the page using the TAB key, first press ESC to exit the code editor.