Is there anyway in ios app to adjust the linespacing between the multiple lines in CCLabelTTF in cocos2d? Thanks
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.
The answer to you question is no. You can’t adjust a CCLabelTTF linespacing. But hey! I will share with you my solution for this 😉
This is the .h
And this is the .m
Easy to use 😉 I have to complete the class with getters, setters and all stuff. I know that this is a “homemade” solution, but hey! It works!