Does SKLabelNode have a method to "automatically" adjust font size?

Am adding text to a Game Scene. Since I am new at this, I am curious about different screen sizes? Will a font size of 65 change in relationship to the SKSpriteNode it is a child of?
Is there method that detects and sets the proper font size for you, based on the size of its SKSpriteNode parent?
Answered by Claude31 in 675448022
AFAIK, you have to adjust yourself. I could not find the property 'Automatically adjust Font size' as for UILabel.

See this if that may help
https://stackoverflow.com/questions/32144666/resize-a-sklabelnode-font-size-to-fit
and a follow up here
https://stackoverflow.com/questions/41315657/adjust-text-size-to-fit-sklabelnode-with-fixed-width

And this one is not precisely on your question, but you may find interesting ideas.
https ://www.informit. com/articles/article.aspx?p=2234247
Accepted Answer
AFAIK, you have to adjust yourself. I could not find the property 'Automatically adjust Font size' as for UILabel.

See this if that may help
https://stackoverflow.com/questions/32144666/resize-a-sklabelnode-font-size-to-fit
and a follow up here
https://stackoverflow.com/questions/41315657/adjust-text-size-to-fit-sklabelnode-with-fixed-width

And this one is not precisely on your question, but you may find interesting ideas.
https ://www.informit. com/articles/article.aspx?p=2234247
Does SKLabelNode have a method to "automatically" adjust font size?
 
 
Q