以下是部分代码预览:
"""python小女孩跳舞多媒体动画_婷婷的舞蹈,scratch程序改编python程序""" from turtle import * from winsound import PlaySound,SND_ASYNC # 背景列表 background_list = ["b0.png","b1.png","b2.png","b3.png","b4.png","b5.png","b6.png","b7.png"] bgamount = len(background_list) #背景数量 girls_list = ["girl0.gif","girl1.gif","girl2.gif","girl3.gif"] gamount = len(girls_list) # 女孩造型数量 s = Screen() s.setup(480,360) s.title("婷婷的舞蹈_python海龟画图版by李兴球") .............. def play_music(): PlaySound("Cave.wav",SND_ASYNC) s.ontimer(play_music,7300) play_music() s.mainloop()
下载完整源代码与素材,请
需要浏览更多吗?
成为会员后,登陆才能继续浏览!联系微信scratch8即可办理会员。
(会员专属:能浏览所有文章,下载所有带链接的Python资源。)