/PVZ-Lazy-Simulator-by-Python

Python程序设计期末作业 - 小白36小时速通植物大战僵尸模拟器

Primary LanguagePythonMIT LicenseMIT

PVZ-Lazy-Simulator-by-Python

Python程序设计期末作业 - 小白36小时速通植物大战僵尸模拟器

My Python Class Homework done in 36 hours

虽然我对Python还不是很熟悉, Pygame之前更是没见过,但我接受了一场决斗,边学边做边搜集素材地在40小时内完成一个植物大战僵尸的模拟器, 并将其作为期末作业; 呃, 虽然它看上去没有那么"健康".

Though I'm a greenhand in Pygame, also for Python, I accept a duel for create a Plants Vs Zombies Simulator for my class end homework... So that's it, what a mess!

运行与食用代码的要求:

To read the code, tools or ability you need:

1. Simplified Chinese ability(Cuz I named all the methods in Chinese)
2. Pygame basic knowlege (Very basic!)
3. maybe IDE like Pycharm (I build it in version: 2023)
4. Python v3.10 or above is recommend

1. 你要会中文(因为我图省事把方法用中文命名了, 凎)
2. 你需要一点点的Pygame基础(10分钟了解窗口元素和精灵类还有事件即可)
3. 需要可靠的Python环境, 导入Pygame
4. 推荐使用Python v3.10 或者更高的版本来保证兼容性

Next, click the PVZS.py in root space, then enjoy it!

接下来就运行根目录的PVZS.py 然后一起摇滚吧!

当前状态: 停止更新 NO more update

哦不, 手动管理刷新真的写一行就会爆炸! 我投降了! 下次还是多用用精灵类来管理罢 X(

Oh No, manually controlling the refresh(flip) function really sucks! I surrender, maybe use more sprite next time X(