程序设计文档(最终版)
This commit is contained in:
parent
4974e89802
commit
e3d91f656f
2
bomb.py
2
bomb.py
|
@ -8,7 +8,7 @@ class Bomb(object):
|
|||
# 加载爆炸资源,两种方法。
|
||||
# 方法一 加载单张图片的列表
|
||||
# self.images = [pygame.image.load("images/bomb/bomb" + str(v) + ".png") for v in range(1, 3)]
|
||||
# 方法二 单张图片切片,真是信了你的邪了,load error.要绝对路径才能运行。更邪的是后来相对路径也可以了。
|
||||
# 方法二 单张图片切片,load error.要绝对路径才能运行。更邪的是后来相对路径也可以了。
|
||||
# 爆炸特效的帧列表
|
||||
self.images = []
|
||||
|
||||
|
|
Loading…
Reference in New Issue