Add new builds
This commit is contained in:
parent
4c74b6484c
commit
30cbee81c2
14 changed files with 651 additions and 625 deletions
|
@ -1,14 +1,14 @@
|
|||
/**
|
||||
* @license
|
||||
* Pixi.JS - v1.1.0
|
||||
* Copyright (c) 2012, Mat Groves
|
||||
* http://goodboydigital.com/
|
||||
*
|
||||
* Compiled: 2013-06-19
|
||||
*
|
||||
* Pixi.JS is licensed under the MIT License.
|
||||
* http://www.opensource.org/licenses/mit-license.php
|
||||
*/
|
||||
/**
|
||||
* @license
|
||||
* Pixi.JS - v1.2.0
|
||||
* Copyright (c) 2012, Mat Groves
|
||||
* http://goodboydigital.com/
|
||||
*
|
||||
* Compiled: 2013-06-19
|
||||
*
|
||||
* Pixi.JS is licensed under the MIT License.
|
||||
* http://www.opensource.org/licenses/mit-license.php
|
||||
*/
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -16,7 +16,7 @@
|
|||
(function(){
|
||||
|
||||
var root = this;
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -25,7 +25,7 @@
|
|||
@module PIXI
|
||||
*/
|
||||
var PIXI = PIXI || {};
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -66,7 +66,7 @@ PIXI.Point.prototype.clone = function()
|
|||
// constructor
|
||||
PIXI.Point.constructor = PIXI.Point;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/
|
||||
*/
|
||||
|
@ -123,7 +123,7 @@ PIXI.Rectangle.prototype.clone = function()
|
|||
// constructor
|
||||
PIXI.Rectangle.constructor = PIXI.Rectangle;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Adrien Brault <adrien.brault@gmail.com>
|
||||
*/
|
||||
|
@ -154,7 +154,7 @@ PIXI.Polygon.clone = function()
|
|||
|
||||
PIXI.Polygon.constructor = PIXI.Polygon;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -412,7 +412,7 @@ PIXI.DisplayObject.prototype.updateTransform = function()
|
|||
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -652,7 +652,7 @@ PIXI.DisplayObjectContainer.prototype.updateTransform = function()
|
|||
this.children[i].updateTransform();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -818,7 +818,7 @@ PIXI.Sprite.fromImage = function(imageId)
|
|||
return new PIXI.Sprite(texture);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -943,7 +943,7 @@ PIXI.MovieClip.prototype.updateTransform = function()
|
|||
this.onComplete();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -1207,7 +1207,7 @@ PIXI.Text.prototype.destroy = function(destroyTexture)
|
|||
};
|
||||
|
||||
PIXI.Text.heightCache = {};
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -1363,7 +1363,7 @@ PIXI.BitmapText.prototype.updateTransform = function()
|
|||
PIXI.DisplayObjectContainer.prototype.updateTransform.call(this);
|
||||
};
|
||||
|
||||
PIXI.BitmapText.fonts = {};
|
||||
PIXI.BitmapText.fonts = {};
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -1777,6 +1777,8 @@ PIXI.InteractionManager.prototype.onTouchMove = function(event)
|
|||
|
||||
PIXI.InteractionManager.prototype.onTouchStart = function(event)
|
||||
{
|
||||
event.preventDefault();
|
||||
|
||||
var rect = this.target.view.getBoundingClientRect();
|
||||
|
||||
var changedTouches = event.changedTouches;
|
||||
|
@ -1928,7 +1930,7 @@ PIXI.InteractionData.prototype.getLocalPosition = function(displayObject)
|
|||
PIXI.InteractionData.constructor = PIXI.InteractionData;
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -2045,7 +2047,7 @@ PIXI.Stage.prototype.__removeChild = function(child)
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// http://paulirish.com/2011/requestanimationframe-for-smart-animating/
|
||||
// http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating
|
||||
|
||||
|
@ -2141,7 +2143,7 @@ var AjaxRequest = PIXI.AjaxRequest = function()
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* https://github.com/mrdoob/eventtarget.js/
|
||||
* THankS mr DOob!
|
||||
|
@ -2190,7 +2192,7 @@ PIXI.EventTarget = function () {
|
|||
};
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
|
@ -2423,7 +2425,7 @@ PIXI.mat4.multiply = function (mat, mat2, dest)
|
|||
|
||||
return dest;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -2457,7 +2459,7 @@ PIXI.autoDetectRenderer = function(width, height, view, transparent)
|
|||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
|
@ -2512,7 +2514,7 @@ PIXI._CompileShader = function(gl, shaderSrc, shaderType)
|
|||
|
||||
return shader;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -2858,7 +2860,7 @@ PIXI.WebGLRenderer.prototype.handleContextRestored = function(event)
|
|||
this.contextLost = false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -3442,7 +3444,7 @@ PIXI.WebGLBatch.prototype.render = function(start, end)
|
|||
gl.drawElements(gl.TRIANGLES, len * 6, gl.UNSIGNED_SHORT, start * 2 * 6 );
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -4352,7 +4354,7 @@ PIXI.WebGLRenderGroup.prototype.initStrip = function(strip)
|
|||
gl.bufferData(gl.ELEMENT_ARRAY_BUFFER, strip.indices, gl.STATIC_DRAW);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -4697,7 +4699,7 @@ PIXI.CanvasRenderer.prototype.renderStrip = function(strip)
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/
|
||||
*/
|
||||
|
@ -4787,7 +4789,7 @@ PIXI.Strip.prototype.onTextureUpdate = function(event)
|
|||
}
|
||||
// some helper functions..
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/
|
||||
*/
|
||||
|
@ -4963,7 +4965,7 @@ PIXI.Rope.prototype.setTexture = function(texture)
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/
|
||||
*/
|
||||
|
@ -5021,7 +5023,7 @@ PIXI.TilingSprite.prototype.onTextureUpdate = function(event)
|
|||
this.updateFrame = true;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
* based on pixi impact spine implementation made by Eemeli Kelokorpi (@ekelokorpi) https://github.com/ekelokorpi
|
||||
|
@ -6468,7 +6470,7 @@ spine.AtlasAttachmentLoader.prototype = {
|
|||
|
||||
PIXI.AnimCache = {};
|
||||
spine.Bone.yDown = true;
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -6508,7 +6510,7 @@ PIXI.CustomRenderable.prototype.renderWebGL = function(renderGroup, projectionMa
|
|||
// override!
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -6637,7 +6639,7 @@ PIXI.BaseTexture.fromImage = function(imageUrl, crossorigin)
|
|||
|
||||
return baseTexture;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -6826,7 +6828,7 @@ PIXI.Texture.removeTextureFromCache = function(id)
|
|||
// this is more for webGL.. it contains updated frames..
|
||||
PIXI.Texture.frameUpdates = [];
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7009,7 +7011,7 @@ PIXI.RenderTexture.prototype.renderCanvas = function(displayObject, clear)
|
|||
PIXI.texturesToUpdate.push(this.baseTexture);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7108,7 +7110,7 @@ PIXI.AssetLoader.prototype.onAssetLoaded = function()
|
|||
}
|
||||
};
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7237,7 +7239,7 @@ PIXI.JsonLoader.prototype.onError = function () {
|
|||
type: "error",
|
||||
content: this
|
||||
});
|
||||
};
|
||||
};
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7332,7 +7334,7 @@ PIXI.SpriteSheetLoader.prototype.onLoaded = function () {
|
|||
content: this
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7383,7 +7385,7 @@ PIXI.ImageLoader.prototype.onLoaded = function()
|
|||
{
|
||||
this.dispatchEvent({type: "loaded", content: this});
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7512,7 +7514,7 @@ PIXI.BitmapFontLoader.prototype.onLoaded = function()
|
|||
{
|
||||
this.dispatchEvent({type: "loaded", content: this});
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
* based on pixi impact spine implementation made by Eemeli Kelokorpi (@ekelokorpi) https://github.com/ekelokorpi
|
||||
|
@ -7589,7 +7591,7 @@ PIXI.SpineLoader.prototype.onLoaded = function()
|
|||
this.dispatchEvent({type: "loaded", content: this});
|
||||
};
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
|
28
bin/pixi.js
28
bin/pixi.js
File diff suppressed because one or more lines are too long
|
@ -1,14 +1,14 @@
|
|||
/**
|
||||
* @license
|
||||
* Pixi.JS - v1.1.0
|
||||
* Copyright (c) 2012, Mat Groves
|
||||
* http://goodboydigital.com/
|
||||
*
|
||||
* Compiled: 2013-06-19
|
||||
*
|
||||
* Pixi.JS is licensed under the MIT License.
|
||||
* http://www.opensource.org/licenses/mit-license.php
|
||||
*/
|
||||
/**
|
||||
* @license
|
||||
* Pixi.JS - v1.2.0
|
||||
* Copyright (c) 2012, Mat Groves
|
||||
* http://goodboydigital.com/
|
||||
*
|
||||
* Compiled: 2013-06-19
|
||||
*
|
||||
* Pixi.JS is licensed under the MIT License.
|
||||
* http://www.opensource.org/licenses/mit-license.php
|
||||
*/
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -16,7 +16,7 @@
|
|||
(function(){
|
||||
|
||||
var root = this;
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -25,7 +25,7 @@
|
|||
@module PIXI
|
||||
*/
|
||||
var PIXI = PIXI || {};
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -66,7 +66,7 @@ PIXI.Point.prototype.clone = function()
|
|||
// constructor
|
||||
PIXI.Point.constructor = PIXI.Point;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/
|
||||
*/
|
||||
|
@ -123,7 +123,7 @@ PIXI.Rectangle.prototype.clone = function()
|
|||
// constructor
|
||||
PIXI.Rectangle.constructor = PIXI.Rectangle;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Adrien Brault <adrien.brault@gmail.com>
|
||||
*/
|
||||
|
@ -154,7 +154,7 @@ PIXI.Polygon.clone = function()
|
|||
|
||||
PIXI.Polygon.constructor = PIXI.Polygon;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -412,7 +412,7 @@ PIXI.DisplayObject.prototype.updateTransform = function()
|
|||
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -652,7 +652,7 @@ PIXI.DisplayObjectContainer.prototype.updateTransform = function()
|
|||
this.children[i].updateTransform();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -818,7 +818,7 @@ PIXI.Sprite.fromImage = function(imageId)
|
|||
return new PIXI.Sprite(texture);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -943,7 +943,7 @@ PIXI.MovieClip.prototype.updateTransform = function()
|
|||
this.onComplete();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -1207,7 +1207,7 @@ PIXI.Text.prototype.destroy = function(destroyTexture)
|
|||
};
|
||||
|
||||
PIXI.Text.heightCache = {};
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -1363,7 +1363,7 @@ PIXI.BitmapText.prototype.updateTransform = function()
|
|||
PIXI.DisplayObjectContainer.prototype.updateTransform.call(this);
|
||||
};
|
||||
|
||||
PIXI.BitmapText.fonts = {};
|
||||
PIXI.BitmapText.fonts = {};
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -1777,6 +1777,8 @@ PIXI.InteractionManager.prototype.onTouchMove = function(event)
|
|||
|
||||
PIXI.InteractionManager.prototype.onTouchStart = function(event)
|
||||
{
|
||||
event.preventDefault();
|
||||
|
||||
var rect = this.target.view.getBoundingClientRect();
|
||||
|
||||
var changedTouches = event.changedTouches;
|
||||
|
@ -1928,7 +1930,7 @@ PIXI.InteractionData.prototype.getLocalPosition = function(displayObject)
|
|||
PIXI.InteractionData.constructor = PIXI.InteractionData;
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -2045,7 +2047,7 @@ PIXI.Stage.prototype.__removeChild = function(child)
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// http://paulirish.com/2011/requestanimationframe-for-smart-animating/
|
||||
// http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating
|
||||
|
||||
|
@ -2141,7 +2143,7 @@ var AjaxRequest = PIXI.AjaxRequest = function()
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* https://github.com/mrdoob/eventtarget.js/
|
||||
* THankS mr DOob!
|
||||
|
@ -2190,7 +2192,7 @@ PIXI.EventTarget = function () {
|
|||
};
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
|
@ -2423,7 +2425,7 @@ PIXI.mat4.multiply = function (mat, mat2, dest)
|
|||
|
||||
return dest;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -2457,7 +2459,7 @@ PIXI.autoDetectRenderer = function(width, height, view, transparent)
|
|||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
|
@ -2512,7 +2514,7 @@ PIXI._CompileShader = function(gl, shaderSrc, shaderType)
|
|||
|
||||
return shader;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -2858,7 +2860,7 @@ PIXI.WebGLRenderer.prototype.handleContextRestored = function(event)
|
|||
this.contextLost = false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -3442,7 +3444,7 @@ PIXI.WebGLBatch.prototype.render = function(start, end)
|
|||
gl.drawElements(gl.TRIANGLES, len * 6, gl.UNSIGNED_SHORT, start * 2 * 6 );
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -4352,7 +4354,7 @@ PIXI.WebGLRenderGroup.prototype.initStrip = function(strip)
|
|||
gl.bufferData(gl.ELEMENT_ARRAY_BUFFER, strip.indices, gl.STATIC_DRAW);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -4697,7 +4699,7 @@ PIXI.CanvasRenderer.prototype.renderStrip = function(strip)
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/
|
||||
*/
|
||||
|
@ -4787,7 +4789,7 @@ PIXI.Strip.prototype.onTextureUpdate = function(event)
|
|||
}
|
||||
// some helper functions..
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/
|
||||
*/
|
||||
|
@ -4963,7 +4965,7 @@ PIXI.Rope.prototype.setTexture = function(texture)
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/
|
||||
*/
|
||||
|
@ -5021,7 +5023,7 @@ PIXI.TilingSprite.prototype.onTextureUpdate = function(event)
|
|||
this.updateFrame = true;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
* based on pixi impact spine implementation made by Eemeli Kelokorpi (@ekelokorpi) https://github.com/ekelokorpi
|
||||
|
@ -6468,7 +6470,7 @@ spine.AtlasAttachmentLoader.prototype = {
|
|||
|
||||
PIXI.AnimCache = {};
|
||||
spine.Bone.yDown = true;
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -6508,7 +6510,7 @@ PIXI.CustomRenderable.prototype.renderWebGL = function(renderGroup, projectionMa
|
|||
// override!
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -6637,7 +6639,7 @@ PIXI.BaseTexture.fromImage = function(imageUrl, crossorigin)
|
|||
|
||||
return baseTexture;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -6826,7 +6828,7 @@ PIXI.Texture.removeTextureFromCache = function(id)
|
|||
// this is more for webGL.. it contains updated frames..
|
||||
PIXI.Texture.frameUpdates = [];
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7009,7 +7011,7 @@ PIXI.RenderTexture.prototype.renderCanvas = function(displayObject, clear)
|
|||
PIXI.texturesToUpdate.push(this.baseTexture);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7108,7 +7110,7 @@ PIXI.AssetLoader.prototype.onAssetLoaded = function()
|
|||
}
|
||||
};
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7237,7 +7239,7 @@ PIXI.JsonLoader.prototype.onError = function () {
|
|||
type: "error",
|
||||
content: this
|
||||
});
|
||||
};
|
||||
};
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7332,7 +7334,7 @@ PIXI.SpriteSheetLoader.prototype.onLoaded = function () {
|
|||
content: this
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7383,7 +7385,7 @@ PIXI.ImageLoader.prototype.onLoaded = function()
|
|||
{
|
||||
this.dispatchEvent({type: "loaded", content: this});
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7512,7 +7514,7 @@ PIXI.BitmapFontLoader.prototype.onLoaded = function()
|
|||
{
|
||||
this.dispatchEvent({type: "loaded", content: this});
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
* based on pixi impact spine implementation made by Eemeli Kelokorpi (@ekelokorpi) https://github.com/ekelokorpi
|
||||
|
@ -7589,7 +7591,7 @@ PIXI.SpineLoader.prototype.onLoaded = function()
|
|||
this.dispatchEvent({type: "loaded", content: this});
|
||||
};
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
/**
|
||||
* @license
|
||||
* Pixi.JS - v1.1.0
|
||||
* Copyright (c) 2012, Mat Groves
|
||||
* http://goodboydigital.com/
|
||||
*
|
||||
* Compiled: 2013-06-19
|
||||
*
|
||||
* Pixi.JS is licensed under the MIT License.
|
||||
* http://www.opensource.org/licenses/mit-license.php
|
||||
*/
|
||||
/**
|
||||
* @license
|
||||
* Pixi.JS - v1.2.0
|
||||
* Copyright (c) 2012, Mat Groves
|
||||
* http://goodboydigital.com/
|
||||
*
|
||||
* Compiled: 2013-06-19
|
||||
*
|
||||
* Pixi.JS is licensed under the MIT License.
|
||||
* http://www.opensource.org/licenses/mit-license.php
|
||||
*/
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -16,7 +16,7 @@
|
|||
(function(){
|
||||
|
||||
var root = this;
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -25,7 +25,7 @@
|
|||
@module PIXI
|
||||
*/
|
||||
var PIXI = PIXI || {};
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -66,7 +66,7 @@ PIXI.Point.prototype.clone = function()
|
|||
// constructor
|
||||
PIXI.Point.constructor = PIXI.Point;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/
|
||||
*/
|
||||
|
@ -123,7 +123,7 @@ PIXI.Rectangle.prototype.clone = function()
|
|||
// constructor
|
||||
PIXI.Rectangle.constructor = PIXI.Rectangle;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Adrien Brault <adrien.brault@gmail.com>
|
||||
*/
|
||||
|
@ -154,7 +154,7 @@ PIXI.Polygon.clone = function()
|
|||
|
||||
PIXI.Polygon.constructor = PIXI.Polygon;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -412,7 +412,7 @@ PIXI.DisplayObject.prototype.updateTransform = function()
|
|||
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -652,7 +652,7 @@ PIXI.DisplayObjectContainer.prototype.updateTransform = function()
|
|||
this.children[i].updateTransform();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -818,7 +818,7 @@ PIXI.Sprite.fromImage = function(imageId)
|
|||
return new PIXI.Sprite(texture);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -943,7 +943,7 @@ PIXI.MovieClip.prototype.updateTransform = function()
|
|||
this.onComplete();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -1207,7 +1207,7 @@ PIXI.Text.prototype.destroy = function(destroyTexture)
|
|||
};
|
||||
|
||||
PIXI.Text.heightCache = {};
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -1363,7 +1363,7 @@ PIXI.BitmapText.prototype.updateTransform = function()
|
|||
PIXI.DisplayObjectContainer.prototype.updateTransform.call(this);
|
||||
};
|
||||
|
||||
PIXI.BitmapText.fonts = {};
|
||||
PIXI.BitmapText.fonts = {};
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -1777,6 +1777,8 @@ PIXI.InteractionManager.prototype.onTouchMove = function(event)
|
|||
|
||||
PIXI.InteractionManager.prototype.onTouchStart = function(event)
|
||||
{
|
||||
event.preventDefault();
|
||||
|
||||
var rect = this.target.view.getBoundingClientRect();
|
||||
|
||||
var changedTouches = event.changedTouches;
|
||||
|
@ -1928,7 +1930,7 @@ PIXI.InteractionData.prototype.getLocalPosition = function(displayObject)
|
|||
PIXI.InteractionData.constructor = PIXI.InteractionData;
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -2045,7 +2047,7 @@ PIXI.Stage.prototype.__removeChild = function(child)
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// http://paulirish.com/2011/requestanimationframe-for-smart-animating/
|
||||
// http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating
|
||||
|
||||
|
@ -2141,7 +2143,7 @@ var AjaxRequest = PIXI.AjaxRequest = function()
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* https://github.com/mrdoob/eventtarget.js/
|
||||
* THankS mr DOob!
|
||||
|
@ -2190,7 +2192,7 @@ PIXI.EventTarget = function () {
|
|||
};
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
|
@ -2423,7 +2425,7 @@ PIXI.mat4.multiply = function (mat, mat2, dest)
|
|||
|
||||
return dest;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -2457,7 +2459,7 @@ PIXI.autoDetectRenderer = function(width, height, view, transparent)
|
|||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
|
@ -2512,7 +2514,7 @@ PIXI._CompileShader = function(gl, shaderSrc, shaderType)
|
|||
|
||||
return shader;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -2858,7 +2860,7 @@ PIXI.WebGLRenderer.prototype.handleContextRestored = function(event)
|
|||
this.contextLost = false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -3442,7 +3444,7 @@ PIXI.WebGLBatch.prototype.render = function(start, end)
|
|||
gl.drawElements(gl.TRIANGLES, len * 6, gl.UNSIGNED_SHORT, start * 2 * 6 );
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -4352,7 +4354,7 @@ PIXI.WebGLRenderGroup.prototype.initStrip = function(strip)
|
|||
gl.bufferData(gl.ELEMENT_ARRAY_BUFFER, strip.indices, gl.STATIC_DRAW);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -4697,7 +4699,7 @@ PIXI.CanvasRenderer.prototype.renderStrip = function(strip)
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/
|
||||
*/
|
||||
|
@ -4787,7 +4789,7 @@ PIXI.Strip.prototype.onTextureUpdate = function(event)
|
|||
}
|
||||
// some helper functions..
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/
|
||||
*/
|
||||
|
@ -4963,7 +4965,7 @@ PIXI.Rope.prototype.setTexture = function(texture)
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/
|
||||
*/
|
||||
|
@ -5021,7 +5023,7 @@ PIXI.TilingSprite.prototype.onTextureUpdate = function(event)
|
|||
this.updateFrame = true;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
* based on pixi impact spine implementation made by Eemeli Kelokorpi (@ekelokorpi) https://github.com/ekelokorpi
|
||||
|
@ -6468,7 +6470,7 @@ spine.AtlasAttachmentLoader.prototype = {
|
|||
|
||||
PIXI.AnimCache = {};
|
||||
spine.Bone.yDown = true;
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -6508,7 +6510,7 @@ PIXI.CustomRenderable.prototype.renderWebGL = function(renderGroup, projectionMa
|
|||
// override!
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -6637,7 +6639,7 @@ PIXI.BaseTexture.fromImage = function(imageUrl, crossorigin)
|
|||
|
||||
return baseTexture;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -6826,7 +6828,7 @@ PIXI.Texture.removeTextureFromCache = function(id)
|
|||
// this is more for webGL.. it contains updated frames..
|
||||
PIXI.Texture.frameUpdates = [];
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7009,7 +7011,7 @@ PIXI.RenderTexture.prototype.renderCanvas = function(displayObject, clear)
|
|||
PIXI.texturesToUpdate.push(this.baseTexture);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7108,7 +7110,7 @@ PIXI.AssetLoader.prototype.onAssetLoaded = function()
|
|||
}
|
||||
};
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7237,7 +7239,7 @@ PIXI.JsonLoader.prototype.onError = function () {
|
|||
type: "error",
|
||||
content: this
|
||||
});
|
||||
};
|
||||
};
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7332,7 +7334,7 @@ PIXI.SpriteSheetLoader.prototype.onLoaded = function () {
|
|||
content: this
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7383,7 +7385,7 @@ PIXI.ImageLoader.prototype.onLoaded = function()
|
|||
{
|
||||
this.dispatchEvent({type: "loaded", content: this});
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7512,7 +7514,7 @@ PIXI.BitmapFontLoader.prototype.onLoaded = function()
|
|||
{
|
||||
this.dispatchEvent({type: "loaded", content: this});
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
* based on pixi impact spine implementation made by Eemeli Kelokorpi (@ekelokorpi) https://github.com/ekelokorpi
|
||||
|
@ -7589,7 +7591,7 @@ PIXI.SpineLoader.prototype.onLoaded = function()
|
|||
this.dispatchEvent({type: "loaded", content: this});
|
||||
};
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
/**
|
||||
* @license
|
||||
* Pixi.JS - v1.1.0
|
||||
* Copyright (c) 2012, Mat Groves
|
||||
* http://goodboydigital.com/
|
||||
*
|
||||
* Compiled: 2013-06-19
|
||||
*
|
||||
* Pixi.JS is licensed under the MIT License.
|
||||
* http://www.opensource.org/licenses/mit-license.php
|
||||
*/
|
||||
/**
|
||||
* @license
|
||||
* Pixi.JS - v1.2.0
|
||||
* Copyright (c) 2012, Mat Groves
|
||||
* http://goodboydigital.com/
|
||||
*
|
||||
* Compiled: 2013-06-19
|
||||
*
|
||||
* Pixi.JS is licensed under the MIT License.
|
||||
* http://www.opensource.org/licenses/mit-license.php
|
||||
*/
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -16,7 +16,7 @@
|
|||
(function(){
|
||||
|
||||
var root = this;
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -25,7 +25,7 @@
|
|||
@module PIXI
|
||||
*/
|
||||
var PIXI = PIXI || {};
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -66,7 +66,7 @@ PIXI.Point.prototype.clone = function()
|
|||
// constructor
|
||||
PIXI.Point.constructor = PIXI.Point;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/
|
||||
*/
|
||||
|
@ -123,7 +123,7 @@ PIXI.Rectangle.prototype.clone = function()
|
|||
// constructor
|
||||
PIXI.Rectangle.constructor = PIXI.Rectangle;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Adrien Brault <adrien.brault@gmail.com>
|
||||
*/
|
||||
|
@ -154,7 +154,7 @@ PIXI.Polygon.clone = function()
|
|||
|
||||
PIXI.Polygon.constructor = PIXI.Polygon;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -412,7 +412,7 @@ PIXI.DisplayObject.prototype.updateTransform = function()
|
|||
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -652,7 +652,7 @@ PIXI.DisplayObjectContainer.prototype.updateTransform = function()
|
|||
this.children[i].updateTransform();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -818,7 +818,7 @@ PIXI.Sprite.fromImage = function(imageId)
|
|||
return new PIXI.Sprite(texture);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -943,7 +943,7 @@ PIXI.MovieClip.prototype.updateTransform = function()
|
|||
this.onComplete();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -1207,7 +1207,7 @@ PIXI.Text.prototype.destroy = function(destroyTexture)
|
|||
};
|
||||
|
||||
PIXI.Text.heightCache = {};
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -1363,7 +1363,7 @@ PIXI.BitmapText.prototype.updateTransform = function()
|
|||
PIXI.DisplayObjectContainer.prototype.updateTransform.call(this);
|
||||
};
|
||||
|
||||
PIXI.BitmapText.fonts = {};
|
||||
PIXI.BitmapText.fonts = {};
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -1777,6 +1777,8 @@ PIXI.InteractionManager.prototype.onTouchMove = function(event)
|
|||
|
||||
PIXI.InteractionManager.prototype.onTouchStart = function(event)
|
||||
{
|
||||
event.preventDefault();
|
||||
|
||||
var rect = this.target.view.getBoundingClientRect();
|
||||
|
||||
var changedTouches = event.changedTouches;
|
||||
|
@ -1928,7 +1930,7 @@ PIXI.InteractionData.prototype.getLocalPosition = function(displayObject)
|
|||
PIXI.InteractionData.constructor = PIXI.InteractionData;
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -2045,7 +2047,7 @@ PIXI.Stage.prototype.__removeChild = function(child)
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// http://paulirish.com/2011/requestanimationframe-for-smart-animating/
|
||||
// http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating
|
||||
|
||||
|
@ -2141,7 +2143,7 @@ var AjaxRequest = PIXI.AjaxRequest = function()
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* https://github.com/mrdoob/eventtarget.js/
|
||||
* THankS mr DOob!
|
||||
|
@ -2190,7 +2192,7 @@ PIXI.EventTarget = function () {
|
|||
};
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
|
@ -2423,7 +2425,7 @@ PIXI.mat4.multiply = function (mat, mat2, dest)
|
|||
|
||||
return dest;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -2457,7 +2459,7 @@ PIXI.autoDetectRenderer = function(width, height, view, transparent)
|
|||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
|
@ -2512,7 +2514,7 @@ PIXI._CompileShader = function(gl, shaderSrc, shaderType)
|
|||
|
||||
return shader;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -2858,7 +2860,7 @@ PIXI.WebGLRenderer.prototype.handleContextRestored = function(event)
|
|||
this.contextLost = false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -3442,7 +3444,7 @@ PIXI.WebGLBatch.prototype.render = function(start, end)
|
|||
gl.drawElements(gl.TRIANGLES, len * 6, gl.UNSIGNED_SHORT, start * 2 * 6 );
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -4352,7 +4354,7 @@ PIXI.WebGLRenderGroup.prototype.initStrip = function(strip)
|
|||
gl.bufferData(gl.ELEMENT_ARRAY_BUFFER, strip.indices, gl.STATIC_DRAW);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -4697,7 +4699,7 @@ PIXI.CanvasRenderer.prototype.renderStrip = function(strip)
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/
|
||||
*/
|
||||
|
@ -4787,7 +4789,7 @@ PIXI.Strip.prototype.onTextureUpdate = function(event)
|
|||
}
|
||||
// some helper functions..
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/
|
||||
*/
|
||||
|
@ -4963,7 +4965,7 @@ PIXI.Rope.prototype.setTexture = function(texture)
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/
|
||||
*/
|
||||
|
@ -5021,7 +5023,7 @@ PIXI.TilingSprite.prototype.onTextureUpdate = function(event)
|
|||
this.updateFrame = true;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
* based on pixi impact spine implementation made by Eemeli Kelokorpi (@ekelokorpi) https://github.com/ekelokorpi
|
||||
|
@ -6468,7 +6470,7 @@ spine.AtlasAttachmentLoader.prototype = {
|
|||
|
||||
PIXI.AnimCache = {};
|
||||
spine.Bone.yDown = true;
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -6508,7 +6510,7 @@ PIXI.CustomRenderable.prototype.renderWebGL = function(renderGroup, projectionMa
|
|||
// override!
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -6637,7 +6639,7 @@ PIXI.BaseTexture.fromImage = function(imageUrl, crossorigin)
|
|||
|
||||
return baseTexture;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -6826,7 +6828,7 @@ PIXI.Texture.removeTextureFromCache = function(id)
|
|||
// this is more for webGL.. it contains updated frames..
|
||||
PIXI.Texture.frameUpdates = [];
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7009,7 +7011,7 @@ PIXI.RenderTexture.prototype.renderCanvas = function(displayObject, clear)
|
|||
PIXI.texturesToUpdate.push(this.baseTexture);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7108,7 +7110,7 @@ PIXI.AssetLoader.prototype.onAssetLoaded = function()
|
|||
}
|
||||
};
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7237,7 +7239,7 @@ PIXI.JsonLoader.prototype.onError = function () {
|
|||
type: "error",
|
||||
content: this
|
||||
});
|
||||
};
|
||||
};
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7332,7 +7334,7 @@ PIXI.SpriteSheetLoader.prototype.onLoaded = function () {
|
|||
content: this
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7383,7 +7385,7 @@ PIXI.ImageLoader.prototype.onLoaded = function()
|
|||
{
|
||||
this.dispatchEvent({type: "loaded", content: this});
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7512,7 +7514,7 @@ PIXI.BitmapFontLoader.prototype.onLoaded = function()
|
|||
{
|
||||
this.dispatchEvent({type: "loaded", content: this});
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
* based on pixi impact spine implementation made by Eemeli Kelokorpi (@ekelokorpi) https://github.com/ekelokorpi
|
||||
|
@ -7589,7 +7591,7 @@ PIXI.SpineLoader.prototype.onLoaded = function()
|
|||
this.dispatchEvent({type: "loaded", content: this});
|
||||
};
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
/**
|
||||
* @license
|
||||
* Pixi.JS - v1.1.0
|
||||
* Copyright (c) 2012, Mat Groves
|
||||
* http://goodboydigital.com/
|
||||
*
|
||||
* Compiled: 2013-06-19
|
||||
*
|
||||
* Pixi.JS is licensed under the MIT License.
|
||||
* http://www.opensource.org/licenses/mit-license.php
|
||||
*/
|
||||
/**
|
||||
* @license
|
||||
* Pixi.JS - v1.2.0
|
||||
* Copyright (c) 2012, Mat Groves
|
||||
* http://goodboydigital.com/
|
||||
*
|
||||
* Compiled: 2013-06-19
|
||||
*
|
||||
* Pixi.JS is licensed under the MIT License.
|
||||
* http://www.opensource.org/licenses/mit-license.php
|
||||
*/
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -16,7 +16,7 @@
|
|||
(function(){
|
||||
|
||||
var root = this;
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -25,7 +25,7 @@
|
|||
@module PIXI
|
||||
*/
|
||||
var PIXI = PIXI || {};
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -66,7 +66,7 @@ PIXI.Point.prototype.clone = function()
|
|||
// constructor
|
||||
PIXI.Point.constructor = PIXI.Point;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/
|
||||
*/
|
||||
|
@ -123,7 +123,7 @@ PIXI.Rectangle.prototype.clone = function()
|
|||
// constructor
|
||||
PIXI.Rectangle.constructor = PIXI.Rectangle;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Adrien Brault <adrien.brault@gmail.com>
|
||||
*/
|
||||
|
@ -154,7 +154,7 @@ PIXI.Polygon.clone = function()
|
|||
|
||||
PIXI.Polygon.constructor = PIXI.Polygon;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -412,7 +412,7 @@ PIXI.DisplayObject.prototype.updateTransform = function()
|
|||
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -652,7 +652,7 @@ PIXI.DisplayObjectContainer.prototype.updateTransform = function()
|
|||
this.children[i].updateTransform();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -818,7 +818,7 @@ PIXI.Sprite.fromImage = function(imageId)
|
|||
return new PIXI.Sprite(texture);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -943,7 +943,7 @@ PIXI.MovieClip.prototype.updateTransform = function()
|
|||
this.onComplete();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -1207,7 +1207,7 @@ PIXI.Text.prototype.destroy = function(destroyTexture)
|
|||
};
|
||||
|
||||
PIXI.Text.heightCache = {};
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -1363,7 +1363,7 @@ PIXI.BitmapText.prototype.updateTransform = function()
|
|||
PIXI.DisplayObjectContainer.prototype.updateTransform.call(this);
|
||||
};
|
||||
|
||||
PIXI.BitmapText.fonts = {};
|
||||
PIXI.BitmapText.fonts = {};
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -1777,6 +1777,8 @@ PIXI.InteractionManager.prototype.onTouchMove = function(event)
|
|||
|
||||
PIXI.InteractionManager.prototype.onTouchStart = function(event)
|
||||
{
|
||||
event.preventDefault();
|
||||
|
||||
var rect = this.target.view.getBoundingClientRect();
|
||||
|
||||
var changedTouches = event.changedTouches;
|
||||
|
@ -1928,7 +1930,7 @@ PIXI.InteractionData.prototype.getLocalPosition = function(displayObject)
|
|||
PIXI.InteractionData.constructor = PIXI.InteractionData;
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -2045,7 +2047,7 @@ PIXI.Stage.prototype.__removeChild = function(child)
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// http://paulirish.com/2011/requestanimationframe-for-smart-animating/
|
||||
// http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating
|
||||
|
||||
|
@ -2141,7 +2143,7 @@ var AjaxRequest = PIXI.AjaxRequest = function()
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* https://github.com/mrdoob/eventtarget.js/
|
||||
* THankS mr DOob!
|
||||
|
@ -2190,7 +2192,7 @@ PIXI.EventTarget = function () {
|
|||
};
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
|
@ -2423,7 +2425,7 @@ PIXI.mat4.multiply = function (mat, mat2, dest)
|
|||
|
||||
return dest;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -2457,7 +2459,7 @@ PIXI.autoDetectRenderer = function(width, height, view, transparent)
|
|||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
|
@ -2512,7 +2514,7 @@ PIXI._CompileShader = function(gl, shaderSrc, shaderType)
|
|||
|
||||
return shader;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -2858,7 +2860,7 @@ PIXI.WebGLRenderer.prototype.handleContextRestored = function(event)
|
|||
this.contextLost = false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -3442,7 +3444,7 @@ PIXI.WebGLBatch.prototype.render = function(start, end)
|
|||
gl.drawElements(gl.TRIANGLES, len * 6, gl.UNSIGNED_SHORT, start * 2 * 6 );
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -4352,7 +4354,7 @@ PIXI.WebGLRenderGroup.prototype.initStrip = function(strip)
|
|||
gl.bufferData(gl.ELEMENT_ARRAY_BUFFER, strip.indices, gl.STATIC_DRAW);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -4697,7 +4699,7 @@ PIXI.CanvasRenderer.prototype.renderStrip = function(strip)
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/
|
||||
*/
|
||||
|
@ -4787,7 +4789,7 @@ PIXI.Strip.prototype.onTextureUpdate = function(event)
|
|||
}
|
||||
// some helper functions..
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/
|
||||
*/
|
||||
|
@ -4963,7 +4965,7 @@ PIXI.Rope.prototype.setTexture = function(texture)
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/
|
||||
*/
|
||||
|
@ -5021,7 +5023,7 @@ PIXI.TilingSprite.prototype.onTextureUpdate = function(event)
|
|||
this.updateFrame = true;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
* based on pixi impact spine implementation made by Eemeli Kelokorpi (@ekelokorpi) https://github.com/ekelokorpi
|
||||
|
@ -6468,7 +6470,7 @@ spine.AtlasAttachmentLoader.prototype = {
|
|||
|
||||
PIXI.AnimCache = {};
|
||||
spine.Bone.yDown = true;
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -6508,7 +6510,7 @@ PIXI.CustomRenderable.prototype.renderWebGL = function(renderGroup, projectionMa
|
|||
// override!
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -6637,7 +6639,7 @@ PIXI.BaseTexture.fromImage = function(imageUrl, crossorigin)
|
|||
|
||||
return baseTexture;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -6826,7 +6828,7 @@ PIXI.Texture.removeTextureFromCache = function(id)
|
|||
// this is more for webGL.. it contains updated frames..
|
||||
PIXI.Texture.frameUpdates = [];
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7009,7 +7011,7 @@ PIXI.RenderTexture.prototype.renderCanvas = function(displayObject, clear)
|
|||
PIXI.texturesToUpdate.push(this.baseTexture);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7108,7 +7110,7 @@ PIXI.AssetLoader.prototype.onAssetLoaded = function()
|
|||
}
|
||||
};
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7237,7 +7239,7 @@ PIXI.JsonLoader.prototype.onError = function () {
|
|||
type: "error",
|
||||
content: this
|
||||
});
|
||||
};
|
||||
};
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7332,7 +7334,7 @@ PIXI.SpriteSheetLoader.prototype.onLoaded = function () {
|
|||
content: this
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7383,7 +7385,7 @@ PIXI.ImageLoader.prototype.onLoaded = function()
|
|||
{
|
||||
this.dispatchEvent({type: "loaded", content: this});
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7512,7 +7514,7 @@ PIXI.BitmapFontLoader.prototype.onLoaded = function()
|
|||
{
|
||||
this.dispatchEvent({type: "loaded", content: this});
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
* based on pixi impact spine implementation made by Eemeli Kelokorpi (@ekelokorpi) https://github.com/ekelokorpi
|
||||
|
@ -7589,7 +7591,7 @@ PIXI.SpineLoader.prototype.onLoaded = function()
|
|||
this.dispatchEvent({type: "loaded", content: this});
|
||||
};
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
/**
|
||||
* @license
|
||||
* Pixi.JS - v1.1.0
|
||||
* Copyright (c) 2012, Mat Groves
|
||||
* http://goodboydigital.com/
|
||||
*
|
||||
* Compiled: 2013-06-19
|
||||
*
|
||||
* Pixi.JS is licensed under the MIT License.
|
||||
* http://www.opensource.org/licenses/mit-license.php
|
||||
*/
|
||||
/**
|
||||
* @license
|
||||
* Pixi.JS - v1.2.0
|
||||
* Copyright (c) 2012, Mat Groves
|
||||
* http://goodboydigital.com/
|
||||
*
|
||||
* Compiled: 2013-06-19
|
||||
*
|
||||
* Pixi.JS is licensed under the MIT License.
|
||||
* http://www.opensource.org/licenses/mit-license.php
|
||||
*/
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -16,7 +16,7 @@
|
|||
(function(){
|
||||
|
||||
var root = this;
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -25,7 +25,7 @@
|
|||
@module PIXI
|
||||
*/
|
||||
var PIXI = PIXI || {};
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -66,7 +66,7 @@ PIXI.Point.prototype.clone = function()
|
|||
// constructor
|
||||
PIXI.Point.constructor = PIXI.Point;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/
|
||||
*/
|
||||
|
@ -123,7 +123,7 @@ PIXI.Rectangle.prototype.clone = function()
|
|||
// constructor
|
||||
PIXI.Rectangle.constructor = PIXI.Rectangle;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Adrien Brault <adrien.brault@gmail.com>
|
||||
*/
|
||||
|
@ -154,7 +154,7 @@ PIXI.Polygon.clone = function()
|
|||
|
||||
PIXI.Polygon.constructor = PIXI.Polygon;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -412,7 +412,7 @@ PIXI.DisplayObject.prototype.updateTransform = function()
|
|||
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -652,7 +652,7 @@ PIXI.DisplayObjectContainer.prototype.updateTransform = function()
|
|||
this.children[i].updateTransform();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -818,7 +818,7 @@ PIXI.Sprite.fromImage = function(imageId)
|
|||
return new PIXI.Sprite(texture);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -943,7 +943,7 @@ PIXI.MovieClip.prototype.updateTransform = function()
|
|||
this.onComplete();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -1207,7 +1207,7 @@ PIXI.Text.prototype.destroy = function(destroyTexture)
|
|||
};
|
||||
|
||||
PIXI.Text.heightCache = {};
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -1363,7 +1363,7 @@ PIXI.BitmapText.prototype.updateTransform = function()
|
|||
PIXI.DisplayObjectContainer.prototype.updateTransform.call(this);
|
||||
};
|
||||
|
||||
PIXI.BitmapText.fonts = {};
|
||||
PIXI.BitmapText.fonts = {};
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -1777,6 +1777,8 @@ PIXI.InteractionManager.prototype.onTouchMove = function(event)
|
|||
|
||||
PIXI.InteractionManager.prototype.onTouchStart = function(event)
|
||||
{
|
||||
event.preventDefault();
|
||||
|
||||
var rect = this.target.view.getBoundingClientRect();
|
||||
|
||||
var changedTouches = event.changedTouches;
|
||||
|
@ -1928,7 +1930,7 @@ PIXI.InteractionData.prototype.getLocalPosition = function(displayObject)
|
|||
PIXI.InteractionData.constructor = PIXI.InteractionData;
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -2045,7 +2047,7 @@ PIXI.Stage.prototype.__removeChild = function(child)
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// http://paulirish.com/2011/requestanimationframe-for-smart-animating/
|
||||
// http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating
|
||||
|
||||
|
@ -2141,7 +2143,7 @@ var AjaxRequest = PIXI.AjaxRequest = function()
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* https://github.com/mrdoob/eventtarget.js/
|
||||
* THankS mr DOob!
|
||||
|
@ -2190,7 +2192,7 @@ PIXI.EventTarget = function () {
|
|||
};
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
|
@ -2423,7 +2425,7 @@ PIXI.mat4.multiply = function (mat, mat2, dest)
|
|||
|
||||
return dest;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -2457,7 +2459,7 @@ PIXI.autoDetectRenderer = function(width, height, view, transparent)
|
|||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
|
@ -2512,7 +2514,7 @@ PIXI._CompileShader = function(gl, shaderSrc, shaderType)
|
|||
|
||||
return shader;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -2858,7 +2860,7 @@ PIXI.WebGLRenderer.prototype.handleContextRestored = function(event)
|
|||
this.contextLost = false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -3442,7 +3444,7 @@ PIXI.WebGLBatch.prototype.render = function(start, end)
|
|||
gl.drawElements(gl.TRIANGLES, len * 6, gl.UNSIGNED_SHORT, start * 2 * 6 );
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -4352,7 +4354,7 @@ PIXI.WebGLRenderGroup.prototype.initStrip = function(strip)
|
|||
gl.bufferData(gl.ELEMENT_ARRAY_BUFFER, strip.indices, gl.STATIC_DRAW);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -4697,7 +4699,7 @@ PIXI.CanvasRenderer.prototype.renderStrip = function(strip)
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/
|
||||
*/
|
||||
|
@ -4787,7 +4789,7 @@ PIXI.Strip.prototype.onTextureUpdate = function(event)
|
|||
}
|
||||
// some helper functions..
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/
|
||||
*/
|
||||
|
@ -4963,7 +4965,7 @@ PIXI.Rope.prototype.setTexture = function(texture)
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/
|
||||
*/
|
||||
|
@ -5021,7 +5023,7 @@ PIXI.TilingSprite.prototype.onTextureUpdate = function(event)
|
|||
this.updateFrame = true;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
* based on pixi impact spine implementation made by Eemeli Kelokorpi (@ekelokorpi) https://github.com/ekelokorpi
|
||||
|
@ -6468,7 +6470,7 @@ spine.AtlasAttachmentLoader.prototype = {
|
|||
|
||||
PIXI.AnimCache = {};
|
||||
spine.Bone.yDown = true;
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -6508,7 +6510,7 @@ PIXI.CustomRenderable.prototype.renderWebGL = function(renderGroup, projectionMa
|
|||
// override!
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -6637,7 +6639,7 @@ PIXI.BaseTexture.fromImage = function(imageUrl, crossorigin)
|
|||
|
||||
return baseTexture;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -6826,7 +6828,7 @@ PIXI.Texture.removeTextureFromCache = function(id)
|
|||
// this is more for webGL.. it contains updated frames..
|
||||
PIXI.Texture.frameUpdates = [];
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7009,7 +7011,7 @@ PIXI.RenderTexture.prototype.renderCanvas = function(displayObject, clear)
|
|||
PIXI.texturesToUpdate.push(this.baseTexture);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7108,7 +7110,7 @@ PIXI.AssetLoader.prototype.onAssetLoaded = function()
|
|||
}
|
||||
};
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7237,7 +7239,7 @@ PIXI.JsonLoader.prototype.onError = function () {
|
|||
type: "error",
|
||||
content: this
|
||||
});
|
||||
};
|
||||
};
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7332,7 +7334,7 @@ PIXI.SpriteSheetLoader.prototype.onLoaded = function () {
|
|||
content: this
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7383,7 +7385,7 @@ PIXI.ImageLoader.prototype.onLoaded = function()
|
|||
{
|
||||
this.dispatchEvent({type: "loaded", content: this});
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7512,7 +7514,7 @@ PIXI.BitmapFontLoader.prototype.onLoaded = function()
|
|||
{
|
||||
this.dispatchEvent({type: "loaded", content: this});
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
* based on pixi impact spine implementation made by Eemeli Kelokorpi (@ekelokorpi) https://github.com/ekelokorpi
|
||||
|
@ -7589,7 +7591,7 @@ PIXI.SpineLoader.prototype.onLoaded = function()
|
|||
this.dispatchEvent({type: "loaded", content: this});
|
||||
};
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
/**
|
||||
* @license
|
||||
* Pixi.JS - v1.1.0
|
||||
* Copyright (c) 2012, Mat Groves
|
||||
* http://goodboydigital.com/
|
||||
*
|
||||
* Compiled: 2013-06-19
|
||||
*
|
||||
* Pixi.JS is licensed under the MIT License.
|
||||
* http://www.opensource.org/licenses/mit-license.php
|
||||
*/
|
||||
/**
|
||||
* @license
|
||||
* Pixi.JS - v1.2.0
|
||||
* Copyright (c) 2012, Mat Groves
|
||||
* http://goodboydigital.com/
|
||||
*
|
||||
* Compiled: 2013-06-19
|
||||
*
|
||||
* Pixi.JS is licensed under the MIT License.
|
||||
* http://www.opensource.org/licenses/mit-license.php
|
||||
*/
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -16,7 +16,7 @@
|
|||
(function(){
|
||||
|
||||
var root = this;
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -25,7 +25,7 @@
|
|||
@module PIXI
|
||||
*/
|
||||
var PIXI = PIXI || {};
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -66,7 +66,7 @@ PIXI.Point.prototype.clone = function()
|
|||
// constructor
|
||||
PIXI.Point.constructor = PIXI.Point;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/
|
||||
*/
|
||||
|
@ -123,7 +123,7 @@ PIXI.Rectangle.prototype.clone = function()
|
|||
// constructor
|
||||
PIXI.Rectangle.constructor = PIXI.Rectangle;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Adrien Brault <adrien.brault@gmail.com>
|
||||
*/
|
||||
|
@ -154,7 +154,7 @@ PIXI.Polygon.clone = function()
|
|||
|
||||
PIXI.Polygon.constructor = PIXI.Polygon;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -412,7 +412,7 @@ PIXI.DisplayObject.prototype.updateTransform = function()
|
|||
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -652,7 +652,7 @@ PIXI.DisplayObjectContainer.prototype.updateTransform = function()
|
|||
this.children[i].updateTransform();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -818,7 +818,7 @@ PIXI.Sprite.fromImage = function(imageId)
|
|||
return new PIXI.Sprite(texture);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -943,7 +943,7 @@ PIXI.MovieClip.prototype.updateTransform = function()
|
|||
this.onComplete();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -1207,7 +1207,7 @@ PIXI.Text.prototype.destroy = function(destroyTexture)
|
|||
};
|
||||
|
||||
PIXI.Text.heightCache = {};
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -1363,7 +1363,7 @@ PIXI.BitmapText.prototype.updateTransform = function()
|
|||
PIXI.DisplayObjectContainer.prototype.updateTransform.call(this);
|
||||
};
|
||||
|
||||
PIXI.BitmapText.fonts = {};
|
||||
PIXI.BitmapText.fonts = {};
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -1777,6 +1777,8 @@ PIXI.InteractionManager.prototype.onTouchMove = function(event)
|
|||
|
||||
PIXI.InteractionManager.prototype.onTouchStart = function(event)
|
||||
{
|
||||
event.preventDefault();
|
||||
|
||||
var rect = this.target.view.getBoundingClientRect();
|
||||
|
||||
var changedTouches = event.changedTouches;
|
||||
|
@ -1928,7 +1930,7 @@ PIXI.InteractionData.prototype.getLocalPosition = function(displayObject)
|
|||
PIXI.InteractionData.constructor = PIXI.InteractionData;
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -2045,7 +2047,7 @@ PIXI.Stage.prototype.__removeChild = function(child)
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// http://paulirish.com/2011/requestanimationframe-for-smart-animating/
|
||||
// http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating
|
||||
|
||||
|
@ -2141,7 +2143,7 @@ var AjaxRequest = PIXI.AjaxRequest = function()
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* https://github.com/mrdoob/eventtarget.js/
|
||||
* THankS mr DOob!
|
||||
|
@ -2190,7 +2192,7 @@ PIXI.EventTarget = function () {
|
|||
};
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
|
@ -2423,7 +2425,7 @@ PIXI.mat4.multiply = function (mat, mat2, dest)
|
|||
|
||||
return dest;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -2457,7 +2459,7 @@ PIXI.autoDetectRenderer = function(width, height, view, transparent)
|
|||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
|
@ -2512,7 +2514,7 @@ PIXI._CompileShader = function(gl, shaderSrc, shaderType)
|
|||
|
||||
return shader;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -2858,7 +2860,7 @@ PIXI.WebGLRenderer.prototype.handleContextRestored = function(event)
|
|||
this.contextLost = false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -3442,7 +3444,7 @@ PIXI.WebGLBatch.prototype.render = function(start, end)
|
|||
gl.drawElements(gl.TRIANGLES, len * 6, gl.UNSIGNED_SHORT, start * 2 * 6 );
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -4352,7 +4354,7 @@ PIXI.WebGLRenderGroup.prototype.initStrip = function(strip)
|
|||
gl.bufferData(gl.ELEMENT_ARRAY_BUFFER, strip.indices, gl.STATIC_DRAW);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -4697,7 +4699,7 @@ PIXI.CanvasRenderer.prototype.renderStrip = function(strip)
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/
|
||||
*/
|
||||
|
@ -4787,7 +4789,7 @@ PIXI.Strip.prototype.onTextureUpdate = function(event)
|
|||
}
|
||||
// some helper functions..
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/
|
||||
*/
|
||||
|
@ -4963,7 +4965,7 @@ PIXI.Rope.prototype.setTexture = function(texture)
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/
|
||||
*/
|
||||
|
@ -5021,7 +5023,7 @@ PIXI.TilingSprite.prototype.onTextureUpdate = function(event)
|
|||
this.updateFrame = true;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
* based on pixi impact spine implementation made by Eemeli Kelokorpi (@ekelokorpi) https://github.com/ekelokorpi
|
||||
|
@ -6468,7 +6470,7 @@ spine.AtlasAttachmentLoader.prototype = {
|
|||
|
||||
PIXI.AnimCache = {};
|
||||
spine.Bone.yDown = true;
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -6508,7 +6510,7 @@ PIXI.CustomRenderable.prototype.renderWebGL = function(renderGroup, projectionMa
|
|||
// override!
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -6637,7 +6639,7 @@ PIXI.BaseTexture.fromImage = function(imageUrl, crossorigin)
|
|||
|
||||
return baseTexture;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -6826,7 +6828,7 @@ PIXI.Texture.removeTextureFromCache = function(id)
|
|||
// this is more for webGL.. it contains updated frames..
|
||||
PIXI.Texture.frameUpdates = [];
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7009,7 +7011,7 @@ PIXI.RenderTexture.prototype.renderCanvas = function(displayObject, clear)
|
|||
PIXI.texturesToUpdate.push(this.baseTexture);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7108,7 +7110,7 @@ PIXI.AssetLoader.prototype.onAssetLoaded = function()
|
|||
}
|
||||
};
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7237,7 +7239,7 @@ PIXI.JsonLoader.prototype.onError = function () {
|
|||
type: "error",
|
||||
content: this
|
||||
});
|
||||
};
|
||||
};
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7332,7 +7334,7 @@ PIXI.SpriteSheetLoader.prototype.onLoaded = function () {
|
|||
content: this
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7383,7 +7385,7 @@ PIXI.ImageLoader.prototype.onLoaded = function()
|
|||
{
|
||||
this.dispatchEvent({type: "loaded", content: this});
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7512,7 +7514,7 @@ PIXI.BitmapFontLoader.prototype.onLoaded = function()
|
|||
{
|
||||
this.dispatchEvent({type: "loaded", content: this});
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
* based on pixi impact spine implementation made by Eemeli Kelokorpi (@ekelokorpi) https://github.com/ekelokorpi
|
||||
|
@ -7589,7 +7591,7 @@ PIXI.SpineLoader.prototype.onLoaded = function()
|
|||
this.dispatchEvent({type: "loaded", content: this});
|
||||
};
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
/**
|
||||
* @license
|
||||
* Pixi.JS - v1.1.0
|
||||
* Copyright (c) 2012, Mat Groves
|
||||
* http://goodboydigital.com/
|
||||
*
|
||||
* Compiled: 2013-06-19
|
||||
*
|
||||
* Pixi.JS is licensed under the MIT License.
|
||||
* http://www.opensource.org/licenses/mit-license.php
|
||||
*/
|
||||
/**
|
||||
* @license
|
||||
* Pixi.JS - v1.2.0
|
||||
* Copyright (c) 2012, Mat Groves
|
||||
* http://goodboydigital.com/
|
||||
*
|
||||
* Compiled: 2013-06-19
|
||||
*
|
||||
* Pixi.JS is licensed under the MIT License.
|
||||
* http://www.opensource.org/licenses/mit-license.php
|
||||
*/
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -16,7 +16,7 @@
|
|||
(function(){
|
||||
|
||||
var root = this;
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -25,7 +25,7 @@
|
|||
@module PIXI
|
||||
*/
|
||||
var PIXI = PIXI || {};
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -66,7 +66,7 @@ PIXI.Point.prototype.clone = function()
|
|||
// constructor
|
||||
PIXI.Point.constructor = PIXI.Point;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/
|
||||
*/
|
||||
|
@ -123,7 +123,7 @@ PIXI.Rectangle.prototype.clone = function()
|
|||
// constructor
|
||||
PIXI.Rectangle.constructor = PIXI.Rectangle;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Adrien Brault <adrien.brault@gmail.com>
|
||||
*/
|
||||
|
@ -154,7 +154,7 @@ PIXI.Polygon.clone = function()
|
|||
|
||||
PIXI.Polygon.constructor = PIXI.Polygon;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -412,7 +412,7 @@ PIXI.DisplayObject.prototype.updateTransform = function()
|
|||
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -652,7 +652,7 @@ PIXI.DisplayObjectContainer.prototype.updateTransform = function()
|
|||
this.children[i].updateTransform();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -818,7 +818,7 @@ PIXI.Sprite.fromImage = function(imageId)
|
|||
return new PIXI.Sprite(texture);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -943,7 +943,7 @@ PIXI.MovieClip.prototype.updateTransform = function()
|
|||
this.onComplete();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -1207,7 +1207,7 @@ PIXI.Text.prototype.destroy = function(destroyTexture)
|
|||
};
|
||||
|
||||
PIXI.Text.heightCache = {};
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -1363,7 +1363,7 @@ PIXI.BitmapText.prototype.updateTransform = function()
|
|||
PIXI.DisplayObjectContainer.prototype.updateTransform.call(this);
|
||||
};
|
||||
|
||||
PIXI.BitmapText.fonts = {};
|
||||
PIXI.BitmapText.fonts = {};
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -1777,6 +1777,8 @@ PIXI.InteractionManager.prototype.onTouchMove = function(event)
|
|||
|
||||
PIXI.InteractionManager.prototype.onTouchStart = function(event)
|
||||
{
|
||||
event.preventDefault();
|
||||
|
||||
var rect = this.target.view.getBoundingClientRect();
|
||||
|
||||
var changedTouches = event.changedTouches;
|
||||
|
@ -1928,7 +1930,7 @@ PIXI.InteractionData.prototype.getLocalPosition = function(displayObject)
|
|||
PIXI.InteractionData.constructor = PIXI.InteractionData;
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -2045,7 +2047,7 @@ PIXI.Stage.prototype.__removeChild = function(child)
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// http://paulirish.com/2011/requestanimationframe-for-smart-animating/
|
||||
// http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating
|
||||
|
||||
|
@ -2141,7 +2143,7 @@ var AjaxRequest = PIXI.AjaxRequest = function()
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* https://github.com/mrdoob/eventtarget.js/
|
||||
* THankS mr DOob!
|
||||
|
@ -2190,7 +2192,7 @@ PIXI.EventTarget = function () {
|
|||
};
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
|
@ -2423,7 +2425,7 @@ PIXI.mat4.multiply = function (mat, mat2, dest)
|
|||
|
||||
return dest;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -2457,7 +2459,7 @@ PIXI.autoDetectRenderer = function(width, height, view, transparent)
|
|||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
|
@ -2512,7 +2514,7 @@ PIXI._CompileShader = function(gl, shaderSrc, shaderType)
|
|||
|
||||
return shader;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -2858,7 +2860,7 @@ PIXI.WebGLRenderer.prototype.handleContextRestored = function(event)
|
|||
this.contextLost = false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -3442,7 +3444,7 @@ PIXI.WebGLBatch.prototype.render = function(start, end)
|
|||
gl.drawElements(gl.TRIANGLES, len * 6, gl.UNSIGNED_SHORT, start * 2 * 6 );
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -4352,7 +4354,7 @@ PIXI.WebGLRenderGroup.prototype.initStrip = function(strip)
|
|||
gl.bufferData(gl.ELEMENT_ARRAY_BUFFER, strip.indices, gl.STATIC_DRAW);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -4697,7 +4699,7 @@ PIXI.CanvasRenderer.prototype.renderStrip = function(strip)
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/
|
||||
*/
|
||||
|
@ -4787,7 +4789,7 @@ PIXI.Strip.prototype.onTextureUpdate = function(event)
|
|||
}
|
||||
// some helper functions..
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/
|
||||
*/
|
||||
|
@ -4963,7 +4965,7 @@ PIXI.Rope.prototype.setTexture = function(texture)
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/
|
||||
*/
|
||||
|
@ -5021,7 +5023,7 @@ PIXI.TilingSprite.prototype.onTextureUpdate = function(event)
|
|||
this.updateFrame = true;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
* based on pixi impact spine implementation made by Eemeli Kelokorpi (@ekelokorpi) https://github.com/ekelokorpi
|
||||
|
@ -6468,7 +6470,7 @@ spine.AtlasAttachmentLoader.prototype = {
|
|||
|
||||
PIXI.AnimCache = {};
|
||||
spine.Bone.yDown = true;
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -6508,7 +6510,7 @@ PIXI.CustomRenderable.prototype.renderWebGL = function(renderGroup, projectionMa
|
|||
// override!
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -6637,7 +6639,7 @@ PIXI.BaseTexture.fromImage = function(imageUrl, crossorigin)
|
|||
|
||||
return baseTexture;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -6826,7 +6828,7 @@ PIXI.Texture.removeTextureFromCache = function(id)
|
|||
// this is more for webGL.. it contains updated frames..
|
||||
PIXI.Texture.frameUpdates = [];
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7009,7 +7011,7 @@ PIXI.RenderTexture.prototype.renderCanvas = function(displayObject, clear)
|
|||
PIXI.texturesToUpdate.push(this.baseTexture);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7108,7 +7110,7 @@ PIXI.AssetLoader.prototype.onAssetLoaded = function()
|
|||
}
|
||||
};
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7237,7 +7239,7 @@ PIXI.JsonLoader.prototype.onError = function () {
|
|||
type: "error",
|
||||
content: this
|
||||
});
|
||||
};
|
||||
};
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7332,7 +7334,7 @@ PIXI.SpriteSheetLoader.prototype.onLoaded = function () {
|
|||
content: this
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7383,7 +7385,7 @@ PIXI.ImageLoader.prototype.onLoaded = function()
|
|||
{
|
||||
this.dispatchEvent({type: "loaded", content: this});
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7512,7 +7514,7 @@ PIXI.BitmapFontLoader.prototype.onLoaded = function()
|
|||
{
|
||||
this.dispatchEvent({type: "loaded", content: this});
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
* based on pixi impact spine implementation made by Eemeli Kelokorpi (@ekelokorpi) https://github.com/ekelokorpi
|
||||
|
@ -7589,7 +7591,7 @@ PIXI.SpineLoader.prototype.onLoaded = function()
|
|||
this.dispatchEvent({type: "loaded", content: this});
|
||||
};
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
/**
|
||||
* @license
|
||||
* Pixi.JS - v1.1.0
|
||||
* Copyright (c) 2012, Mat Groves
|
||||
* http://goodboydigital.com/
|
||||
*
|
||||
* Compiled: 2013-06-19
|
||||
*
|
||||
* Pixi.JS is licensed under the MIT License.
|
||||
* http://www.opensource.org/licenses/mit-license.php
|
||||
*/
|
||||
/**
|
||||
* @license
|
||||
* Pixi.JS - v1.2.0
|
||||
* Copyright (c) 2012, Mat Groves
|
||||
* http://goodboydigital.com/
|
||||
*
|
||||
* Compiled: 2013-06-19
|
||||
*
|
||||
* Pixi.JS is licensed under the MIT License.
|
||||
* http://www.opensource.org/licenses/mit-license.php
|
||||
*/
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -16,7 +16,7 @@
|
|||
(function(){
|
||||
|
||||
var root = this;
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -25,7 +25,7 @@
|
|||
@module PIXI
|
||||
*/
|
||||
var PIXI = PIXI || {};
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -66,7 +66,7 @@ PIXI.Point.prototype.clone = function()
|
|||
// constructor
|
||||
PIXI.Point.constructor = PIXI.Point;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/
|
||||
*/
|
||||
|
@ -123,7 +123,7 @@ PIXI.Rectangle.prototype.clone = function()
|
|||
// constructor
|
||||
PIXI.Rectangle.constructor = PIXI.Rectangle;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Adrien Brault <adrien.brault@gmail.com>
|
||||
*/
|
||||
|
@ -154,7 +154,7 @@ PIXI.Polygon.clone = function()
|
|||
|
||||
PIXI.Polygon.constructor = PIXI.Polygon;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -412,7 +412,7 @@ PIXI.DisplayObject.prototype.updateTransform = function()
|
|||
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -652,7 +652,7 @@ PIXI.DisplayObjectContainer.prototype.updateTransform = function()
|
|||
this.children[i].updateTransform();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -818,7 +818,7 @@ PIXI.Sprite.fromImage = function(imageId)
|
|||
return new PIXI.Sprite(texture);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -943,7 +943,7 @@ PIXI.MovieClip.prototype.updateTransform = function()
|
|||
this.onComplete();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -1207,7 +1207,7 @@ PIXI.Text.prototype.destroy = function(destroyTexture)
|
|||
};
|
||||
|
||||
PIXI.Text.heightCache = {};
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -1363,7 +1363,7 @@ PIXI.BitmapText.prototype.updateTransform = function()
|
|||
PIXI.DisplayObjectContainer.prototype.updateTransform.call(this);
|
||||
};
|
||||
|
||||
PIXI.BitmapText.fonts = {};
|
||||
PIXI.BitmapText.fonts = {};
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -1777,6 +1777,8 @@ PIXI.InteractionManager.prototype.onTouchMove = function(event)
|
|||
|
||||
PIXI.InteractionManager.prototype.onTouchStart = function(event)
|
||||
{
|
||||
event.preventDefault();
|
||||
|
||||
var rect = this.target.view.getBoundingClientRect();
|
||||
|
||||
var changedTouches = event.changedTouches;
|
||||
|
@ -1928,7 +1930,7 @@ PIXI.InteractionData.prototype.getLocalPosition = function(displayObject)
|
|||
PIXI.InteractionData.constructor = PIXI.InteractionData;
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -2045,7 +2047,7 @@ PIXI.Stage.prototype.__removeChild = function(child)
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// http://paulirish.com/2011/requestanimationframe-for-smart-animating/
|
||||
// http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating
|
||||
|
||||
|
@ -2141,7 +2143,7 @@ var AjaxRequest = PIXI.AjaxRequest = function()
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* https://github.com/mrdoob/eventtarget.js/
|
||||
* THankS mr DOob!
|
||||
|
@ -2190,7 +2192,7 @@ PIXI.EventTarget = function () {
|
|||
};
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
|
@ -2423,7 +2425,7 @@ PIXI.mat4.multiply = function (mat, mat2, dest)
|
|||
|
||||
return dest;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -2457,7 +2459,7 @@ PIXI.autoDetectRenderer = function(width, height, view, transparent)
|
|||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
|
@ -2512,7 +2514,7 @@ PIXI._CompileShader = function(gl, shaderSrc, shaderType)
|
|||
|
||||
return shader;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -2858,7 +2860,7 @@ PIXI.WebGLRenderer.prototype.handleContextRestored = function(event)
|
|||
this.contextLost = false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -3442,7 +3444,7 @@ PIXI.WebGLBatch.prototype.render = function(start, end)
|
|||
gl.drawElements(gl.TRIANGLES, len * 6, gl.UNSIGNED_SHORT, start * 2 * 6 );
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -4352,7 +4354,7 @@ PIXI.WebGLRenderGroup.prototype.initStrip = function(strip)
|
|||
gl.bufferData(gl.ELEMENT_ARRAY_BUFFER, strip.indices, gl.STATIC_DRAW);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -4697,7 +4699,7 @@ PIXI.CanvasRenderer.prototype.renderStrip = function(strip)
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/
|
||||
*/
|
||||
|
@ -4787,7 +4789,7 @@ PIXI.Strip.prototype.onTextureUpdate = function(event)
|
|||
}
|
||||
// some helper functions..
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/
|
||||
*/
|
||||
|
@ -4963,7 +4965,7 @@ PIXI.Rope.prototype.setTexture = function(texture)
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/
|
||||
*/
|
||||
|
@ -5021,7 +5023,7 @@ PIXI.TilingSprite.prototype.onTextureUpdate = function(event)
|
|||
this.updateFrame = true;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
* based on pixi impact spine implementation made by Eemeli Kelokorpi (@ekelokorpi) https://github.com/ekelokorpi
|
||||
|
@ -6468,7 +6470,7 @@ spine.AtlasAttachmentLoader.prototype = {
|
|||
|
||||
PIXI.AnimCache = {};
|
||||
spine.Bone.yDown = true;
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -6508,7 +6510,7 @@ PIXI.CustomRenderable.prototype.renderWebGL = function(renderGroup, projectionMa
|
|||
// override!
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -6637,7 +6639,7 @@ PIXI.BaseTexture.fromImage = function(imageUrl, crossorigin)
|
|||
|
||||
return baseTexture;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -6826,7 +6828,7 @@ PIXI.Texture.removeTextureFromCache = function(id)
|
|||
// this is more for webGL.. it contains updated frames..
|
||||
PIXI.Texture.frameUpdates = [];
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7009,7 +7011,7 @@ PIXI.RenderTexture.prototype.renderCanvas = function(displayObject, clear)
|
|||
PIXI.texturesToUpdate.push(this.baseTexture);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7108,7 +7110,7 @@ PIXI.AssetLoader.prototype.onAssetLoaded = function()
|
|||
}
|
||||
};
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7237,7 +7239,7 @@ PIXI.JsonLoader.prototype.onError = function () {
|
|||
type: "error",
|
||||
content: this
|
||||
});
|
||||
};
|
||||
};
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7332,7 +7334,7 @@ PIXI.SpriteSheetLoader.prototype.onLoaded = function () {
|
|||
content: this
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7383,7 +7385,7 @@ PIXI.ImageLoader.prototype.onLoaded = function()
|
|||
{
|
||||
this.dispatchEvent({type: "loaded", content: this});
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7512,7 +7514,7 @@ PIXI.BitmapFontLoader.prototype.onLoaded = function()
|
|||
{
|
||||
this.dispatchEvent({type: "loaded", content: this});
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
* based on pixi impact spine implementation made by Eemeli Kelokorpi (@ekelokorpi) https://github.com/ekelokorpi
|
||||
|
@ -7589,7 +7591,7 @@ PIXI.SpineLoader.prototype.onLoaded = function()
|
|||
this.dispatchEvent({type: "loaded", content: this});
|
||||
};
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
/**
|
||||
* @license
|
||||
* Pixi.JS - v1.1.0
|
||||
* Copyright (c) 2012, Mat Groves
|
||||
* http://goodboydigital.com/
|
||||
*
|
||||
* Compiled: 2013-06-19
|
||||
*
|
||||
* Pixi.JS is licensed under the MIT License.
|
||||
* http://www.opensource.org/licenses/mit-license.php
|
||||
*/
|
||||
/**
|
||||
* @license
|
||||
* Pixi.JS - v1.2.0
|
||||
* Copyright (c) 2012, Mat Groves
|
||||
* http://goodboydigital.com/
|
||||
*
|
||||
* Compiled: 2013-06-19
|
||||
*
|
||||
* Pixi.JS is licensed under the MIT License.
|
||||
* http://www.opensource.org/licenses/mit-license.php
|
||||
*/
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -16,7 +16,7 @@
|
|||
(function(){
|
||||
|
||||
var root = this;
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -25,7 +25,7 @@
|
|||
@module PIXI
|
||||
*/
|
||||
var PIXI = PIXI || {};
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -66,7 +66,7 @@ PIXI.Point.prototype.clone = function()
|
|||
// constructor
|
||||
PIXI.Point.constructor = PIXI.Point;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/
|
||||
*/
|
||||
|
@ -123,7 +123,7 @@ PIXI.Rectangle.prototype.clone = function()
|
|||
// constructor
|
||||
PIXI.Rectangle.constructor = PIXI.Rectangle;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Adrien Brault <adrien.brault@gmail.com>
|
||||
*/
|
||||
|
@ -154,7 +154,7 @@ PIXI.Polygon.clone = function()
|
|||
|
||||
PIXI.Polygon.constructor = PIXI.Polygon;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -412,7 +412,7 @@ PIXI.DisplayObject.prototype.updateTransform = function()
|
|||
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -652,7 +652,7 @@ PIXI.DisplayObjectContainer.prototype.updateTransform = function()
|
|||
this.children[i].updateTransform();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -818,7 +818,7 @@ PIXI.Sprite.fromImage = function(imageId)
|
|||
return new PIXI.Sprite(texture);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -943,7 +943,7 @@ PIXI.MovieClip.prototype.updateTransform = function()
|
|||
this.onComplete();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -1207,7 +1207,7 @@ PIXI.Text.prototype.destroy = function(destroyTexture)
|
|||
};
|
||||
|
||||
PIXI.Text.heightCache = {};
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -1363,7 +1363,7 @@ PIXI.BitmapText.prototype.updateTransform = function()
|
|||
PIXI.DisplayObjectContainer.prototype.updateTransform.call(this);
|
||||
};
|
||||
|
||||
PIXI.BitmapText.fonts = {};
|
||||
PIXI.BitmapText.fonts = {};
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -1777,6 +1777,8 @@ PIXI.InteractionManager.prototype.onTouchMove = function(event)
|
|||
|
||||
PIXI.InteractionManager.prototype.onTouchStart = function(event)
|
||||
{
|
||||
event.preventDefault();
|
||||
|
||||
var rect = this.target.view.getBoundingClientRect();
|
||||
|
||||
var changedTouches = event.changedTouches;
|
||||
|
@ -1928,7 +1930,7 @@ PIXI.InteractionData.prototype.getLocalPosition = function(displayObject)
|
|||
PIXI.InteractionData.constructor = PIXI.InteractionData;
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -2045,7 +2047,7 @@ PIXI.Stage.prototype.__removeChild = function(child)
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// http://paulirish.com/2011/requestanimationframe-for-smart-animating/
|
||||
// http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating
|
||||
|
||||
|
@ -2141,7 +2143,7 @@ var AjaxRequest = PIXI.AjaxRequest = function()
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* https://github.com/mrdoob/eventtarget.js/
|
||||
* THankS mr DOob!
|
||||
|
@ -2190,7 +2192,7 @@ PIXI.EventTarget = function () {
|
|||
};
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
|
@ -2423,7 +2425,7 @@ PIXI.mat4.multiply = function (mat, mat2, dest)
|
|||
|
||||
return dest;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -2457,7 +2459,7 @@ PIXI.autoDetectRenderer = function(width, height, view, transparent)
|
|||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
|
@ -2512,7 +2514,7 @@ PIXI._CompileShader = function(gl, shaderSrc, shaderType)
|
|||
|
||||
return shader;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -2858,7 +2860,7 @@ PIXI.WebGLRenderer.prototype.handleContextRestored = function(event)
|
|||
this.contextLost = false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -3442,7 +3444,7 @@ PIXI.WebGLBatch.prototype.render = function(start, end)
|
|||
gl.drawElements(gl.TRIANGLES, len * 6, gl.UNSIGNED_SHORT, start * 2 * 6 );
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -4352,7 +4354,7 @@ PIXI.WebGLRenderGroup.prototype.initStrip = function(strip)
|
|||
gl.bufferData(gl.ELEMENT_ARRAY_BUFFER, strip.indices, gl.STATIC_DRAW);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -4697,7 +4699,7 @@ PIXI.CanvasRenderer.prototype.renderStrip = function(strip)
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/
|
||||
*/
|
||||
|
@ -4787,7 +4789,7 @@ PIXI.Strip.prototype.onTextureUpdate = function(event)
|
|||
}
|
||||
// some helper functions..
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/
|
||||
*/
|
||||
|
@ -4963,7 +4965,7 @@ PIXI.Rope.prototype.setTexture = function(texture)
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/
|
||||
*/
|
||||
|
@ -5021,7 +5023,7 @@ PIXI.TilingSprite.prototype.onTextureUpdate = function(event)
|
|||
this.updateFrame = true;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
* based on pixi impact spine implementation made by Eemeli Kelokorpi (@ekelokorpi) https://github.com/ekelokorpi
|
||||
|
@ -6468,7 +6470,7 @@ spine.AtlasAttachmentLoader.prototype = {
|
|||
|
||||
PIXI.AnimCache = {};
|
||||
spine.Bone.yDown = true;
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -6508,7 +6510,7 @@ PIXI.CustomRenderable.prototype.renderWebGL = function(renderGroup, projectionMa
|
|||
// override!
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -6637,7 +6639,7 @@ PIXI.BaseTexture.fromImage = function(imageUrl, crossorigin)
|
|||
|
||||
return baseTexture;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -6826,7 +6828,7 @@ PIXI.Texture.removeTextureFromCache = function(id)
|
|||
// this is more for webGL.. it contains updated frames..
|
||||
PIXI.Texture.frameUpdates = [];
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7009,7 +7011,7 @@ PIXI.RenderTexture.prototype.renderCanvas = function(displayObject, clear)
|
|||
PIXI.texturesToUpdate.push(this.baseTexture);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7108,7 +7110,7 @@ PIXI.AssetLoader.prototype.onAssetLoaded = function()
|
|||
}
|
||||
};
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7237,7 +7239,7 @@ PIXI.JsonLoader.prototype.onError = function () {
|
|||
type: "error",
|
||||
content: this
|
||||
});
|
||||
};
|
||||
};
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7332,7 +7334,7 @@ PIXI.SpriteSheetLoader.prototype.onLoaded = function () {
|
|||
content: this
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7383,7 +7385,7 @@ PIXI.ImageLoader.prototype.onLoaded = function()
|
|||
{
|
||||
this.dispatchEvent({type: "loaded", content: this});
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7512,7 +7514,7 @@ PIXI.BitmapFontLoader.prototype.onLoaded = function()
|
|||
{
|
||||
this.dispatchEvent({type: "loaded", content: this});
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
* based on pixi impact spine implementation made by Eemeli Kelokorpi (@ekelokorpi) https://github.com/ekelokorpi
|
||||
|
@ -7589,7 +7591,7 @@ PIXI.SpineLoader.prototype.onLoaded = function()
|
|||
this.dispatchEvent({type: "loaded", content: this});
|
||||
};
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
/**
|
||||
* @license
|
||||
* Pixi.JS - v1.1.0
|
||||
* Copyright (c) 2012, Mat Groves
|
||||
* http://goodboydigital.com/
|
||||
*
|
||||
* Compiled: 2013-06-19
|
||||
*
|
||||
* Pixi.JS is licensed under the MIT License.
|
||||
* http://www.opensource.org/licenses/mit-license.php
|
||||
*/
|
||||
/**
|
||||
* @license
|
||||
* Pixi.JS - v1.2.0
|
||||
* Copyright (c) 2012, Mat Groves
|
||||
* http://goodboydigital.com/
|
||||
*
|
||||
* Compiled: 2013-06-19
|
||||
*
|
||||
* Pixi.JS is licensed under the MIT License.
|
||||
* http://www.opensource.org/licenses/mit-license.php
|
||||
*/
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -16,7 +16,7 @@
|
|||
(function(){
|
||||
|
||||
var root = this;
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -25,7 +25,7 @@
|
|||
@module PIXI
|
||||
*/
|
||||
var PIXI = PIXI || {};
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -66,7 +66,7 @@ PIXI.Point.prototype.clone = function()
|
|||
// constructor
|
||||
PIXI.Point.constructor = PIXI.Point;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/
|
||||
*/
|
||||
|
@ -123,7 +123,7 @@ PIXI.Rectangle.prototype.clone = function()
|
|||
// constructor
|
||||
PIXI.Rectangle.constructor = PIXI.Rectangle;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Adrien Brault <adrien.brault@gmail.com>
|
||||
*/
|
||||
|
@ -154,7 +154,7 @@ PIXI.Polygon.clone = function()
|
|||
|
||||
PIXI.Polygon.constructor = PIXI.Polygon;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -412,7 +412,7 @@ PIXI.DisplayObject.prototype.updateTransform = function()
|
|||
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -652,7 +652,7 @@ PIXI.DisplayObjectContainer.prototype.updateTransform = function()
|
|||
this.children[i].updateTransform();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -818,7 +818,7 @@ PIXI.Sprite.fromImage = function(imageId)
|
|||
return new PIXI.Sprite(texture);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -943,7 +943,7 @@ PIXI.MovieClip.prototype.updateTransform = function()
|
|||
this.onComplete();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -1207,7 +1207,7 @@ PIXI.Text.prototype.destroy = function(destroyTexture)
|
|||
};
|
||||
|
||||
PIXI.Text.heightCache = {};
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -1363,7 +1363,7 @@ PIXI.BitmapText.prototype.updateTransform = function()
|
|||
PIXI.DisplayObjectContainer.prototype.updateTransform.call(this);
|
||||
};
|
||||
|
||||
PIXI.BitmapText.fonts = {};
|
||||
PIXI.BitmapText.fonts = {};
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -1777,6 +1777,8 @@ PIXI.InteractionManager.prototype.onTouchMove = function(event)
|
|||
|
||||
PIXI.InteractionManager.prototype.onTouchStart = function(event)
|
||||
{
|
||||
event.preventDefault();
|
||||
|
||||
var rect = this.target.view.getBoundingClientRect();
|
||||
|
||||
var changedTouches = event.changedTouches;
|
||||
|
@ -1928,7 +1930,7 @@ PIXI.InteractionData.prototype.getLocalPosition = function(displayObject)
|
|||
PIXI.InteractionData.constructor = PIXI.InteractionData;
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -2045,7 +2047,7 @@ PIXI.Stage.prototype.__removeChild = function(child)
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// http://paulirish.com/2011/requestanimationframe-for-smart-animating/
|
||||
// http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating
|
||||
|
||||
|
@ -2141,7 +2143,7 @@ var AjaxRequest = PIXI.AjaxRequest = function()
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* https://github.com/mrdoob/eventtarget.js/
|
||||
* THankS mr DOob!
|
||||
|
@ -2190,7 +2192,7 @@ PIXI.EventTarget = function () {
|
|||
};
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
|
@ -2423,7 +2425,7 @@ PIXI.mat4.multiply = function (mat, mat2, dest)
|
|||
|
||||
return dest;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -2457,7 +2459,7 @@ PIXI.autoDetectRenderer = function(width, height, view, transparent)
|
|||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
|
@ -2512,7 +2514,7 @@ PIXI._CompileShader = function(gl, shaderSrc, shaderType)
|
|||
|
||||
return shader;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -2858,7 +2860,7 @@ PIXI.WebGLRenderer.prototype.handleContextRestored = function(event)
|
|||
this.contextLost = false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -3442,7 +3444,7 @@ PIXI.WebGLBatch.prototype.render = function(start, end)
|
|||
gl.drawElements(gl.TRIANGLES, len * 6, gl.UNSIGNED_SHORT, start * 2 * 6 );
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -4352,7 +4354,7 @@ PIXI.WebGLRenderGroup.prototype.initStrip = function(strip)
|
|||
gl.bufferData(gl.ELEMENT_ARRAY_BUFFER, strip.indices, gl.STATIC_DRAW);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -4697,7 +4699,7 @@ PIXI.CanvasRenderer.prototype.renderStrip = function(strip)
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/
|
||||
*/
|
||||
|
@ -4787,7 +4789,7 @@ PIXI.Strip.prototype.onTextureUpdate = function(event)
|
|||
}
|
||||
// some helper functions..
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/
|
||||
*/
|
||||
|
@ -4963,7 +4965,7 @@ PIXI.Rope.prototype.setTexture = function(texture)
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/
|
||||
*/
|
||||
|
@ -5021,7 +5023,7 @@ PIXI.TilingSprite.prototype.onTextureUpdate = function(event)
|
|||
this.updateFrame = true;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
* based on pixi impact spine implementation made by Eemeli Kelokorpi (@ekelokorpi) https://github.com/ekelokorpi
|
||||
|
@ -6468,7 +6470,7 @@ spine.AtlasAttachmentLoader.prototype = {
|
|||
|
||||
PIXI.AnimCache = {};
|
||||
spine.Bone.yDown = true;
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -6508,7 +6510,7 @@ PIXI.CustomRenderable.prototype.renderWebGL = function(renderGroup, projectionMa
|
|||
// override!
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -6637,7 +6639,7 @@ PIXI.BaseTexture.fromImage = function(imageUrl, crossorigin)
|
|||
|
||||
return baseTexture;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -6826,7 +6828,7 @@ PIXI.Texture.removeTextureFromCache = function(id)
|
|||
// this is more for webGL.. it contains updated frames..
|
||||
PIXI.Texture.frameUpdates = [];
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7009,7 +7011,7 @@ PIXI.RenderTexture.prototype.renderCanvas = function(displayObject, clear)
|
|||
PIXI.texturesToUpdate.push(this.baseTexture);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7108,7 +7110,7 @@ PIXI.AssetLoader.prototype.onAssetLoaded = function()
|
|||
}
|
||||
};
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7237,7 +7239,7 @@ PIXI.JsonLoader.prototype.onError = function () {
|
|||
type: "error",
|
||||
content: this
|
||||
});
|
||||
};
|
||||
};
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7332,7 +7334,7 @@ PIXI.SpriteSheetLoader.prototype.onLoaded = function () {
|
|||
content: this
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7383,7 +7385,7 @@ PIXI.ImageLoader.prototype.onLoaded = function()
|
|||
{
|
||||
this.dispatchEvent({type: "loaded", content: this});
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7512,7 +7514,7 @@ PIXI.BitmapFontLoader.prototype.onLoaded = function()
|
|||
{
|
||||
this.dispatchEvent({type: "loaded", content: this});
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
* based on pixi impact spine implementation made by Eemeli Kelokorpi (@ekelokorpi) https://github.com/ekelokorpi
|
||||
|
@ -7589,7 +7591,7 @@ PIXI.SpineLoader.prototype.onLoaded = function()
|
|||
this.dispatchEvent({type: "loaded", content: this});
|
||||
};
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
/**
|
||||
* @license
|
||||
* Pixi.JS - v1.1.0
|
||||
* Copyright (c) 2012, Mat Groves
|
||||
* http://goodboydigital.com/
|
||||
*
|
||||
* Compiled: 2013-06-19
|
||||
*
|
||||
* Pixi.JS is licensed under the MIT License.
|
||||
* http://www.opensource.org/licenses/mit-license.php
|
||||
*/
|
||||
/**
|
||||
* @license
|
||||
* Pixi.JS - v1.2.0
|
||||
* Copyright (c) 2012, Mat Groves
|
||||
* http://goodboydigital.com/
|
||||
*
|
||||
* Compiled: 2013-06-19
|
||||
*
|
||||
* Pixi.JS is licensed under the MIT License.
|
||||
* http://www.opensource.org/licenses/mit-license.php
|
||||
*/
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -16,7 +16,7 @@
|
|||
(function(){
|
||||
|
||||
var root = this;
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -25,7 +25,7 @@
|
|||
@module PIXI
|
||||
*/
|
||||
var PIXI = PIXI || {};
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -66,7 +66,7 @@ PIXI.Point.prototype.clone = function()
|
|||
// constructor
|
||||
PIXI.Point.constructor = PIXI.Point;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/
|
||||
*/
|
||||
|
@ -123,7 +123,7 @@ PIXI.Rectangle.prototype.clone = function()
|
|||
// constructor
|
||||
PIXI.Rectangle.constructor = PIXI.Rectangle;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Adrien Brault <adrien.brault@gmail.com>
|
||||
*/
|
||||
|
@ -154,7 +154,7 @@ PIXI.Polygon.clone = function()
|
|||
|
||||
PIXI.Polygon.constructor = PIXI.Polygon;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -412,7 +412,7 @@ PIXI.DisplayObject.prototype.updateTransform = function()
|
|||
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -652,7 +652,7 @@ PIXI.DisplayObjectContainer.prototype.updateTransform = function()
|
|||
this.children[i].updateTransform();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -818,7 +818,7 @@ PIXI.Sprite.fromImage = function(imageId)
|
|||
return new PIXI.Sprite(texture);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -943,7 +943,7 @@ PIXI.MovieClip.prototype.updateTransform = function()
|
|||
this.onComplete();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -1207,7 +1207,7 @@ PIXI.Text.prototype.destroy = function(destroyTexture)
|
|||
};
|
||||
|
||||
PIXI.Text.heightCache = {};
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -1363,7 +1363,7 @@ PIXI.BitmapText.prototype.updateTransform = function()
|
|||
PIXI.DisplayObjectContainer.prototype.updateTransform.call(this);
|
||||
};
|
||||
|
||||
PIXI.BitmapText.fonts = {};
|
||||
PIXI.BitmapText.fonts = {};
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -1777,6 +1777,8 @@ PIXI.InteractionManager.prototype.onTouchMove = function(event)
|
|||
|
||||
PIXI.InteractionManager.prototype.onTouchStart = function(event)
|
||||
{
|
||||
event.preventDefault();
|
||||
|
||||
var rect = this.target.view.getBoundingClientRect();
|
||||
|
||||
var changedTouches = event.changedTouches;
|
||||
|
@ -1928,7 +1930,7 @@ PIXI.InteractionData.prototype.getLocalPosition = function(displayObject)
|
|||
PIXI.InteractionData.constructor = PIXI.InteractionData;
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -2045,7 +2047,7 @@ PIXI.Stage.prototype.__removeChild = function(child)
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// http://paulirish.com/2011/requestanimationframe-for-smart-animating/
|
||||
// http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating
|
||||
|
||||
|
@ -2141,7 +2143,7 @@ var AjaxRequest = PIXI.AjaxRequest = function()
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* https://github.com/mrdoob/eventtarget.js/
|
||||
* THankS mr DOob!
|
||||
|
@ -2190,7 +2192,7 @@ PIXI.EventTarget = function () {
|
|||
};
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
|
@ -2423,7 +2425,7 @@ PIXI.mat4.multiply = function (mat, mat2, dest)
|
|||
|
||||
return dest;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -2457,7 +2459,7 @@ PIXI.autoDetectRenderer = function(width, height, view, transparent)
|
|||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
|
@ -2512,7 +2514,7 @@ PIXI._CompileShader = function(gl, shaderSrc, shaderType)
|
|||
|
||||
return shader;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -2858,7 +2860,7 @@ PIXI.WebGLRenderer.prototype.handleContextRestored = function(event)
|
|||
this.contextLost = false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -3442,7 +3444,7 @@ PIXI.WebGLBatch.prototype.render = function(start, end)
|
|||
gl.drawElements(gl.TRIANGLES, len * 6, gl.UNSIGNED_SHORT, start * 2 * 6 );
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -4352,7 +4354,7 @@ PIXI.WebGLRenderGroup.prototype.initStrip = function(strip)
|
|||
gl.bufferData(gl.ELEMENT_ARRAY_BUFFER, strip.indices, gl.STATIC_DRAW);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -4697,7 +4699,7 @@ PIXI.CanvasRenderer.prototype.renderStrip = function(strip)
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/
|
||||
*/
|
||||
|
@ -4787,7 +4789,7 @@ PIXI.Strip.prototype.onTextureUpdate = function(event)
|
|||
}
|
||||
// some helper functions..
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/
|
||||
*/
|
||||
|
@ -4963,7 +4965,7 @@ PIXI.Rope.prototype.setTexture = function(texture)
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/
|
||||
*/
|
||||
|
@ -5021,7 +5023,7 @@ PIXI.TilingSprite.prototype.onTextureUpdate = function(event)
|
|||
this.updateFrame = true;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
* based on pixi impact spine implementation made by Eemeli Kelokorpi (@ekelokorpi) https://github.com/ekelokorpi
|
||||
|
@ -6468,7 +6470,7 @@ spine.AtlasAttachmentLoader.prototype = {
|
|||
|
||||
PIXI.AnimCache = {};
|
||||
spine.Bone.yDown = true;
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -6508,7 +6510,7 @@ PIXI.CustomRenderable.prototype.renderWebGL = function(renderGroup, projectionMa
|
|||
// override!
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -6637,7 +6639,7 @@ PIXI.BaseTexture.fromImage = function(imageUrl, crossorigin)
|
|||
|
||||
return baseTexture;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -6826,7 +6828,7 @@ PIXI.Texture.removeTextureFromCache = function(id)
|
|||
// this is more for webGL.. it contains updated frames..
|
||||
PIXI.Texture.frameUpdates = [];
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7009,7 +7011,7 @@ PIXI.RenderTexture.prototype.renderCanvas = function(displayObject, clear)
|
|||
PIXI.texturesToUpdate.push(this.baseTexture);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7108,7 +7110,7 @@ PIXI.AssetLoader.prototype.onAssetLoaded = function()
|
|||
}
|
||||
};
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7237,7 +7239,7 @@ PIXI.JsonLoader.prototype.onError = function () {
|
|||
type: "error",
|
||||
content: this
|
||||
});
|
||||
};
|
||||
};
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7332,7 +7334,7 @@ PIXI.SpriteSheetLoader.prototype.onLoaded = function () {
|
|||
content: this
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7383,7 +7385,7 @@ PIXI.ImageLoader.prototype.onLoaded = function()
|
|||
{
|
||||
this.dispatchEvent({type: "loaded", content: this});
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7512,7 +7514,7 @@ PIXI.BitmapFontLoader.prototype.onLoaded = function()
|
|||
{
|
||||
this.dispatchEvent({type: "loaded", content: this});
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
* based on pixi impact spine implementation made by Eemeli Kelokorpi (@ekelokorpi) https://github.com/ekelokorpi
|
||||
|
@ -7589,7 +7591,7 @@ PIXI.SpineLoader.prototype.onLoaded = function()
|
|||
this.dispatchEvent({type: "loaded", content: this});
|
||||
};
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
/**
|
||||
* @license
|
||||
* Pixi.JS - v1.1.0
|
||||
* Copyright (c) 2012, Mat Groves
|
||||
* http://goodboydigital.com/
|
||||
*
|
||||
* Compiled: 2013-06-19
|
||||
*
|
||||
* Pixi.JS is licensed under the MIT License.
|
||||
* http://www.opensource.org/licenses/mit-license.php
|
||||
*/
|
||||
/**
|
||||
* @license
|
||||
* Pixi.JS - v1.2.0
|
||||
* Copyright (c) 2012, Mat Groves
|
||||
* http://goodboydigital.com/
|
||||
*
|
||||
* Compiled: 2013-06-19
|
||||
*
|
||||
* Pixi.JS is licensed under the MIT License.
|
||||
* http://www.opensource.org/licenses/mit-license.php
|
||||
*/
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -16,7 +16,7 @@
|
|||
(function(){
|
||||
|
||||
var root = this;
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -25,7 +25,7 @@
|
|||
@module PIXI
|
||||
*/
|
||||
var PIXI = PIXI || {};
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -66,7 +66,7 @@ PIXI.Point.prototype.clone = function()
|
|||
// constructor
|
||||
PIXI.Point.constructor = PIXI.Point;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/
|
||||
*/
|
||||
|
@ -123,7 +123,7 @@ PIXI.Rectangle.prototype.clone = function()
|
|||
// constructor
|
||||
PIXI.Rectangle.constructor = PIXI.Rectangle;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Adrien Brault <adrien.brault@gmail.com>
|
||||
*/
|
||||
|
@ -154,7 +154,7 @@ PIXI.Polygon.clone = function()
|
|||
|
||||
PIXI.Polygon.constructor = PIXI.Polygon;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -412,7 +412,7 @@ PIXI.DisplayObject.prototype.updateTransform = function()
|
|||
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -652,7 +652,7 @@ PIXI.DisplayObjectContainer.prototype.updateTransform = function()
|
|||
this.children[i].updateTransform();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -818,7 +818,7 @@ PIXI.Sprite.fromImage = function(imageId)
|
|||
return new PIXI.Sprite(texture);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -943,7 +943,7 @@ PIXI.MovieClip.prototype.updateTransform = function()
|
|||
this.onComplete();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -1207,7 +1207,7 @@ PIXI.Text.prototype.destroy = function(destroyTexture)
|
|||
};
|
||||
|
||||
PIXI.Text.heightCache = {};
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -1363,7 +1363,7 @@ PIXI.BitmapText.prototype.updateTransform = function()
|
|||
PIXI.DisplayObjectContainer.prototype.updateTransform.call(this);
|
||||
};
|
||||
|
||||
PIXI.BitmapText.fonts = {};
|
||||
PIXI.BitmapText.fonts = {};
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -1777,6 +1777,8 @@ PIXI.InteractionManager.prototype.onTouchMove = function(event)
|
|||
|
||||
PIXI.InteractionManager.prototype.onTouchStart = function(event)
|
||||
{
|
||||
event.preventDefault();
|
||||
|
||||
var rect = this.target.view.getBoundingClientRect();
|
||||
|
||||
var changedTouches = event.changedTouches;
|
||||
|
@ -1928,7 +1930,7 @@ PIXI.InteractionData.prototype.getLocalPosition = function(displayObject)
|
|||
PIXI.InteractionData.constructor = PIXI.InteractionData;
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -2045,7 +2047,7 @@ PIXI.Stage.prototype.__removeChild = function(child)
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// http://paulirish.com/2011/requestanimationframe-for-smart-animating/
|
||||
// http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating
|
||||
|
||||
|
@ -2141,7 +2143,7 @@ var AjaxRequest = PIXI.AjaxRequest = function()
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* https://github.com/mrdoob/eventtarget.js/
|
||||
* THankS mr DOob!
|
||||
|
@ -2190,7 +2192,7 @@ PIXI.EventTarget = function () {
|
|||
};
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
|
@ -2423,7 +2425,7 @@ PIXI.mat4.multiply = function (mat, mat2, dest)
|
|||
|
||||
return dest;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -2457,7 +2459,7 @@ PIXI.autoDetectRenderer = function(width, height, view, transparent)
|
|||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
|
@ -2512,7 +2514,7 @@ PIXI._CompileShader = function(gl, shaderSrc, shaderType)
|
|||
|
||||
return shader;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -2858,7 +2860,7 @@ PIXI.WebGLRenderer.prototype.handleContextRestored = function(event)
|
|||
this.contextLost = false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -3442,7 +3444,7 @@ PIXI.WebGLBatch.prototype.render = function(start, end)
|
|||
gl.drawElements(gl.TRIANGLES, len * 6, gl.UNSIGNED_SHORT, start * 2 * 6 );
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -4352,7 +4354,7 @@ PIXI.WebGLRenderGroup.prototype.initStrip = function(strip)
|
|||
gl.bufferData(gl.ELEMENT_ARRAY_BUFFER, strip.indices, gl.STATIC_DRAW);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -4697,7 +4699,7 @@ PIXI.CanvasRenderer.prototype.renderStrip = function(strip)
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/
|
||||
*/
|
||||
|
@ -4787,7 +4789,7 @@ PIXI.Strip.prototype.onTextureUpdate = function(event)
|
|||
}
|
||||
// some helper functions..
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/
|
||||
*/
|
||||
|
@ -4963,7 +4965,7 @@ PIXI.Rope.prototype.setTexture = function(texture)
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/
|
||||
*/
|
||||
|
@ -5021,7 +5023,7 @@ PIXI.TilingSprite.prototype.onTextureUpdate = function(event)
|
|||
this.updateFrame = true;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
* based on pixi impact spine implementation made by Eemeli Kelokorpi (@ekelokorpi) https://github.com/ekelokorpi
|
||||
|
@ -6468,7 +6470,7 @@ spine.AtlasAttachmentLoader.prototype = {
|
|||
|
||||
PIXI.AnimCache = {};
|
||||
spine.Bone.yDown = true;
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -6508,7 +6510,7 @@ PIXI.CustomRenderable.prototype.renderWebGL = function(renderGroup, projectionMa
|
|||
// override!
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -6637,7 +6639,7 @@ PIXI.BaseTexture.fromImage = function(imageUrl, crossorigin)
|
|||
|
||||
return baseTexture;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -6826,7 +6828,7 @@ PIXI.Texture.removeTextureFromCache = function(id)
|
|||
// this is more for webGL.. it contains updated frames..
|
||||
PIXI.Texture.frameUpdates = [];
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7009,7 +7011,7 @@ PIXI.RenderTexture.prototype.renderCanvas = function(displayObject, clear)
|
|||
PIXI.texturesToUpdate.push(this.baseTexture);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7108,7 +7110,7 @@ PIXI.AssetLoader.prototype.onAssetLoaded = function()
|
|||
}
|
||||
};
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7237,7 +7239,7 @@ PIXI.JsonLoader.prototype.onError = function () {
|
|||
type: "error",
|
||||
content: this
|
||||
});
|
||||
};
|
||||
};
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7332,7 +7334,7 @@ PIXI.SpriteSheetLoader.prototype.onLoaded = function () {
|
|||
content: this
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7383,7 +7385,7 @@ PIXI.ImageLoader.prototype.onLoaded = function()
|
|||
{
|
||||
this.dispatchEvent({type: "loaded", content: this});
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
@ -7512,7 +7514,7 @@ PIXI.BitmapFontLoader.prototype.onLoaded = function()
|
|||
{
|
||||
this.dispatchEvent({type: "loaded", content: this});
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
* based on pixi impact spine implementation made by Eemeli Kelokorpi (@ekelokorpi) https://github.com/ekelokorpi
|
||||
|
@ -7589,7 +7591,7 @@ PIXI.SpineLoader.prototype.onLoaded = function()
|
|||
this.dispatchEvent({type: "loaded", content: this});
|
||||
};
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Mat Groves http://matgroves.com/ @Doormat23
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue