{"repo":"finnvoor/PlaydateKit","free":true,"listed":false,"github":"https://github.com/finnvoor/PlaydateKit","clone":"git clone https://github.com/finnvoor/PlaydateKit.git","description":"Create games for Playdate using Swift.","language":"Swift","stars":317,"topics":["game-development","playdate","playdate-sdk","swift"],"license":"CC0-1.0","category":"game-templates","readme_excerpt":"PlaydateKit PlaydateKit provides easy to use Swift bindings for the Playdate C API. PlaydateKit aims to be as Swift-y as possible, replacing error pointers with throwable functions, avoiding the use of pointers and memory management as much as possible, and adding documentation comments to all functions (copied from the Playdate SDK docs). Status PlaydateKit provides (almost) full coverage of the Playdate C API. PlaydateKit adds wrapper types for some values (Sprite, Bitmap, FileHandle, etc) that automatically manage the allocation/deallocation of resources. While I have attempted to closely follow the C API specifications, much of it is untested, so if you run into an unexpected issue or can't do something with the Swift API, please open an issue! Usage For detailed instructions and documentation on how to get started creating a game using PlaydateKit, see here. Summary 1. Install a recent nightly Swift toolchain by installing Swiftly and running swiftly install main-snapshot . 2. Install the Playdate SDK. 3. Create a new repository using the PlaydateKitTemplate template. 5. Build and run directly in the simulator using Xcode, or build using the command swift package pdc . When built using swift package pdc , the built pdx game file will be located at .build/plugins/PDCPlugin/outputs/PlaydateKitTemplate.pdx and can be opened in the Playdate simulator. Your PlaydateGame object manages the game lifecycle, receiving events such as gameWillPause and deviceWillSleep . Contributin","default_branch":null,"files":null,"tree":[],"storefront":"/r/finnvoor","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/finnvoor/PlaydateKit/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}