pd-rs / crankstart

A barely functional, wildly incomplete and basically undocumented Rust crate whose aim is to let you write Games for the Playdate handheld gaming system in Rust.
MIT License
235 stars 24 forks source link

Optionally draw and update sprites #64

Closed lyonbeckers closed 1 year ago

lyonbeckers commented 1 year ago

As an alternative to https://github.com/pd-rs/crankstart/pull/52, I'd like to propose making the drawing and updating of sprites into an optional call, similar to draw_fps. This way, if needed, you could opt out of the call here, and call it manually in your update method wherever it may be necessary if you want to draw shapes or text after sprites.