Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

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
add comment

1 Answer

You can change the size of a sprite like so:

[mySprite setScaleX: newWidth/mySprite.contentSize.width];
[mySprite setScaleY: newHeight/mySprite.contentSize.height];

You may want to try Google before asking such simple questions here. You're likely to get your answers much faster.

share|improve this answer
add comment

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.