diff --git a/README.md b/README.md index 28ea746..dfa8310 100644 --- a/README.md +++ b/README.md @@ -281,6 +281,8 @@ pyinstaller -F pypvz.py ` * 增加部分音效 * 如爆炸、打击等 * 自0.6.9已部分实现 +* 增加关卡前的本关僵尸预览 +* 鼠标移动到植物上时显示部分信息,类似图鉴功能 ## 截屏 diff --git a/source/component/menubar.py b/source/component/menubar.py index 61fffd4..b5919ad 100755 --- a/source/component/menubar.py +++ b/source/component/menubar.py @@ -34,6 +34,8 @@ class Card(): self.rect = self.orig_image.get_rect() self.rect.x = x self.rect.y = y + # 计划以后以此坐标进行相对变化,用字体绘制阳光消耗大小,不再采用现在的图片包含阳光方法 + # 以便减小程序体积并增加可维护性 self.index = index self.sun_cost = c.PLANT_CARD_INFO[index][c.SUN_INDEX]