用户:帝启ASTARFTS查看:0 回复:0 评论:0 创建时间:2021-12-26T14:09:18
【作品展示】

【作品介绍】
233
【作品源代码】
import Kitten
def when_siart():
Kitten.allow_rotate(True)
Kitten.enable_physics()
while True :
if Kitten.is_mouse_down() :
Kitten.set_velocity(2, 90)
def when_start():
while True :
Kitten.change_shape_to_next()
Kitten.wait_for_sec(0.1)
def when_start():
while True :
if (Kitten.is_touched('Self', '管道上') or Kitten.is_touched('Self', '管道下')) :
Kitten.stop_code('others')
Kitten.play_sound_and_wait('命中')
Kitten.play_sound_and_wait('掉落')
Kitten.send_signal('失败')
Kitten.restart_project()
【提示】
部分含有Python第三方库相关内容的作品,在海龟编辑器网页端无法运行哦!如遇到这种情况,可以打开下面的链接,下载海龟编辑器客户端:
https://python.codemao.cn