Assets update

This commit is contained in:
Richard Davey 2013-09-20 23:21:12 +01:00
parent 8452fa0fd4
commit 45426be0bc
10 changed files with 4 additions and 6 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 190 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 160 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 160 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 171 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 162 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 162 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 167 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 446 B

View file

@ -755,8 +755,8 @@ Phaser.InputHandler.prototype = {
*/ */
setDragLock: function (allowHorizontal, allowVertical) { setDragLock: function (allowHorizontal, allowVertical) {
allowHorizontal = allowHorizontal || true; if (typeof allowHorizontal == 'undefined') { allowHorizontal = true; }
allowVertical = allowVertical || true; if (typeof allowVertical == 'undefined') { allowVertical = true; }
this.allowHorizontalDrag = allowHorizontal; this.allowHorizontalDrag = allowHorizontal;
this.allowVerticalDrag = allowVertical; this.allowVerticalDrag = allowVertical;

View file

@ -27,7 +27,7 @@ Phaser.Sound = function (game, key, volume, loop) {
* @public * @public
* @type {string} * @type {string}
*/ */
this.name = ''; this.name = key;
/** /**
* Asset key for the sound. * Asset key for the sound.
@ -266,9 +266,7 @@ Phaser.Sound.prototype = {
if (typeof loop == 'undefined') { loop = false; } if (typeof loop == 'undefined') { loop = false; }
if (typeof forceRestart == 'undefined') { forceRestart = false; } if (typeof forceRestart == 'undefined') { forceRestart = false; }
console.log(this.name + ' play ' + marker + ' position ' + position + ' volume ' + volume + ' loop ' + loop);
console.log('play ' + marker + ' position ' + position + ' volume ' + volume + ' loop ' + loop);
if (this.isPlaying == true && forceRestart == false && this.override == false) if (this.isPlaying == true && forceRestart == false && this.override == false)
{ {