title: cocos2d-x draw sprite on the sreen frame by frame
body: <p>I have an image and I can create a Sprite from that image and <code>addChild</code> to a layer. And this image will be visible unless I have not <code>removedChild</code>. I wonder if there is a way not to <code>addChild</code>, but call some <code>draw</code> function on game loop update. And if I don't call the draw, the the image is not being drawn during that frame.</p>
  
  <p>I use entity systems framework, and in each frame I want to decide if I show an image or no. But also I want to be able to manipulate the layer in which it will be drawn and the z order.</p>
  
  <p>One solution is to <code>addChild</code> and manipulate <code>isVisible</code> attribute, but as far as I know it is not effective, because even thought the sprite will not be visible, anyway CPU/GPU will process it.</p>