PDKUtils is a meta Swift package that aims to fill in the gaps of PlaydateKit by providing a comprehensive set of tools used to make apps and games for the Playdate.
Important
PDKUtils is a work-in-progress SDK, and some features may not be complete. At this time, PDKUtils is not considered production-ready. Use at your own risk!
PDKUtils is designed to be portable, letting you pick from a range of libraries that you might need:
PDFoundationaims to provide fundamental capabilities akin to the Foundation framework found on Apple's devices.PDGraphicsprovides functions and utilities for more performant graphics operations such as drawing scanlines, triangles, and rectangles.PDUIKitlets developers create user interfaces for their Playdate apps and games with a system that feels similar to Apple's UIKit.
Start by adding PDKUtils to your package dependencies with the Swift
Package Manager:
dependencies: [
.package(
url: "https://source.marquiskurt.net/PDUniverse/PDKUtils.git",
branch: "main")
]Then, in your PlaydateKit target, add the dependency:
targets: [
.target(
name: "MyGame",
dependencies: [
.product(name: "PDFoundation", package: "PDKUtils")
]
)
]This project is currently accepting contributions through GitHub until Forgejo and other Git repository hosting services support federated pull requests.
Note
GitHub is treated as a mirror with the exception for public pull requests. The source of truth can be found on SkyVault at https://source.marquiskurt.net/PDUniverse/PDKUtils.
PDKUtils is a free and open-source library licensed under the MIT License. For more information on your rights, refer to LICENSE.txt.
PDKUtils is made possible thanks to the following open source projects:
- PlaydateKit - CC0 License
- Roobert - Panic Inc, CC BY 4.0