16 步:如果飞船与宇航员相撞,让我们将宇航员从舞台上移开。

  • 在图形中,转到并在 if 语句中Remove Sprite
  • .remove_sprite()中的变量参数更改为hit_sprite

.remove_sprite()命令缩进两次。它应该有一个绿色和一个黄色········

请记住, hit_sprite指的是被击中的精灵:在这个条件下, astro

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)