Path and SKShapeNode Based Swipe Lines

    Login               Join               Free user account          

Path and SKShapeNode Based Swipe Lines

        Watch Fullscreen

In this Swift and Sprite Kit video tutorial, we'll create Swipe lines by populating an array of CGPoints, which is used to define the path property of an SKShapeNode. We'll then define the look using some common SKShapeNode properties like stroke color, fill color, line caps, glows and more. We'll also look briefly at stroke shaders and gradient lines.



Download Resource Files





Added by: Justin

 

😍 0   👍 0   😐 0  👎 0

Category: Game Development  -   Primary Software: Xcode  -   Coding Language: Swift and SpriteKit  -  
Tags:   array - CGPoint - draw line - fill color - glows - line caps - path - SKShapeNode - stroke color




Know what an affiliate program is? You make money just by sharing links to our site! Win. Win.

Earn when you refer any buyer here! 30 day tracking. Commissions are 33%-50% and recur on subscription products!


Uh oh, missing your affiliate ID. Create one real quick