Skip to content
🎨 Procedurally generate 2D sprites
Branch: master
Clone or download
tversteeg Merge pull request #1 from tversteeg/dependabot/cargo/blit-0.5
Update blit requirement from 0.4 to 0.5
Latest commit 2b0741f Nov 15, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples Update example & fix small 1bit error Jan 23, 2018
img Update example & fix small 1bit error Jan 23, 2018
lib Bump both versions Jan 23, 2018
src Fix library conflict Mar 18, 2018
.gitignore Small Cargo fixes Jan 16, 2018
.travis.yml Add CI setup Jan 15, 2018
Cargo.toml
README.md

README.md

Build Status

sprite (Executable)

Cargo License: GPL-3.0 Downloads

Run

On Linux you need the xorg-dev package as required by minifb -- sudo apt install xorg-dev

cargo run --release

This should produce the following window:

Sprite

sprite-gen (Library)

A Rust library for procedurally generating 2D sprites. Port of https://github.com/zfedoran/pixel-sprite-generator

Cargo License: GPL-3.0 Downloads

Documentation

Usage

Add this to your Cargo.toml:

[dependencies]
sprite-gen = "0.1"

And this to your crate root:

extern crate sprite_gen;

Run the example

On Linux you need the xorg-dev package as required by minifb -- sudo apt install xorg-dev

cargo run --example minifb

This should produce the following window:

Example

You can’t perform that action at this time.