Lv.1
在 【在线求~~~】 中回复
import pgzrun
WIDTH = 310
HEIGHT = 450
score = 0
button = Actor("button1_n")
button.pos = WIDTH / 2, HEIGHT / 2 + 60
def draw():
screen.fill("lightbule")
button.draw()
screen.draw.taxt("Score:" + str(score),
color="write",
center=(WIDTH / 2, 90),
fontsize=50)
pgzrun.go()
fontsize=50多了引号
button1_n要放在./images/下
2020-10-31T16:02:08 点赞:0