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 +4 -4
- data/lib/phaser/rails/version.rb +1 -1
- data/vendor/assets/javascripts/phaser.js +18 -5
- data/vendor/assets/javascripts/phaser.min.js +3 -3
- metadata +13 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e5ae1bba4ceea90442e17a351331d0ee16775cd2
|
4
|
+
data.tar.gz: 64109fe1a4377ea99620ef2e13b45917a174d8d4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d0756db988a7e2dae3890c18254d187ffd5b14ab75595e3c65511b63eb817daccb689a461a4f5cc93cca05322fde9aefc5c2a6124cd68743536da9e809c4d20
|
7
|
+
data.tar.gz: 56baec2689fc09d0d5092f0aa41c2ea214bad48c09f47323eb1b930cbd1dd1d44d1a147e4e72b9ced0ca253bf0c27fc3add2a6cea0bfa6b9ed4bcd549356de67
|
data/lib/phaser/rails/version.rb
CHANGED
@@ -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
|
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
|
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
|
-
|
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.
|
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
|
|