A reproduction of the oldPixelGameEngine(by OneLoneCoder) written in rust This crate is split between 3 crates:
This is provide wrapper around wgpu. It handles the drawing of decals and the main screen
This crate provide Traits to handle the Drawing. You only need to implement one trait (The SmartDrawing trait) and the other trait are just supertrait, so you have them for free
This is the core of the projects, It is the main library, aimed to be used by the user. This provide the Engine struct
How to use
There are plenty of examples in the
You only need to run
cargo run --bin=<NAME>, or go to https://maix.me to get a list of example code.
extern crate pixel_engine as px; use *;
This is the stripped-down code of the
There are some examples that aren't really useful (like the
input.rs). They are here to make sure I don't break stuff.