| Crates.io | playdate |
| lib.rs | playdate |
| version | 0.2.6 |
| created_at | 2021-06-09 04:08:43.259591+00 |
| updated_at | 2025-03-19 17:22:52.612281+00 |
| description | High-level Playdate API |
| homepage | https://github.com/boozook/playdate |
| repository | https://github.com/boozook/playdate.git |
| max_upload_size | |
| id | 408029 |
| size | 57,578 |
Mostly high-level rusty API for the Playdate handheld gaming system.
Usage with cargo-playdate is strongly recommended.
⚠️ Prior to the version 1.0 API is unstable and can be changed without deprecation period.
Plus some extensions to make it all more rust-ish.
json
Look at the examples.
Here is available examples. You car run it with following command:
# Simulator:
cargo playdate run -p=playdate --example=hello-world --features=entry-point
# Device:
cargo playdate run -p=playdate --example=video --features=entry-point --device
More information how to use cargo-playdate in help: cargo playdate --help.
Follow the instructions for:
playdate-sys (prerequisites only)
There is multiple ways to learn and start.
Following two is just a quick introduction. In details it all will be explained soon in the wiki.
cd where/your/project/will/becargo playdate init --lib --full-metadata --deps="playdate" (more about it)cargo playdate runDone. Now take a look at long way below for details what's happen.
Just run cargo new <your options> and add do following:
Add [playdate crate][playdate-crate] as dependency to your project
#![no_std] for library, or #![no_std] #![no_main] for executable binary
Look at existing example for api-parts like that
Add minimally required metadata to build package:
package.metadata.playdate.bundle-id = "com.yourcompany.game"Install cargo-playdate to build your project
Run cargo playdate run
Help this project somehow.
Made with ❤️🔥 by me.
This software is not sponsored or supported by Panic.