openfl / starling

Known as the "Cross-Platform Game Engine", Starling is a popular Stage3D framework for OpenFL and Haxe
Other
237 stars 68 forks source link

Add the ability to load webp files to starling #130

Closed ljurow closed 5 years ago

ljurow commented 5 years ago

Now you can load webp spritesheets (TextureAtlas) with the starling AssetManager. Of course, this will only work in web browsers that support webp (i.e. not Safari).

peteshand commented 5 years ago

might be a good idea to add a #if html5 conditional for the webp for the addExtensions method