Swiftpack.co - Khatto/SpriteKitPlus as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by Khatto.
Khatto/SpriteKitPlus 1.1.8
A library of convenience enhancements for SpriteKit.
⭐️ 0
🕓 2 years ago
iOS macOS tvOS
.package(url: "https://github.com/Khatto/SpriteKitPlus.git", from: "1.1.8")

SpriteKitPlus

About

Expedite your development time with this bounty of convenience methods made specifically for SpriteKit! Quickly access half and full widths and heights of varying SKNodes, create an SKAction with a designated timingMode in one line, and more!

Examples

Craft an SKAction with a SKActionTimingMode with the following function in one line:

func withTimingMode(_ timingMode: SKActionTimingMode) -> SKAction {
    self.timingMode = timingMode
    return self
}

For example:

let action = SKAction.fadeIn(withDuration: 1.0).withTimingMode(.easeInEaseOut)

Installation

TBD. But will be using Swift Package Manager.

GitHub

link
Stars: 0
Last commit: 2 years ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

v1.1.8 | CGPoint Displacement Funcs
2 years ago

Adds convenience funcs for CGPoint displacements

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics