Commit graph

648 commits

Author SHA1 Message Date
photonstorm
b757e652e9 Added PIXI.canvas global object which allows for tighter configuration of the canvas renderer. Allows the dev to control if fillRect / clearRect is called (as it's not needed for lots of games and can help perf slightly on legacy devices). Also added PX_ROUND boolean. If true (default is false) it will Math.floor the x/y values on the transform, this stops interpolation when Sprites are rendered at non-pixel values, keeping pixel art crisp. Also helps performance on older mobiles. I removed the view.style.backgroundColor as it was never set, mostly commented-out and is unreliable as hell on Android anyway :( (which I guess is why it had been replaced with the fillRect instead). 2014-02-09 02:24:02 +00:00
Chad Engler
3bfa2e2455 Revert "Protect against NaN rotation values"
This reverts commit 53ccc8128b.
2014-02-06 07:58:37 -08:00
Chad Engler
7c9ff84f22 call proper parent update 2014-02-04 16:26:43 -08:00
Chad Engler
1958c1188a Revert "call updateText directly instead of dirty system"
This reverts commit 537dc7d36f.
2014-02-04 16:25:58 -08:00
Chad Engler
537dc7d36f call updateText directly instead of dirty system 2014-02-04 16:18:58 -08:00
Chad Engler
a27daeb360 Have BitmapText inherit from SpriteBatch instead of DOC 2014-02-04 16:15:28 -08:00
Chad Engler
d0e37e13ef Merge pull request #546 from weepy/dev
added tinting for bitmap chars
2014-02-04 16:14:38 -08:00
weepy
64ae9d0d3e added tinting for bitmap chars 2014-02-04 22:08:28 +00:00
Chad Engler
2dde48246e fix graphics updateBounds 2014-02-04 14:00:34 -08:00
Mat Groves
bfe21598fe Update README.md 2014-02-04 09:04:47 +00:00
Mat Groves
597e2b129e Published files 2014-02-04 09:01:11 +00:00
Mat Groves
e78a82fa34 Merge branch 'dev' of https://github.com/GoodBoyDigital/pixi.js into dev 2014-02-04 08:59:15 +00:00
Mat Groves
c2cf3f264c Tweaked interaction manager to handle mouse leave events better 2014-02-04 08:52:25 +00:00
Chad Engler
99520e3b65 TilingSprite fixes for CocoonJS, closes #490 2014-02-03 12:40:39 -08:00
Chad Engler
90d4d9abee Merge pull request #492 from drkibitz/ducktype
Duck type img
2014-02-03 12:25:36 -08:00
Chad Engler
4e2eb800c6 Merge pull request #537 from cacheflowe/dev
Protect against NaN rotation values
2014-02-03 12:23:39 -08:00
Chad Engler
82f4663216 Merge pull request #539 from qzix13/dev
Reusing children and use pool object.
2014-02-03 12:23:13 -08:00
Oleg Kuzyk
e66609d953 Reusing children and use pool object.
When need update BitmapText very often it is not the best way  to create new Sprites and remove old.
So better way is reusing it and use pool object.
2014-02-03 15:04:02 +02:00
Chad Engler
97b27944e1 remove watch, we don't use it right now 2014-02-02 10:29:29 -08:00
Chad Engler
df8eb5f4fb Remove all references to mat3 or mat4 2014-02-02 10:28:08 -08:00
CacheFlowe
53ccc8128b Protect against NaN rotation values
Throws an Error if a DisplayObject's rotation was set to NaN. Without this check, Sprite's textures could disappear silently, with no reference to the improper rotation value as the culprit.
2014-02-02 10:54:48 -07:00
Chad Engler
9509f43163 fix typo in graphics webgl render 2014-02-01 17:19:46 -08:00
Mat Groves
15533927f7 Update README.md 2014-01-31 09:55:27 +00:00
Mat Groves
a1091473ec Fixed type in bitmap font 2014-01-31 09:23:04 +00:00
Mat Groves
001c2b13d7 Tweaked tiling texture and jshinted code 2014-01-31 00:47:08 +00:00
Mat Groves
9c1e235a92 Merge branch 'dev-matrix' into dev 2014-01-31 00:36:10 +00:00
Mat Groves
854ccf54fa Tweaked getLocalPosition
Also cahced css cursor reference in js
2014-01-31 00:34:53 +00:00
Mat Groves
958afe142a fixed render texture issue and jshinted code 2014-01-31 00:23:45 +00:00
Mat Groves
c3b9c96200 replaced matrix 2014-01-31 00:04:32 +00:00
Mat Groves
b8a9a82680 Merge branch 'dev' of https://github.com/GoodBoyDigital/pixi.js into dev 2014-01-28 20:25:45 +00:00
Mat Groves
393d9f989e Reset Alpha for CanvasRenderer 2014-01-28 20:25:39 +00:00
Mat Groves
06e56f3783 Merge pull request #531 from alvinsight/dev
Dived into WebGLRenderer, fixes and docs
2014-01-28 12:24:26 -08:00
alvinsight
138511f46c A nice getter/setter for our lovely users 2014-01-28 18:00:08 +00:00
alvinsight
57d7e373ec Dived into WebGLRenderer, fixes and docs 2014-01-28 17:25:00 +00:00
Chad Engler
3c14d330bd return empty rect if container has no visible children 2014-01-28 09:10:01 -08:00
Chad Engler
b5dc38b7fe Allow texture to not be flipped 2014-01-27 20:04:04 -08:00
Mat Groves
68df2fdafd jslinted code 2014-01-28 00:10:23 +00:00
Mat Groves
847eb6c48e Docs updated
Fixed issue where alpha not being set correctly in canvas spriteBatch
Fixed issue where previous stage events did not get removed correctly
2014-01-28 00:08:50 +00:00
Mat Groves
9dbf8b47c1 Merge pull request #529 from alvinsight/dev
Finally, a bit of refactoring, but obviously, docs :)
2014-01-27 11:17:29 -08:00
alvinsight
e3de999e21 Typos and Started tackling the WebGL, and tests 2014-01-27 18:07:53 +00:00
alvinsight
8a769a64be Docs :) 2014-01-27 17:06:52 +00:00
alvinsight
7028a1cb40 Fixed, finally adapted to the dev branch 2014-01-27 15:23:06 +00:00
Chad Engler
d62a4aa432 Manually merge #522 from @qzix13 2014-01-24 11:12:56 -08:00
Mat Groves
951f1049ec Added auto prevent default variable to pixi constants 2014-01-24 17:41:44 +00:00
Mat Groves
d0109051f9 Mad cross origin on by default to fix ie11 issue and make life generally easier 2014-01-24 17:40:52 +00:00
Mat Groves
61ad79999b Added constant for interaction frequency 2014-01-24 11:42:49 +00:00
Mat Groves
d294f96dcb Fixed premultiplied alpha - for webGL transparent canvas 2014-01-24 11:14:21 +00:00
Mat Groves
13ef9ea96c Added clear rect to transparent canvas renderer 2014-01-24 10:26:26 +00:00
Mat Groves
f127cfe1ef Jshinted code 2014-01-24 00:08:05 +00:00
Mat Groves
b45c70574d Finished first pass of webGL destroy functions 2014-01-24 00:02:16 +00:00