【发布时间】:2021-06-20 08:53:12
【问题描述】:
这里我正在尝试移动,它在屏幕上被涂抹,但图像在移动而没有清除前一个
balloon=pygame.image.load("BALLON 1".png)
Bal_x=0
while true:
for event in pygame.event.get():
if event.type==pygame.QUIT:
pygame.quit()
sys.exit()
Bal_x+=1
screen.blit(BALLON,(Bal_x.120))
pygame.display.update()
clock.tick(120)
【问题讨论】:
-
问题解决了吗?
标签: python python-3.x pygame 2d blit