Richard Davey

Results 215 comments of Richard Davey

The `tempZone` origin has been changed to 0,0 in the master branch for Beta 13.

This may need putting behind a Game Config flag because Array sort is unstable on lots of older browsers, and without a stable sort, it causes all kinds of rendering...

Leave this with me - I think we can switch this flag automatically if, for example, we detect IE vs. Chrome. Plus, I can't merge it because the PR contains...

Ok, this feature is now in the master branch (and enabled based on browser detection), so worth you re-testing your previous demos, please.

Thanks for the PR. I'd be more inclined to see what is it about `ParseObjectLayers` that mutates the data (because most of the things this parser does is perfectly safe,...

Looking at it, nothing in `ParseObjectLayers` mutates the json, so it must be even deeper than that - likely in `CreateGroupLayer`.

Just checked and nope, nothing in there does it either! However, it does do this: `layers: json.layers,` which returns the whole original object, so I guess something outside of the...

Ok, please test the new StableSort I've put into the master branch (you'll need to do a Beta 11 build to get it, `npm run dist` will create that) -...

This is correct, masking is a renderer feature, so isn't applied to RenderTextures (or anything else, actually). I'll flag it as a Feature Request for now.

Would probably be easier to implement your own RenderTexture render function that incorporated what the WebGL Renderer does: https://github.com/photonstorm/phaser/blob/master/src/renderer/webgl/WebGLRenderer.js#L2576-L2632 I.e. monkeypatch out this with a variation of the Renderer approach:...