Skip to content

casey/pxl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pxl

A simple framework for writing graphical programs and games in Rust.

Crates

This repository is a cargo workspace consisting of a number of crates:

  • pxl: The library and runtime. Start here!
  • pxl-build: A compile-time resource loader. Check this out if you want to use static assets, like images and sounds.
  • pxl-build-test: Tests and usage example for pxl-build.
  • pxl-mono: Mono and sometimes chromatic audio-reactive visuals built using pxl

Building

Since pxl programs use per-pixel rendering, building in release mode can yield dramatically improved performance. Do cargo run --release to build in release mode.

Dependencies

The pxl runtime plays audio using cpal, which requires ALSA headers/libraries on Linux;

On Ubuntu, you can install them with:

sudo apt install libasound2-dev

About

🕹 A simple framework for making games in Rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published