Skip to content

A circular progress timer for SpriteKit games written in swift.

License

Notifications You must be signed in to change notification settings

carabina/ProgressNode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ProgressNode

A circular progress timer for SpriteKit games written in swift.

How shoud you use

Just add the file to your project, and customize as you want.

let example             = ProgressNode()
example.radius          = 20.0
example.width           = 5.0
example.color           = SKColor(hex: 0x4183D7)
example.backgroundColor = SKColor(hex: 0x6BB9F0)
example.position        = CGPoint(x: CGRectGetMidX(self.frame), y: CGRectGetMidY(self.frame))

example.countdown(time: 10.0) { () -> Void in
    NSLog("Completed.")
}

self.addChild(example)

How it looks like

alt tag

License

WTFPL

About

A circular progress timer for SpriteKit games written in swift.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages