python3.7 + pygame1.9.3实现小游戏《外星人入侵》(三):射击子弹

1、添加子弹设置 首先在settings中存储子弹的基本设置:web def __init__(self): # 子弹设置 self.bullet_speed_factor = 1 self.bullet_width = 3 self.bullet_height = 15 self.bullet_color = 60,60,60 其
相关文章
相关标签/搜索