Assets update
|
After Width: | Height: | Size: 190 B |
|
After Width: | Height: | Size: 160 B |
|
After Width: | Height: | Size: 160 B |
|
After Width: | Height: | Size: 171 B |
|
After Width: | Height: | Size: 162 B |
|
After Width: | Height: | Size: 162 B |
|
After Width: | Height: | Size: 167 B |
|
After Width: | Height: | Size: 446 B |
@@ -755,8 +755,8 @@ Phaser.InputHandler.prototype = {
|
||||
*/
|
||||
setDragLock: function (allowHorizontal, allowVertical) {
|
||||
|
||||
allowHorizontal = allowHorizontal || true;
|
||||
allowVertical = allowVertical || true;
|
||||
if (typeof allowHorizontal == 'undefined') { allowHorizontal = true; }
|
||||
if (typeof allowVertical == 'undefined') { allowVertical = true; }
|
||||
|
||||
this.allowHorizontalDrag = allowHorizontal;
|
||||
this.allowVerticalDrag = allowVertical;
|
||||
|
||||
@@ -27,7 +27,7 @@ Phaser.Sound = function (game, key, volume, loop) {
|
||||
* @public
|
||||
* @type {string}
|
||||
*/
|
||||
this.name = '';
|
||||
this.name = key;
|
||||
|
||||
/**
|
||||
* Asset key for the sound.
|
||||
@@ -266,9 +266,7 @@ Phaser.Sound.prototype = {
|
||||
if (typeof loop == 'undefined') { loop = false; }
|
||||
if (typeof forceRestart == 'undefined') { forceRestart = false; }
|
||||
|
||||
|
||||
|
||||
console.log('play ' + marker + ' position ' + position + ' volume ' + volume + ' loop ' + loop);
|
||||
console.log(this.name + ' play ' + marker + ' position ' + position + ' volume ' + volume + ' loop ' + loop);
|
||||
|
||||
if (this.isPlaying == true && forceRestart == false && this.override == false)
|
||||
{
|
||||
|
||||