Skip to content
项目

swiftlang/swift-playdate-examples

在 GitHub 查看

关于

Panic 在 Playdate 上运行的 Embedded Swift 游戏

游戏与模拟器

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

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 these Embedded Swift example projects to foster a diverse and friendly community. We expect contributors to adhere to the Swift.org Code of Conduct.

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.

探索相关项目

加载中…