title: How to scale a sprite(CCSprite) in cocos2d-x(android) ?
body: <p>I am trying to scale a background sprite (which uses a larger size image resource) to a lower size but unable to do that. </p>
  
  <p>I am doing it as follows :</p>
  
  <pre><code>CCSprite *splashSprite =CCSprite::spriteWithFile("splashscreen.jpg");
   splashSprite-&gt;setPosition(ccp(240, 150));
   splashSprite-&gt;setScale(0.5f);
  </code></pre>
  
  <p>But sprite remains its original size. No change. 
  Please help.</p>