Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to change the scale of sprite like a paper in 'Paper Toss' game.

'Paper Toss' is the game is available on the App store. I want to make a sprite like a paper and change the scale of sprite like a paper in 'paper Toss'.

share|improve this question

You can change the size of a sprite like so:

[mySprite setScaleX: newWidth/mySprite.contentSize.width];
[mySprite setScaleY: newHeight/mySprite.contentSize.height];
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.