第14步:这个碰撞事件检查 hit_sprite 的图像名称。然后它将运行基于 hit_sprite 自身的指令。
- 找到代码行 ····my_var·=·hit_sprite.get_image_name() ,将变量名称更改为 image。
- 找到代码行 ····if·my_var·==·"codesters": ,测试 image 是否等于 "astronaut1"。
To navigate the page using the TAB key, first press ESC to exit the code editor.