Pygame:convert 和 convert_alpha 的簡單辨析

對於普通圖像的顯示效果,web image = pygame.image.load(image) image = pygame.image.load(image).convert 顯示效果是同樣的 可是 使用 convert 能夠轉換格式,提升 blit 的速度 Convert()所指的「格式」並不是指文件格式工(如 png,jpeg,gif),它是所謂的「像素格式」。它表明了一個surface
相關文章
相關標籤/搜索