摘要:
1 #!/usr/bin/env python 2 # -*- coding:utf-8 -*- 3 # Author: ss 4 5 import pygame 6 import sys 7 import random 8 import math 9 10 11 class Ball(pygame.sprite.Sprite): 12 def __init__... 阅读全文
摘要:
1 #!/usr/bin/env python 2 # -*- coding:utf-8 -*- 3 #Author: ss 4 5 import pygame 6 import sys 7 8 # 初始化 9 pygame.init() 10 11 size = width,height = 1000,600 # 设置屏幕尺寸 12 BLUE = 0,0,255 13... 阅读全文