- 博客(5)
- 收藏
- 关注
原创 python飞船游戏(三)
#ship.pyclass Ship(Sprite): def __init__(self,ai_settings,screen): """初始化飞船并设置其初始位置""" super(Ship,self).__init__() self.screen = screen self.ai_settings = ai_setting...
2018-06-12 19:01:42
2135
2
原创 python飞船游戏(二)
#game_functions.pydef check_keydown_events(event,ai_settings,screen,ship,bullets): """响应按键和鼠标事件""" if event.key == pygame.K_RIGHT: ship.moving_right = True elif event.key == pygame...
2018-06-12 18:59:17
572
1
原创 python飞船游戏(一)
alien_invasion.py #初始化pygame\设置以及屏幕对象 pygame.init() ai_settings = Settings() screen = pygame.display.set_mode( (ai_settings.screen_width,ai_settings.screen_height)) pygame.displ...
2018-06-12 18:58:34
724
原创 C#的管理系统 用户权限菜单管理(1)
<html xmlns="http://www.w3.org/1999/xhtml"><head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="viewport" content="width
2018-06-12 18:34:17
7330
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人