phaser-rails 2.0.4.0 → 2.0.4.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 919bed21f24f0160d590efbe1b7f293acbfdc792
4
- data.tar.gz: cc9e3809f3e13e91caae033478e6f784fe5d727f
3
+ metadata.gz: e5ae1bba4ceea90442e17a351331d0ee16775cd2
4
+ data.tar.gz: 64109fe1a4377ea99620ef2e13b45917a174d8d4
5
5
  SHA512:
6
- metadata.gz: b88599a7d337499693facb0e0777d0c6072bb17b08b94302c7815d42193522e5a6a7909bb434635fe13e50a55b733813a635a0d797a07d6722e7f4830a5c53fb
7
- data.tar.gz: 0fb56e622ad8dcb6df471f4cf1f4fa1d4c6243da69b43fbaa132bbff926348e6756b244fd987562e743ee93e99032febe7a0ffd3a330b35b00883ec57b9c3233
6
+ metadata.gz: 7d0756db988a7e2dae3890c18254d187ffd5b14ab75595e3c65511b63eb817daccb689a461a4f5cc93cca05322fde9aefc5c2a6124cd68743536da9e809c4d20
7
+ data.tar.gz: 56baec2689fc09d0d5092f0aa41c2ea214bad48c09f47323eb1b930cbd1dd1d44d1a147e4e72b9ced0ca253bf0c27fc3add2a6cea0bfa6b9ed4bcd549356de67
@@ -1,5 +1,5 @@
1
1
  module Phaser
2
2
  module Rails
3
- VERSION = "2.0.4.0"
3
+ VERSION = "2.0.4.1"
4
4
  end
5
5
  end
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * Phaser - http://phaser.io
9
9
  *
10
- * v2.0.4 "Mos Shirare" - Built: Tue Apr 29 2014 15:39:24
10
+ * v2.0.4 "Mos Shirare" - Built: Tue Apr 29 2014 22:39:37
11
11
  *
12
12
  * By Richard Davey http://www.photonstorm.com @photonstorm
13
13
  *
@@ -9764,7 +9764,7 @@ PIXI.RenderTexture.tempMatrix = new PIXI.Matrix();
9764
9764
  *
9765
9765
  * Phaser - http://phaser.io
9766
9766
  *
9767
- * v2.0.4 "Mos Shirare" - Built: Tue Apr 29 2014 15:39:24
9767
+ * v2.0.4 "Mos Shirare" - Built: Tue Apr 29 2014 22:39:37
9768
9768
  *
9769
9769
  * By Richard Davey http://www.photonstorm.com @photonstorm
9770
9770
  *
@@ -18534,6 +18534,12 @@ Phaser.ScaleManager = function (game, width, height) {
18534
18534
  */
18535
18535
  this._height = 0;
18536
18536
 
18537
+ /**
18538
+ * @property {number} _check - Cached size interval var.
18539
+ * @private
18540
+ */
18541
+ this._check = null;
18542
+
18537
18543
  var _this = this;
18538
18544
 
18539
18545
  window.addEventListener('orientationchange', function (event) {
@@ -52719,7 +52725,14 @@ Phaser.Tilemap.prototype = {
52719
52725
 
52720
52726
  if (x >= 0 && x < this.layers[layer].width && y >= 0 && y < this.layers[layer].height)
52721
52727
  {
52722
- return this.layers[layer].data[y][x];
52728
+ if (this.layers[layer].data[y][x].index === -1)
52729
+ {
52730
+ return null;
52731
+ }
52732
+ else
52733
+ {
52734
+ return this.layers[layer].data[y][x];
52735
+ }
52723
52736
  }
52724
52737
 
52725
52738
  },
@@ -74327,7 +74340,7 @@ Phaser.Physics.P2.Body.prototype = {
74327
74340
  */
74328
74341
  applyForce: function (force, worldX, worldY) {
74329
74342
 
74330
- this.data.applyForce(force, [this.world.pxm(worldX), this.world.pxm(worldY)]);
74343
+ this.data.applyForce(force, [this.world.pxmi(worldX), this.world.pxmi(worldY)]);
74331
74344
 
74332
74345
  },
74333
74346
 
@@ -76512,7 +76525,7 @@ Phaser.Physics.P2.RevoluteConstraint = function (world, bodyA, pivotA, bodyB, pi
76512
76525
  pivotA = [ world.pxmi(pivotA[0]), world.pxmi(pivotA[1]) ];
76513
76526
  pivotB = [ world.pxmi(pivotB[0]), world.pxmi(pivotB[1]) ];
76514
76527
 
76515
- p2.RevoluteConstraint.call(this, bodyA, pivotA, bodyB, pivotB, maxForce);
76528
+ p2.RevoluteConstraint.call(this, bodyA, pivotA, bodyB, pivotB, {maxForce: maxForce});
76516
76529
 
76517
76530
  };
76518
76531