Updated some docs, added the new renderHidden parameter for Canvas and updated the RenderTexture examples as a result.

This commit is contained in:
photonstorm
2013-12-27 00:26:21 +00:00
parent 2c8077835c
commit fdbdd81b7b
9 changed files with 83 additions and 53 deletions
+6 -4
View File
@@ -27,9 +27,11 @@ function create() {
function update() {
// This time we'll draw the ball sprite twice, in a mirror effect
texture.renderXY(ball, game.input.activePointer.x, game.input.activePointer.y, false);
texture.renderXY(ball, game.input.activePointer.x, 600 - game.input.activePointer.y, false);
if (!game.input.activePointer.position.isZero())
{
// This time we'll draw the ball sprite twice, in a mirror effect
texture.renderXY(ball, game.input.activePointer.x, game.input.activePointer.y, false, true);
texture.renderXY(ball, game.input.activePointer.x, 600 - game.input.activePointer.y, false, true);
}
}