What would be the best approach for outlining or dropshadowing a font?

后端 未结 10 1837
不思量自难忘°
不思量自难忘° 2020-12-14 11:00

I\'m not finding any support for dropshadow or outline of a font in Sprite Kit. For the dropshadow, I\'m guessing I could create a second SKLabelNode and offset it behind t

10条回答
  •  北荒
    北荒 (楼主)
    2020-12-14 11:44

    Erica Sadun once created a drop shadow based on SKEffectNode here

    I recently had to create a Swift4 version of her ShadowLabelNode: https://gist.github.com/Bersaelor/d6ea241278665173485e8aabafbe9047

提交回复
热议问题