ios - SpriteKit SKLabelNode font size to pixels -
what's clean way use sklabelnode's fontsize map pixels? i'm trying place text inside box fits in fixed box proportionately.
according apple's documentation, 1 font point equal 2 pixels.
for example, 90 pixel font equal mytext.fontsize = 90 / 2
Comments
Post a Comment