Crates.io | playdate |
lib.rs | playdate |
version | 0.2.3 |
source | src |
created_at | 2021-06-09 04:08:43.259591 |
updated_at | 2024-08-24 18:32:16.784085 |
description | High-level Playdate API |
homepage | https://github.com/boozook/playdate |
repository | https://github.com/boozook/playdate.git |
max_upload_size | |
id | 408029 |
size | 58,324 |
Mostly high-level rusty API for the Playdate handheld gaming system.
Usage with cargo-playdate is strongly recommended.
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/be
cargo playdate init --lib --full-metadata --deps="playdate"
(more about it)cargo playdate run
Done. 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.