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/fantasy-villains-48

v1.1.1

Published

Fantasy Villains — Pack 04 | 16 villain archetypes × 8 directions × 3 layers | 48px pixel-art sprite pack

Readme

A 48px, 8-direction pixel-art pack of boss-ready humanoid antagonists with albedo, normal, and depth maps for engine-agnostic game use.

Fantasy Villains Banner

What's Included

16 villain archetypes across two tiers — Elite Threats and The Court — each with 8 directional views:

Variant Lineup

Elite Threats (original 8)

| Variant | Role | Silhouette | |---------|------|------------| | Blackguard | Elite tank | Closed dark helm, tower shield, spiked mace, black plate | | Dread Ranger | Ranged hunter | Skull mask over hood, longbow, bone trophies, tattered cloak | | Necromancer | Summoner/caster | Bone crown, skull staff, tattered robes, gaunt frame | | Assassin | Flanker | Face mask, curved daggers, vial bandolier, compact crouched posture | | Cult Priest | Support/debuffer | Horned headdress, censer on chain, structured red/black vestments | | Reaver | Heavy damage | Executioner's cleaver, half-mask, bare scarred torso, widest villain | | Warlord | Commander | Crown-helm with plume, halberd, banner on back, ornate gold/red armor | | Dark Monk | Fast specialist | Shaved tattooed head, chain-weighted staff, metal-studded wraps |

The Court — Mid-bosses and Entourage (v1.1)

| Variant | Role | Silhouette | |---------|------|------------| | Vampire Lord | Aristocratic undead | High-collared crimson cape, chalice, pale skin, fangs | | Gorgon | Petrifying monster | Snake hair crown, bronze Greek armor, curved blade | | Mind Tyrant | Psychic overlord | Bulbous head, face tentacles, purple robes, psychic crown | | Corrupted Paladin | Fallen holy warrior | Cracked plate armor, broken halo, red eye, planted sword | | Witch | Forest curse weaver | Crooked pointed hat, gnarled staff, green glow, tattered robes | | Bandit King | Outlaw warlord | Iron thorn crown, fur cloak, dual swords, scarred muscular build | | Dark Elf Matriarch | Spider-themed ruler | Dark skin, white hair, spider scepter, purple/black armor | | Plague Doctor | Pestilence bringer | Beak mask, wide-brim hat, censer with green smoke, leather coat |

Each variant ships with three map layers:

  • Albedo — base color sprites (transparent PNG)
  • Normal — normal maps for dynamic lighting
  • Depth — depth maps for parallax and elevation effects

Install

npm install @sprite-foundry/fantasy-villains-48

Folder Structure

assets/
  blackguard/
    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
  dread-ranger/
  necromancer/
  assassin/
  cult-priest/
  reaver/
  warlord/
  dark-monk/
  vampire-lord/
  gorgon/
  mind-tyrant/
  corrupted-paladin/
  witch/
  bandit-king/
  dark-elf-matriarch/
  plague-doctor/
pack.json          pack-level index
previews/          banner and lineup sheets

Manifest Format

Each variant has a manifest.json:

{
  "slug": "blackguard",
  "name": "Blackguard",
  "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"
}

The pack-level pack.json indexes all variants with paths to each manifest.

Engine Compatibility

These are plain PNG files with JSON metadata. They work with any engine or framework that can load images:

  • Phaser
  • PixiJS
  • Godot
  • RPG Maker
  • Unity (2D)
  • Custom engines

No engine-specific format or runtime dependency.

Specs

  • Variants: 16 villain archetypes (8 Elite Threats + 8 The Court)
  • Tile size: 48 x 48 px
  • Directions: 8 (front, front_left, left, back_left, back, back_right, right, front_right)
  • Format: transparent PNG
  • Maps: albedo + normal + depth
  • Total sprites: 384 (16 × 8 × 3)
  • Animation: static poses (v1)
  • Perspective: top-down

Extending the Pack

Want to generate additional villain variants that match this pack's art style and export contract?

This pack was produced with Sprite Foundry, an open-source ComfyUI + SDXL pixel-art generation pipeline. The foundry repo contains everything you need:

  • Generation pipelinepipeline/foundry_gen.py drives ComfyUI with per-subject configs
  • Subject configspipeline/chars/villain_*.json define the exact prompts, seeds, silhouette rules, and reject conditions for every variant in this pack
  • Batch manifestpipeline/manifests/fantasy_villains_04.json maps all 8 configs to the export structure
  • Export CLIfoundry export <run_id> produces deterministic packs with checksums
  • ControlNet tuning — humanoid depth strength 0.60, end% 0.85 (documented in the manifest)

To add a new variant:

  1. Create a subject config in pipeline/chars/ following the existing villain configs
  2. Register: python -m foundry.cli subject-add <id> --name "Name"
  3. Generate: python -m pipeline.foundry_gen --config pipeline/chars/<config>.json
  4. Review, accept, produce maps, accept finish, export
  5. Copy the exported pack into the matching assets/<slug>/ directory

The Sprite Foundry README has the full pipeline walkthrough.

Security

This package contains only static PNG images and JSON metadata. There is no executable code, no install hooks, no network access, and no telemetry. Assets are read-only by design.

See SECURITY.md for the full security policy.

License

MIT — use in commercial and non-commercial projects.

Credits

Generated with Sprite Foundry using ComfyUI + SDXL pixel-art pipeline.

Built by MCP Tool Shop