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;