Fixed graphics bug + updated docs

Fixed issue with getBounds being incorrect for graphics
Updated docs
Linted code
This commit is contained in:
Mat Groves 2014-01-01 23:54:45 +00:00
parent 53506da65e
commit 7713731ab3
145 changed files with 15583 additions and 24078 deletions

View file

@ -80,13 +80,13 @@
stage.addChild(graphics);
/*
// lets create moving shape
var thing = new PIXI.Graphics();
stage.addChild(thing);
thing.position.x = 620/2;
thing.position.y = 380/2;
*/
var count = 0;
stage.click = stage.tap = function()
@ -98,6 +98,9 @@
requestAnimFrame(animate);
graphics.filters = [new PIXI.BlurFilter()];
stage.addChild(PIXI.Sprite.fromImage("spinObj_02.png"));
function animate() {
/* thing.clear();