#gamedev #graphics #3d #2d #game

blue_engine

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

30 releases

0.3.31 May 12, 2022
0.3.3 Apr 30, 2022
0.2.9 Mar 28, 2022
0.2.6 Dec 16, 2021
0.1.3 Jul 29, 2021

#218 in Game dev

Download history 7/week @ 2022-02-05 28/week @ 2022-02-12 1/week @ 2022-02-19 3/week @ 2022-02-26 3/week @ 2022-03-05 63/week @ 2022-03-12 110/week @ 2022-03-19 25/week @ 2022-03-26 6/week @ 2022-04-02 21/week @ 2022-04-09 49/week @ 2022-04-16 45/week @ 2022-04-23 89/week @ 2022-04-30 220/week @ 2022-05-07 514/week @ 2022-05-14 113/week @ 2022-05-21

947 downloads per month

Apache-2.0

185KB
2K SLoC

Blue Engine

Rust Linux Rust Windows Rust MacOS

Minimum Rust Version: 1.60.0 (required for the per feature dependency)

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, and OSX to ensure cross-platform compatibility.

Hello World:

use blue_engine::{
	header::{
		Engine, ObjectSettings, WindowDescriptor
	},
	objects::two_dimensions::triangle
};

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

    // create a triangle
    let _ = triangle(ObjectSettings::default(), &mut engine).unwrap();

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

NOTE: You need to add resolver = "2" on your Cargo.toml under [package] section. This is because of migration to newer versions of Rust and dependencies of this engine.

Dependencies

~12–18MB
~331K SLoC