... 語法為:偵測變數= pygame.sprite.collide_rect(角色物件 1,角色物件 2) ·偵測變數:布林值,True 表示兩角色物件 ... 碰撞則在下一節「應用:打磚塊遊戲」中再說明。
確定! 回上一頁