npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@sprite-foundry/undead-patrol-48

v1.1.1

Published

Undead Patrol — Pack 01: 16 zombie + human variants × 8 directions × 3 layers | 48px pixel-art sprite pack with before/after storytelling

Downloads

271

Readme

一个48x48像素、8个方向的像素风格僵尸敌人素材包,包含漫反射贴图、法线贴图和深度贴图,适用于各种游戏引擎。

不死军团 宣传图

包含内容

8种僵尸变体,每种变体包含8个方向的视图:

变体展示

| 变体 | 角色 | 轮廓 | |---------|------|------------| | 蹒跚者 | 基础不死生物 | 弯腰、缓慢、姿势僵硬 | | 奔跑者 | 快速威胁 | 前倾、具有攻击性的姿态 | | 暴动僵尸 | 装甲单位 | 宽肩膀、盾牌/装甲 | | 防护服僵尸 | 受污染专家 | 防护服、圆顶头盔 | | 膨胀僵尸 | 区域威胁 | 宽阔的躯干、不对称的膨胀 | | 骷髅僵尸 | 脆弱/古老 | 细长的四肢、棱角分明的轮廓 | | 工人僵尸 | 工业/平民 | 制服、工具带、可辨认的装备 | | 精英僵尸 | 指挥官/蛮力 | 高大、威严、增强的体型 |

每种变体包含三个贴图层:

  • 漫反射 (Albedo) — 基础颜色精灵图 (透明 PNG)
  • 法线 (Normal) — 用于动态光照的法线贴图
  • 深度 (Depth) — 用于视差和高度效果的深度贴图

安装

npm install @sprite-foundry/undead-patrol-48

文件夹结构

assets/
  shambler/
    albedo/    8 directional PNGs (front, front_left, left, back_left, back, back_right, right, front_right)
    normal/    8 matching normal maps
    depth/     8 matching depth maps
    preview/   contact sheet
    manifest.json
  runner/
  riot-zombie/
  hazmat-zombie/
  bloater/
  skeletal-zombie/
  worker-zombie/
  elite-zombie/
pack.json          pack-level index
previews/          banner and lineup sheets

清单格式

每种变体都包含一个 manifest.json 文件:

{
  "slug": "shambler",
  "name": "Shambler",
  "version": "1.0.0",
  "tileSize": 48,
  "directions": ["front", "front_left", "left", "back_left", "back", "back_right", "right", "front_right"],
  "layers": {
    "albedo": "albedo/{direction}.png",
    "normal": "normal/{direction}.png",
    "depth": "depth/{direction}.png"
  },
  "preview": "preview/contact_sheet.png"
}

pack.json 文件(位于包的根目录)索引了所有变体,并包含每个清单的路径。

引擎兼容性

这些是带有 JSON 元数据的纯 PNG 文件。 它们适用于任何可以加载图像的引擎或框架:

  • Phaser
  • PixiJS
  • Godot
  • RPG Maker
  • Unity (2D)
  • 自定义引擎

不包含任何特定于引擎的格式或运行时依赖项。

规格

  • 瓦片大小: 48 x 48 像素
  • 方向: 8 个 (正面、左前、左侧、左后、背面、右后、右侧、右前)
  • 格式: 透明 PNG
  • 贴图: 漫反射 + 法线 + 深度
  • 动画: 静态姿势 (v1)
  • 视角: 俯视

扩展素材包

想生成更多符合此素材包艺术风格和导出规范的僵尸变体吗?

此素材包由 Sprite Foundry 生成,这是一个开源的 ComfyUI + SDXL 像素艺术生成流水线。 Foundry 仓库包含所有你需要的内容:

  • 生成流水线pipeline/foundry_gen.py 驱动 ComfyUI,并使用每个对象的配置
  • 对象配置pipeline/chars/zombie_*.json 定义了此素材包中每个变体的确切提示、种子、轮廓规则和拒绝条件
  • 批量清单pipeline/manifests/undead_patrol_01.json 将所有 8 个配置映射到导出结构
  • 导出 CLIfoundry export <run_id> 生成具有校验和的确定性素材包
  • ControlNet 调整 — 人体深度强度 0.60,结束百分比 0.85 (已在清单中记录)

要添加新的变体:

  1. pipeline/chars/ 目录中创建一个对象配置,遵循现有的僵尸配置。
  2. 注册:python -m foundry.cli subject-add <id> --name "名称"
  3. 生成:python -m pipeline.foundry_gen --config pipeline/chars/<config>.json
  4. 审查、接受、生成贴图、接受完成、导出
  5. 将导出的素材包复制到相应的 assets/<slug>/ 目录中。

Sprite Foundry README 提供了完整的流水线教程。

安全

此软件包仅包含静态的PNG图像和JSON元数据。它不包含任何可执行代码、安装钩子、网络访问功能或遥测功能。资源文件设计为只读。

请参阅SECURITY.md以获取完整的安全策略。

许可证

MIT协议 — 可以在商业和非商业项目中使用。

鸣谢

使用Sprite Foundry以及ComfyUI + SDXL像素艺术流水线生成的。

MCP Tool Shop构建。