swift-playdate-examples

main

An Embedded Swift game running on Playdate by Panic
apple/swift-playdate-examples

Swift Playdate Examples

A technical demonstration of Embedded Swift running on Playdate by Panic

Why Swift for Playdate

The Playdate is a tiny handheld gaming console developed by Panic featuring a Cortex M7 processor and a 400 by 240 1-bit display. Panic provides an SDK for building Playdate games in both C and Lua and is equipped with a Playdate Simulator.

Most Playdate games are traditionally written in Lua for ease of development, but can run into performance problems that necessitate the added complexity of using C.

Embedded Swift solves this problem by pairing high-level ergonomics with low-level performance, while also providing memory safety guarantees which improve productivity and eliminate a common source of bugs.

Getting Started

To start using Swift with the Playdate SDK, you can find guides, articles, and API documentation via the Package's documentation on the Web or in Xcode.

Disclaimer: The examples included in this repository are not reference implementations for creating games.

Contributing to Swift Playdate Examples

This repo is intended to demonstrate use of Embedded Swift on different platforms, using the Playdate as an example. PRs demonstrating ways to adapt Swift's language or tooling to this platform are welcome. It is not intended to be a full-featured Playdate SDK so please do not raise PRs to extend the Playdate Swift overlay to new areas.

Code of Conduct

Like all Swift.org projects, we would like the Swift Playdate Examples project to foster a diverse and friendly community. We expect contributors to adhere the Swift.org Code of Conduct. A copy of this document is available in this repository.

Contact information

The current code owner of this package is Rauhul Varma (@rauhul). You can contact him on the Swift forums.

In case of moderation issues, you can also directly contact a member of the Swift Core Team.

Description

  • Swift Tools 5.9.0
View More Packages from this Author

Dependencies

  • None
Last updated: Fri Dec 20 2024 05:47:17 GMT-1000 (Hawaii-Aleutian Standard Time)