摘要: 1 #coding=utf-8 2 import pygame 3 #导入pygame模块 4 from pygame.locals import * 5 #导入检测键盘的子模块 6 class AircraftCoordinate(object): 7 def __init__(self,screen): 8 #设置飞机默认的位置 9... 阅读全文
posted @ 2018-05-02 22:36 胡小易 阅读(1889) 评论(0) 推荐(0) 编辑
摘要: 1 #coding=utf-8 2 import pygame 3 #导入pygame模块 4 from pygame.locals import * 5 #导入检测键盘的子模块 6 class AircraftCoordinate(object): 7 def __init__(self): 8 #设置飞机默认的位置 9 self.x ... 阅读全文
posted @ 2018-05-02 21:27 胡小易 阅读(428) 评论(0) 推荐(0) 编辑
摘要: 显示效果: 阅读全文
posted @ 2018-05-02 20:56 胡小易 阅读(648) 评论(0) 推荐(0) 编辑
摘要: 显示效果: 阅读全文
posted @ 2018-05-02 08:31 胡小易 阅读(433) 评论(0) 推荐(0) 编辑
摘要: 执行效果: 阅读全文
posted @ 2018-05-02 07:59 胡小易 阅读(243) 评论(0) 推荐(1) 编辑