Crates.io | playdate-ui-crank-indicator |
lib.rs | playdate-ui-crank-indicator |
version | 0.1.5 |
source | src |
created_at | 2023-10-02 22:19:44.957747 |
updated_at | 2024-05-30 09:39:14.237194 |
description | Crank Indicator UI component. |
homepage | https://github.com/boozook/playdate |
repository | https://github.com/boozook/playdate.git |
max_upload_size | |
id | 990556 |
size | 41,415 |
Requires SDK 2.1.
Optimized port of official lua version, implemented as sprite.
Small system-styled indicator, alerting the player that this game will use the crank.
See examples to learn how to use.
use playdate_ui_crank_indicator::CrankIndicator;
use playdate_display::DisplayScale;
use playdate_sprite::add_sprite;
let crank = CrankIndicator::new(DisplayScale::Normal)?;
add_sprite(&crank);
This software is not sponsored or supported by Panic.