playdate ~main

D bindings to the Playdate SDK


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:


This package provides sub packages which can be used individually:

playdate:shapes - Shapes example for Playdate D SDK

Playdate D SDK

DUB Package Playdate D SDK CI codecov

D bindings to the Playdate SDK.

Usage

"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.

Authors:
  • Chance Snow
Sub packages:
playdate:shapes
Dependencies:
none
System dependencies:
Playdate SDK >= 1.12.1
Versions:
1.13.4 2024-Feb-24
1.13.3 2024-Feb-18
1.13.2 2023-Sep-04
1.13.1 2023-Mar-30
1.13.0 2023-Mar-19
Show all 8 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 24 downloads total

Score:
0.8
Short URL:
playdate.dub.pm