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/pirate-raiders-48

v1.1.1

Published

Pirate Raiders — Pack 05 | 16 pirate archetypes × 8 directions × 3 layers | 48px pixel-art sprite pack

Readme

一个48像素、8个方向的像素风格海洋人物素材包,包含漫反射、法线和深度贴图,适用于不依赖特定游戏引擎的游戏。 这是 Sprite Foundry 目录中的 第05套 素材。

包含内容

8种海盗角色原型,涵盖海洋世界的三种视觉风格:

| 变体 | 角色 | 轮廓 | |---------|------|------------| | 船长 | 指挥官 | 三角帽,海军蓝外套,金色装饰,腰间佩戴装饰性弯刀 | | 副手 | 后勤/纪律 | 宽檐皮帽,身材魁梧,双臂交叉,腰带上挂着钥匙 | | 血腥海盗 | 近战突击 | 红色头巾,无袖马甲,双曲线登船弯刀 | | 手枪手 | 远程专家 | 深红色长款外套,燧发手枪,弹药弹带 | | 水手 | 军事权威 | 蓝白色制服,双角帽,肩带,军人标准姿势 | | 港口总督 | 文职权威 | 深色正式外套,假发,身材丰满,手持拐杖 | | 溺亡守护者 | 不死海盗 | 浸水的绿色皮肤,破旧的外套,生锈的铁胸甲,附着藤壶 | | 海神 | 神秘/辅助 | 珊瑚枝状头饰,墨绿色分层长袍,悬挂在链条上的藤壶熏香炉 |

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

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

安装

npm install @sprite-foundry/pirate-raiders-48

文件夹结构

assets/
  captain/
    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
  quartermaster/
  cutthroat/
  pistoleer/
  navy-sailor/
  governor/
  drowned/
  sea-priest/
pack.json          pack-level index
previews/          contact sheets per variant

清单格式

每个变体都包含一个 manifest.json 文件,其中包含完整的来源信息和 SHA-256 校验和:

{
  "schema_version": "1.0.0",
  "identity": { "subject_slug": "pirate_captain", "display_name": "Captain" },
  "render_contract": {
    "width": 48, "height": 48,
    "direction_order": ["front", "front_left", "left", "back_left", "back", "back_right", "right", "front_right"],
    "pivot": "center_bottom",
    "transparency": true
  },
  "files": { "albedo/front.png": "<sha256>", "normal/front.png": "<sha256>", "..." : "..." }
}

顶层 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/pirate_*.json 定义了此素材包中每个变体的确切提示、种子和轮廓规则
  • 导出命令行工具: foundry export <run_id> 生成具有校验和的确定性素材包

要添加新的变体:

  1. pipeline/chars/ 目录下创建一个角色配置文件,遵循现有的海盗配置文件
  2. 注册:python -m foundry.cli subject-add <id> --name "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构建。