maylib

Crates.iomaylib
lib.rsmaylib
version0.3.4
created_at2025-03-30 16:47:19.378568+00
updated_at2025-04-08 13:44:32.572495+00
descriptionA rust-native raylib alternative with multiple window support
homepage
repositoryhttps://github.com/ApplePieCodes/maylib
max_upload_size
id1612560
size427,398
Alula (ApplePieCodes)

documentation

README

MayLib

Multi-Window Raylib

Crates.io Downloads (latest version) GitHub forks Crates.io Version

Maylib Logo

I made multi-window raylib because I needed multiple windows in raylib.

While Maylib is based on raylib, it is not a fork. I just used raylib as a reference

TODOS

  • Possibly Migrate to gfx rendering
  • add more image utilities

Features

  • Supports mp3, wav, vorbis, flac, and aac audio.
  • Supports .png, .jpg, .tiff, and .webp images
  • Supports .ttf fonts

Build

Requirements

  • Cargo
  • Vcpkg
  • pkg-config
  • sdl2
  • sdl2-ttf
  • sdl2-gfx
  • sdl2-image

note that libraries like sdl2, sdl2-ttf, etc. need to be installed for the triplet you are building for also note that cargo test must be run with the --test-threads 1 argument. This is because sdl will crash if you have multiple instances in one process

Commit count: 29

cargo fmt