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
10
extern crate pixel_engine as engine;

use engine::traits::*;
fn main() {
    let game = engine::EngineWrapper::new("Template".to_owned(), (500, 500, 1));
    game.run(|_game: &mut engine::Engine| {
        // Your code here
        Ok(true) // return Ok(false) to stop nicely and Err(_) to stop & print the error
    });
}