webpack-game-asset-plugin
TypeScript icon, indicating that this package has built-in type declarations

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

Readme

Keywords

none

Package Sidebar

Install

npm i webpack-game-asset-plugin

Weekly Downloads

1

Version

0.18.2

License

MIT

Last publish

Collaborators

  • perlmint