carose

Crates.iocarose
lib.rscarose
version0.1.0
created_at2026-01-25 15:30:55.275655+00
updated_at2026-01-25 15:30:55.275655+00
descriptionA lightweight 2D Rust game library for sprites, menus, audio, and input handling.
homepage
repositoryhttps://github.com/RoseBlume/carose
max_upload_size
id2068970
size143,914
James Rose (RoseBlume)

documentation

README

Carose

Carose is a lightweight 2D game library for Rust, designed to make sprite-based games, UI menus, audio, and controls easy to work with. It provides a simple, modular API for rendering, input handling, sound, and animations.


Features

  • 2D Window: Create resizable windows with a built-in 5x5 bitmap font for text.
  • Sprites: Solid colors, bitmaps, and animated sprites with velocity and acceleration vectors.
  • Menus: Easy-to-use vertical menus with customizable colors and selection logic.
  • Audio:
    • Fire-and-forget sound effects via [crate::audio::Audio]
    • Looping background music and playlists via [crate::audio::Bgs]
  • Controls: Keyboard and mouse input via [crate::controls::Key]
  • Colors: Predefined and custom color constants.
  • Images: Load sprite sheets and convert them to bitmap arrays.

Commit count: 9

cargo fmt