from pygame.color import THECOLORS 然後使用某個命名顏色: 複製程式碼程式碼如下: pygame.draw.circle(screen,THECOLORS[“red”],[100,100],30,0).
確定! 回上一頁