@vpmedia/phaser 1.0.28 → 1.0.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vpmedia/phaser",
3
- "version": "1.0.28",
3
+ "version": "1.0.29",
4
4
  "description": "@vpmedia/phaser is the modern ECMAScript port of the popular Phaser game engine v2.6.2",
5
5
  "author": "Andras Csizmadia <andras@vpmedia.hu> (www.vpmedia.hu)",
6
6
  "license": "MIT",
@@ -566,13 +566,13 @@ export default class {
566
566
  this.spritesheet(file.key, file.url, file.frameWidth, file.frameHeight, file.frameMax, file.margin, file.spacing);
567
567
  break;
568
568
  case "video":
569
- this.video(file.key, file.urls);
569
+ this.video(file.key, file.urls ? file.urls : file.url);
570
570
  break;
571
571
  case "audio":
572
- this.audio(file.key, file.urls, file.autoDecode);
572
+ this.audio(file.key, file.urls ? file.urls : file.url, file.autoDecode);
573
573
  break;
574
574
  case "audiosprite":
575
- this.audioSprite(file.key, file.urls, file.jsonURL, file.jsonData, file.autoDecode);
575
+ this.audioSprite(file.key, file.urls ? file.urls : file.url, file.jsonURL, file.jsonData, file.autoDecode);
576
576
  break;
577
577
  case "tilemap":
578
578
  // TODO
@@ -585,15 +585,6 @@ export default class {
585
585
  case "bitmapFont":
586
586
  this.bitmapFont(file.key, file.textureURL, file.atlasURL, file.atlasData, file.xSpacing, file.ySpacing);
587
587
  break;
588
- case "atlasJSONArray":
589
- this.atlasJSONArray(file.key, file.textureURL, file.atlasURL, file.atlasData);
590
- break;
591
- case "atlasJSONHash":
592
- this.atlasJSONHash(file.key, file.textureURL, file.atlasURL, file.atlasData);
593
- break;
594
- case "atlasXML":
595
- this.atlasXML(file.key, file.textureURL, file.atlasURL, file.atlasData);
596
- break;
597
588
  case "atlas":
598
589
  this.atlas(file.key, file.textureURL, file.atlasURL, file.atlasData, file.format === 'TEXTURE_ATLAS_JSON_HASH' ? TEXTURE_ATLAS_JSON_HASH : TEXTURE_ATLAS_JSON_ARRAY);
599
590
  break;