增加开发计划

This commit is contained in:
wszqkzqk 2022-07-27 23:34:15 +08:00
parent f49cc4e12d
commit 111065c4a7
2 changed files with 4 additions and 0 deletions

View File

@ -281,6 +281,8 @@ pyinstaller -F pypvz.py `
* 增加部分音效 * 增加部分音效
* 如爆炸、打击等 * 如爆炸、打击等
* 自0.6.9已部分实现 * 自0.6.9已部分实现
* 增加关卡前的本关僵尸预览
* 鼠标移动到植物上时显示部分信息,类似图鉴功能
## 截屏 ## 截屏

View File

@ -34,6 +34,8 @@ class Card():
self.rect = self.orig_image.get_rect() self.rect = self.orig_image.get_rect()
self.rect.x = x self.rect.x = x
self.rect.y = y self.rect.y = y
# 计划以后以此坐标进行相对变化,用字体绘制阳光消耗大小,不再采用现在的图片包含阳光方法
# 以便减小程序体积并增加可维护性
self.index = index self.index = index
self.sun_cost = c.PLANT_CARD_INFO[index][c.SUN_INDEX] self.sun_cost = c.PLANT_CARD_INFO[index][c.SUN_INDEX]