webpack-game-asset-plugin
v0.18.2
Published
webpack plugin for HTML5 game asset
Downloads
14
Readme
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