第 2 篇 Scrum 冲刺博客

陈法成 陈法成 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区

目录

  • 1,每天举行站立式会议
  • 2,发布项目燃尽图
  • 3,每人的代码/文档签入记录
  • 4,代码展示(暂不能运行)
  • 5,每日每人总结

1,每天举行站立式会议

1)会议照片:

img


2昨天已完成的工作:
总体规划
3)今天计划完成的工作

部分类的设计和编码

4)工作中遇到的困难

暂无

2,发布项目燃尽图

img

3,每人的代码/文档签入记录

img

4,代码展示(暂不能运行)

# 子弹类
class Bullet(pygame.sprite.Sprite):
    def __init__(self, img, pos):
        pygame.sprite.Sprite.__init__(self)
        self.image = img
        # 设置图片的区域
        self.rect = self.image.get_rect()
        self.rect.midbottom = pos
        self.speed = 10

    def move(self):
        self.rect.top -= self.speed


# 敌人类
class Enemy(pygame.sprite.Sprite):
    def __init__(self, img, explosion_img, pos):
        pygame.sprite.Sprite.__init__(self)
        self.image = img
        self.rect = self.image.get_rect()
        self.rect.topleft = pos
        self.explosion_img = explosion_img
        self.speed = 2
        # 设置击毁序列
        self.explosion_index = 0

    def move(self):
        # 敌人的子弹只能一直向下
        self.rect.top += self.speed


# 玩家类(未完成)
class Player(pygame.sprite.Sprite):
    def __init__(self, img, rect, pos):
        pygame.sprite.Sprite.__init__(self)
        self.image = []
        # 将飞机图片部分分隔
        for i in range(len(rect)):
            self.image.append(img.subsurface(rect[i]).convert_alpha())
        # 获取飞机的区域
        self.rect = rect[0]
        self.rect.topleft = pos
        self.speed = 8
        # 生成精灵组实例
        self.bullets = pygame.sprite.Group()
        self.img_index = 0
        # 判断飞机是否被打中
        self.is_hit = False

5,每日每人总结

成员总结
陈法成今天的任务相对简单,不过还是要坚持
冯秋胜协助完成了部分设计,初步开始,对项目进程有了大致的了解
...全文

相关推荐

评论
收藏 已收藏
分享
返回顶部