diff --git a/examples/example 1 - Basics/index.html b/examples/example 1 - Basics/index.html index dec5ce3..b375df9 100644 --- a/examples/example 1 - Basics/index.html +++ b/examples/example 1 - Basics/index.html @@ -35,7 +35,7 @@ bunny.anchor.x = 0.5; bunny.anchor.y = 0.5; - // move the sprite t the center of the screen + // move the sprite to the center of the screen bunny.position.x = 200; bunny.position.y = 150; diff --git a/examples/example 1 - Basics/index.html b/examples/example 1 - Basics/index.html index dec5ce3..b375df9 100644 --- a/examples/example 1 - Basics/index.html +++ b/examples/example 1 - Basics/index.html @@ -35,7 +35,7 @@ bunny.anchor.x = 0.5; bunny.anchor.y = 0.5; - // move the sprite t the center of the screen + // move the sprite to the center of the screen bunny.position.x = 200; bunny.position.y = 150; diff --git a/src/pixi/loaders/AssetLoader.js b/src/pixi/loaders/AssetLoader.js index 7b412c2..feab211 100644 --- a/src/pixi/loaders/AssetLoader.js +++ b/src/pixi/loaders/AssetLoader.js @@ -49,6 +49,7 @@ 'jpeg': PIXI.ImageLoader, 'png': PIXI.ImageLoader, 'gif': PIXI.ImageLoader, + 'webp': PIXI.ImageLoader, 'json': PIXI.JsonLoader, 'atlas': PIXI.AtlasLoader, 'anim': PIXI.SpineLoader,