pixel_engine 0.3.1

A recreation of the olcPixelEngine by javidx9 written in Rust
Documentation
1
2
3
4
5
6
7
8
9
extern crate pixel_engine as engine;
use engine::traits::*;
fn main() {
    let mut game = engine::EngineWrapper::new("Text".to_owned(), (500, 500, 1));
    game.get_inner()
        .screen
        .draw_text(0, 0, 1, [255, 255, 255].into(), "BONJOUR".into());
    game.run(|_game| Ok(true));
}