#gamedev #graphics #3d #2d

blue_engine

General-Purpose, Easy-to-use, Fast, and Portable graphics engine

63 releases

0.4.25 Mar 2, 2023
0.4.23 Jan 21, 2023
0.4.21 Dec 31, 2022
0.4.15 Oct 13, 2022
0.1.3 Jul 29, 2021

#287 in Game dev

Download history 17/week @ 2022-11-27 52/week @ 2022-12-04 53/week @ 2022-12-11 119/week @ 2022-12-18 155/week @ 2022-12-25 62/week @ 2023-01-01 64/week @ 2023-01-08 74/week @ 2023-01-15 61/week @ 2023-01-22 48/week @ 2023-01-29 152/week @ 2023-02-05 226/week @ 2023-02-12 105/week @ 2023-02-19 27/week @ 2023-02-26 23/week @ 2023-03-05 139/week @ 2023-03-12

368 downloads per month
Used in 3 crates

Apache-2.0

165KB
2K SLoC

Rust Linux Rust Windows Rust MacOS

Make sure to use latest Rust version, as the engine is always kept up to date.

About

Blue Engine is a general-purpose, easy-to-use, extendable, and portable graphics engine written in rust. The engine can run on many popular back-end APIs including Vulkan, D3D-12, GL-ES 3, and Metal as well as Windows, Linux, Mobile, and OSX to ensure cross-platform compatibility.

Hello World:

use blue_engine::{
    header::{ Engine, ObjectSettings },
    primitive_shapes::triangle
};

fn main() {
    // initialize the engine
    let mut engine = Engine::new().expect("win");

    // create a triangle
    triangle("my triangle", ObjectSettings::default(), &mut engine.renderer, &mut engine.objects).unwrap();

    // run the engine
    engine
        .update_loop(move |_, _, _, _, _, _| {})
        .expect("Error during update loop");
}

the credits to the image on top: NotPB

Dependencies

~19–30MB
~470K SLoC