程序设计文档(最终版)

This commit is contained in:
206530331 2021-06-21 09:54:50 +08:00
parent 4974e89802
commit e3d91f656f
1 changed files with 1 additions and 1 deletions

View File

@ -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 = []