diff --git a/README.md b/README.md index 0bab366..37e86e8 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ A heads up for anyone using the dev branch of pixi.js as we have changed a couple of bits that you need to be aware of. Fortunatly there are only 2 and both are small. -Creating a renderer no accepts an options parameter that you can add specific settings too: +1: Creating a renderer no accepts an options parameter that you can add specific settings too: ``` // an optional object that contains the settings for the renderer var options = { @@ -15,6 +15,11 @@ var renderer = new PIXI.WebGLRenderer(800, 600, options) ``` + +2: A ```PIXI.RenderTexture``` now accepts a ```PIXI.Matrix``` as its second param instead of a point. This give you much more flexibility: + +``` myRenderTexture.render(myDisplayObject, myMatrix) ``` + Check out the docs for more info!