Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/chances/playdate-d

D bindings to the Playdate SDK
https://github.com/chances/playdate-d

playdate playdate-sdk

Last synced: 3 days ago
JSON representation

D bindings to the Playdate SDK

Awesome Lists containing this project

README

        

# Playdate D SDK

[![DUB Package](https://img.shields.io/dub/v/playdate.svg)](https://code.dlang.org/packages/playdate)
[![Playdate D SDK CI](https://github.com/chances/playdate-d/actions/workflows/ci.yml/badge.svg)](https://github.com/chances/playdate-d/actions/workflows/ci.yml)
[![codecov](https://codecov.io/gh/chances/playdate-d/branch/main/graph/badge.svg?token=5YN3BU7KR3)](https://codecov.io/gh/chances/playdate-d/)

D bindings to the [Playdate SDK](https://sdk.play.date/1.12.3/Inside%20Playdate%20with%20C.html).

## Usage

```json
"dependencies": {
"playdate": "1.13.4"
},
"targetPath": "dist",
"configurations": [
{
"name": "simulator",
"targetName": "pdex",
"targetType": "dynamicLibrary",
"postBuildCommands-osx": [
"mv dist/libpdex.dylib dist/pdex.dylib"
],
"postBuildCommands-linux": [
"mv dist/libpdex.so dist/pdex.so"
],
"postBuildCommands-posix": [
"touch dist/pdex.bin",
"cp views/pdxinfo dist/pdxinfo",
"$PLAYDATE_SDK_PATH/bin/pdc $PACKAGE_DIR/dist app.pdx"
],
"postBuildCommands-windows": [
"$PLAYDATE_SDK_PATH/bin/pdc $PACKAGE_DIR/dist app.pdx"
]
},
{
"name": "device",
"targetType": "staticLibrary"
}
]
```

## Version Relation to Playdate SDK

Published versions of this library are guaranteed to align with the Playdate SDK's _MAJOR_ **and** _MINOR_ versions. For example, version `1.12.3` of the library aligns with `1.12.*` versions of the Playdate SDK.