ios - SpriteKit: How to animate drawing of a rounded rectangle -


i want animate drawing of rounded box. i've seen answer guy used cglinepath's draw house shape. thought neat, honestly.

i know little core animation , how implement in skscene. don't know sort of thing add. i've seen couple different solutions want go using core animation, doesn't me draw rounded-edge rectangle in scene node.

i've seen 1 guy uses core animation draw circle, , loads uiview: animate drawing of circle

i want node, however, can apply skaction's it.

use skshapenode actions.

this details rounded rectangle skshapenode: skspritenode - create round corner node?

now animate change action.


Comments