程序设计文档(第一版)
This commit is contained in:
parent
24d04edc95
commit
4974e89802
2
bomb.py
2
bomb.py
|
@ -11,7 +11,7 @@ class Bomb(object):
|
|||
# 方法二 单张图片切片,真是信了你的邪了,load error.要绝对路径才能运行。更邪的是后来相对路径也可以了。
|
||||
# 爆炸特效的帧列表
|
||||
self.images = []
|
||||
# self.boom_picture = pygame.image.load("E:/自学飞机大战/day7/images/bomb/bomb.png")
|
||||
|
||||
self.boom_picture = pygame.image.load(
|
||||
"./images/bomb/bomb.png").convert_alpha()
|
||||
for r in range(4):
|
||||
|
|
Loading…
Reference in New Issue