This crate provides a framework for building simple 2D games using SDL2
, SDL2_image
, SDL_mixer
and SDL_ttf
behind the scenes.
- Renderer Management
- Generic Timer
- Sprites
- Input (Keyboard, Mouse)
- Sounds and Music
$ git clone https://github.com/clooth/adam.git
$ cd adam && cargo build --verbose
$ git clone https://github.com/clooth/adam.git
$ cd adam && cargo test --verbose
There are some examples in the examples/
directory that you can run via:
$ cargo run --example <example_name>
[dependencies]
adam = "*"
$ cargo build
extern crate adam;
use adam::data::Rectangle;