blithaven 0.1.0

Complex and insanely fast 2D rendering library
Documentation

BlitHaven is a fast, high performance 2-Dimensional Game Engine

Examples


use blithaven::*;

blithaven::start_loop(app.event_loop, move | _events | {
app.scene.draw_polygon(vec![[0.0,0.0], [0.5,0.0], [0.5,0.5]], (1.0,0.0,0.0));

app.scene.save_frame((0.2,0.2,0.2)).finish().unwrap();
Action::Continue
});