最後要更新繪圖視窗內容,才能顯示繪製的圖形,語法為: 背景變數.display.update(). 以下為完整展示: import pygame as pg #pygame初始化pg.init() #設定視窗width, ...
確定! 回上一頁