在圖像上繪製一個紅色矩形,完全填充它:pygame.draw.rect(self.image, red, [0, ... 並將colorkey設置爲紅色 self.image.set_colorkey(red) ,但這會使圖像不可見。
確定! 回上一頁