GoldFire

Phaser Webpack Loader Plugin

2 posts in this topic

I first started by writing a Phaser boilerplate using ES6 and Webpack. However, the thing missing was simple asset loading through Webpack, so I wrote a new plugin to facilitate that along with some more advanced features like compressed textures and retina graphics. Just define your asset manifest file, add the plugin and you are done.

Github/Docs | NPM

  • Load all game assets in parallel.
  • Load images, spritesheets, atlases, audio, bitmap fonts and web fonts.
  • Integrated with Webpack for automatic cache-busting.
  • Supports all filetypes.
  • Supports asset postfix for retina support ([email protected]', [email protected]', etc).
  • Supports automatic loading of compressed textures (PVRTC, S3TC, ETC1).

 

phaser-webpack-loader-1.png.6de69eb0ef6824733663b21d366c52aa.png

MeMyMo, Dread Knight and samme like this

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.