飞机大战
# 生成子弹
if not(delay % 10):
bullet_sound.play()
if is_double_bullet:
# print((bullet2_index + 1) % BULLET2_NUM)
bullets = bullet2
bulltes.reset((me.rect.centerx -33 ,me.rect.centery))
bulltes.reset((me.rect.centerx + 30, me.rect.centery))
# print(bullet2_index)
bullet2_index = (bullet2_index + 2) % BULLET1_NUM
为什么多出来bulltes?书上全部都是bullets啊,将bulltes改成bullets后超级子弹就无法显示。这是怎么回事?
页:
[1]