MCPcopy Create free account
hub / github.com/ErLinErYi/PlantsVsZombies

github.com/ErLinErYi/PlantsVsZombies @v1.3.5.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.3.5.2 ↗ · + Follow
35,122 symbols 76,319 edges 4,485 files 4,753 documented · 14% updated 20mo agov1.3.5.2 · 2022-01-10★ 2,01411 open issues

Browse by type

Functions 26,189 Types & classes 8,933
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

[简体中文] [русский]

PlantsVsZombies

  • Game engine based on version Cocos2d-X v3.16 [Cocos2dx website]
  • All games are developed with C++
  • If you're new to cocos2d-x, it's definitely a good entry point
  • If you are a C++ beginners or other language game development, this project does not have complex syntax, is definitely a good learning project
  • If you are a game developer and want to do some similar games, this project may help you or give you some inspiration
  • !!! important This game mimics the original plant vs. zombie. Don't use it for commercial purposes, or you will be responsible for the consequences
  • web: https://gitlz.gitee.io/lz

Project description

  • This game is made by myself. The game is playable (there are 104 levels at present) and will be updated from time to time in the future.
  • Compared with the original version, the game has greater resolution, better picture quality and higher refresh rate. The properties in the game are quite different from the original. It's a little harder than the original. There are new game modes, etc.
  • Most of the game material comes from the original game material, a small part of the collection from the network, as well as their own production.
  • This game is only for learning and communication use, not for commercial purposes, otherwise at your own risk.
  • At present, there are 15 kinds of zombies and 24 kinds of plants. The animation of plants and zombies are all done by myself. Due to the limited ability of animation, some zombies and plants can't be realized. (the animation is made by dragonbones / spine).
  • If you find any problems with the program or suggestions for the game, you can send them to my QQ: 2117610943 or email: zhengl0324@qq.com 。
  • [runnable file download]( https://gitlz.gitee.io/lz )[video demo]( https://www.bilibili.com/video/BV1kh411Q7W5?share_source=copy_web)

Project class diagram

ClassDiagram

Running examples

Image(图片) Image(图片)

Operational requirements

  • Install visual studio 2017 or visual studio 2019
  • Download the project and compile it in visual studio

Be careful!!! The project cannot be run directly because of the lack of resource files required by the game. (the resource file was removed due to possible infringement. You can ask me for the resource package if you need it especially and only when you are studying. The only requirement: light up the star and send me a screenshot to prove it. If you find this difficult, please exit this warehouse.)

Last

Author: LZ

QQ: 2117610943

Email: zhengl0324@qq.com

Website: https://gitlz.gitee.io/lz

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Method 19,630
Class 8,112
Function 6,559
Enum 801
Interface 20

Languages

C++94%
Java4%
C2%
Python1%

Modules by API surface

PlantsVsZombies/cocos2d/cocos/editor-support/cocostudio/CSParseBinary_generated.h834 symbols
PlantsVsZombies/cocos2d/external/json/document.h210 symbols
PlantsVsZombies/cocos2d/external/json/schema.h184 symbols
PlantsVsZombies/cocos2d/cocos/editor-support/cocostudio/CSParse3DBinary_generated.h179 symbols
PlantsVsZombies/cocos2d/external/clipper/clipper.cpp173 symbols
PlantsVsZombies/cocos2d/cocos/2d/CCNode.cpp160 symbols
PlantsVsZombies/cocos2d/external/flatbuffers/flatbuffers.h114 symbols
PlantsVsZombies/cocos2d/cocos/physics3d/CCPhysics3DConstraint.cpp114 symbols
PlantsVsZombies/Classes/Zombies/LZZombies.cpp114 symbols
PlantsVsZombies/cocos2d/cocos/ui/UIScrollView.cpp113 symbols
PlantsVsZombies/cocos2d/external/bullet/include/bullet/BulletCollision/Gimpact/btGImpactShape.h112 symbols
PlantsVsZombies/cocos2d/cocos/ui/UIWidget.cpp110 symbols

For agents

$ claude mcp add PlantsVsZombies \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page