◀ VibeCruiser

PvZ

A free browser game — play it in your browser, no install. 基于 Web 的植物大战僵尸游戏,使用 TypeScript + Phaser 3 构建 / A web-based Plants vs Zombies game built with TypeScript and Phaser 3

by @evilgaoshu · evilgaoshu/PvZ on GitHubLANG TypeScript★ 2HOSTED ON EVILGAOSHU.GITHUB.IOUPDATED 26 Mar 2026

Made this, @evilgaoshu? See how many people played it → or use email

Controls: Mouse

▶ Play full screen ▲ Vote: free account with email ▲ Or sign in with GitHub

GitHub may ask you to sign in, then to let VibeCruiser “Verify your GitHub identity” and “Act on your behalf”. We only read your profile and email, and never post anything.

Open the live demo Source on GitHub

From the README

一个工业级架构的《植物大战僵尸》网页版实现,基于 TypeScript + Phaser 3 构建。本项目不仅复刻了核心玩法,还提供了一套完整的开发工具链。

组件化 HUD:重构了阳光显示、植物选择器和进度条,支持动态反馈。 骨骼动画支持:深度集成 Spine 2D,支持高性能的骨骼动画同步。 资产流水线:内置 SVG 矢量资产生成脚本,极致清晰且体积小巧。 果汁感 (Juiciness):丰富的 Tween 动画、屏幕抖动、粒子喷溅及分级受损反馈。

经典地形:支持草地、泳池 (Pool) 地形,实现完整的睡莲 (Lily Pad) 平台逻辑。 选种系统:关卡开始前可自由搭配 6-8 个植物种子槽位。 多样化敌人:包含断头逻辑、护甲掉落反馈以及狂暴模式 (Newspaper) 和特殊位移 (Pole Vaulting)。

可视化编辑器:内置拖拽式关卡编辑器,支持时间轴控制和 YAML 导出。 数据驱动:关卡基于 YAML 配置,通过编译器自动生成高性能 JSON 数据。 自动化测试:30+ 核心单元测试及 E2E 冒烟测试,确保逻辑坚不可摧。

原版音轨:集成了官方高清 BGM 和 15+ 种经典音效。 程序化后备:当外部资源加载失败时,自动切换至程序化合成音效。

进入游戏主菜单,点击 “🛠️ 关卡编辑器”。

放置僵尸:选择僵尸类型,在草坪最右侧点击放置。

Read the full README on GitHub →

Built something like this? Submit your vibe — free account, takes a minute. How listing works.

More like this

Made this?

Claim it: create a free account, then press CLAIM THIS in the cruiser. Put the badge below in your README or on your demo page first; that link is how we know it's yours.

Your project is on the cruise, loaded live from your own site. Put the badge in your README or on the demo page: it shows your live play count, it links back to this page, and everyone who lands here is one click from running the real thing.

On VibeCruiser

How listing, the badge and claiming work →