From fd6f85b0a26345b87ae0370403a80ffc8fcb77c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=98=9F=E5=A4=96=E4=B9=8B=E7=A5=9E?= Date: Thu, 31 Mar 2022 09:40:18 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E8=8B=B1=E6=96=87readme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README-zh.md | 31 ------------------------------- README.md | 46 ++++++++++++++++++++++++---------------------- 2 files changed, 24 insertions(+), 53 deletions(-) delete mode 100644 README-zh.md diff --git a/README-zh.md b/README-zh.md deleted file mode 100644 index 2a93825..0000000 --- a/README-zh.md +++ /dev/null @@ -1,31 +0,0 @@ -# Python版植物大战僵尸 - 一个简单的植物大战僵尸游戏。 - - `仅供个人学习和非商业用途。如果这个游戏侵犯了版权,请告诉我。` - -* 已有的植物: 向日葵, 豌豆射手, 坚果墙, 寒冰豌豆射手, 樱桃炸弹, 三向豌豆射手, 食人花, 喷射蘑菇, 土豆地雷, 杂草地刺, 胆小菇, 南瓜, 愤怒辣椒, 阳光菇, 冰冻蘑菇, 诱惑蘑菇。 -* 已有的僵尸: 普通僵尸, 带队僵尸, 路锥僵尸, 水桶僵尸, 看报僵尸。 -* 使用 JSON 格式的文件存储进度数据 (例如僵尸出现的位置和时间, 背景信息)。 -* 支持选择植物卡片在每一关的开始。 -* 支持白昼模式,夜晚模式,传送带模式和坚果保龄球模式。 - -# 系统要求 -* Python 3.7 -* 注意: Python3.7是最佳运行环境,但是不是强制性要求。 对于Linux: 如果你的 Linux 有预装的 Python3+ 就可以运行了。 LINUX Mint 操作系统直接升级到 Python 3.7 有可能导致系统自带的 python 版本无法执行。 -* Python-Pygame 1.9 - -# 怎样开始游戏 -$ python main.py - -# 怎样玩 -* 使用鼠标收集阳光,收集植物卡片和植物的种子。 -* 你可以通过更改 source/constants.py 中的 START_LEVEL_NUM 的数值来更改起始关卡: - * 1 和 2:白昼模式 - * 3: 夜晚模式 - * 4: 传送带模式 - * 5: 坚果保龄球模式 - -# 截屏 -![截屏1](https://raw.githubusercontent.com/marblexu/PythonPlantsVsZombies/master/demo/demo1.jpg) -![截屏2](https://raw.githubusercontent.com/marblexu/PythonPlantsVsZombies/master/demo/demo2.jpg) -![截屏3](https://raw.githubusercontent.com/marblexu/PythonPlantsVsZombies/master/demo/demo3.jpg) diff --git a/README.md b/README.md index d10762d..2a93825 100644 --- a/README.md +++ b/README.md @@ -1,29 +1,31 @@ -# PythonPlantsVsZombies - A simple PlantsVsZombies game.
- `It's only for personal learning and noncommercial use. If this game infringes the copyright, please let me know.` -* implement plants: sunflower, peashooter, wallnut, snowpeashooter, cherrybomb, threepeashooter, chomper, puffshroom, potatomine, spikeweed, scaredyshroom, squash, scaredyshroom, jalapeno, sunShroom, iceShroom, hypnoShroom. -* implement zombies: zombie, flagzombie, coneheadzombie, bucketheadzombie, newspaperzombie. -* use json file to store level data (e.g.position and time of zombies, background info) -* support to select plant cards at the beginning of the level -* support day level, night level, moving card select level and wallnut bowling level +# Python版植物大战僵尸 + 一个简单的植物大战僵尸游戏。 + + `仅供个人学习和非商业用途。如果这个游戏侵犯了版权,请告诉我。` + +* 已有的植物: 向日葵, 豌豆射手, 坚果墙, 寒冰豌豆射手, 樱桃炸弹, 三向豌豆射手, 食人花, 喷射蘑菇, 土豆地雷, 杂草地刺, 胆小菇, 南瓜, 愤怒辣椒, 阳光菇, 冰冻蘑菇, 诱惑蘑菇。 +* 已有的僵尸: 普通僵尸, 带队僵尸, 路锥僵尸, 水桶僵尸, 看报僵尸。 +* 使用 JSON 格式的文件存储进度数据 (例如僵尸出现的位置和时间, 背景信息)。 +* 支持选择植物卡片在每一关的开始。 +* 支持白昼模式,夜晚模式,传送带模式和坚果保龄球模式。 -# Requirement +# 系统要求 * Python 3.7 -* Notice: python version 3.7 is advisable, but not required. For LINUX: if your Linux system has a preinstalled python 3+, it's ok to run this game. Updating to python 3.7 directly may break LINUX Mint. +* 注意: Python3.7是最佳运行环境,但是不是强制性要求。 对于Linux: 如果你的 Linux 有预装的 Python3+ 就可以运行了。 LINUX Mint 操作系统直接升级到 Python 3.7 有可能导致系统自带的 python 版本无法执行。 * Python-Pygame 1.9 -# How To Start Game +# 怎样开始游戏 $ python main.py -# How to Play -* use mouse to collect sun, select the plant cards and seed the plant -* you can set the start level by changing START_LEVEL_NUM value in source/constants.py - * level 1 and 2:day level - * level 3: night level - * level 4: moving card select level - * level 5: wallnut bowling level - -# Demo -![demo1](https://raw.githubusercontent.com/marblexu/PythonPlantsVsZombies/master/demo/demo1.jpg) -![demo2](https://raw.githubusercontent.com/marblexu/PythonPlantsVsZombies/master/demo/demo2.jpg) +# 怎样玩 +* 使用鼠标收集阳光,收集植物卡片和植物的种子。 +* 你可以通过更改 source/constants.py 中的 START_LEVEL_NUM 的数值来更改起始关卡: + * 1 和 2:白昼模式 + * 3: 夜晚模式 + * 4: 传送带模式 + * 5: 坚果保龄球模式 +# 截屏 +![截屏1](https://raw.githubusercontent.com/marblexu/PythonPlantsVsZombies/master/demo/demo1.jpg) +![截屏2](https://raw.githubusercontent.com/marblexu/PythonPlantsVsZombies/master/demo/demo2.jpg) +![截屏3](https://raw.githubusercontent.com/marblexu/PythonPlantsVsZombies/master/demo/demo3.jpg)