利用精灵类生成一个candy对象candy = pygame.sprite. ... pygame.image.load('hat.png') hat.rect = hat.image.get_rect() candy = pygame.sprite.
確定! 回上一頁