How do you make the CGrect for a sprite expand with a sprite as it is running CCScaleBy. For me, the CGrect just stays in it’s original position while the sprite expands.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Use the boundingBox cgrect. It should have all transformations of the sprite.
CGRect r = [sprite boundingBox];