Open rzer opened 8 years ago
Example of adding WebP texture support (http://soywiz.github.io/as3libwebp/)
import libwebp.DecodeWebp;
assets = new Assets(scaleFactor); assets.addTextureProcessor("webp", DecodeWebp); assets.enqueue("example.webp");
Thanks a lot for the pull request! I plan to rewrite the AssetManager soon (for Starling 2.1), and I'll look into your pull request in detail then.
Example of adding WebP texture support (http://soywiz.github.io/as3libwebp/)
import libwebp.DecodeWebp;
assets = new Assets(scaleFactor); assets.addTextureProcessor("webp", DecodeWebp); assets.enqueue("example.webp");