用户:缺^O^查看:1 回复:3 评论:1 创建时间:2022-07-14T16:43:56
【作品展示】

【作品介绍】
zhe
【作品源代码】
import pgzrun
WIDTH = 288
HEIGHT = 512
pg = Actor("1")
#######
bird = Actor("r_bird.png")
bird.x = 50
bird.y = HEIGHT/2
#######
b = Actor("guan_down")
b.x = 240
b.y = 450
#######
a = Actor("guan_up")
a.x = 240
a.y = 0
def draw():
pg.draw()
bird.draw()
a.draw()
b.draw()
def update():
bird.y = bird.y + 5
pgzrun.go()
【提示】
部分含有Python第三方库相关内容的作品,在海龟编辑器网页端无法运行哦!如遇到这种情况,可以打开下面的链接,下载海龟编辑器客户端:
https://python.codemao.cn