Nougat Predominant Middleware
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

webpack-game-asset-plugin

0.18.2 • Public • Published

npm version dependencies Status devDependencies Status typedoc link

webpack-game-asset-plugin

webpack plugin for HTML5 game asset

usage - simple example

new assetPlugin({
  assetRoots: [
    "assets",
    ["assets/Data", "Data"]
  ],
  listOut: "resources.json",
  makeAtlas: true,
  compositor: "gm",
  atlasMap: [
    "game",
    "!game/effect"
  ]
})

Optional Depedencies

bitmapfont generation

  • @mapbox/shelf-pack
  • bitmapfont
  • xml2js
  • stream-buffers

texture packing

  • node-sprite-generator
  • node-sprite-generator composer
    • gm

making audiosrptie

  • audiosprite

audio encode

  • fluent-ffmpeg

option

see typedoc

Keywords

none

install

npm i webpack-game-asset-plugin

Downloadsweekly downloads

45

version

0.18.2

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability