Crate pixel_engine
source ·Expand description
A pixel base game engine
Re-exports
pub extern crate futures;
Modules
A Gpu-located spite
User Input module
A collection of traits used to draw things
Structs
Bone of the Engine, join everything;
A Wrapper around an Engine
Represent a Sprite
Enums
The Drawing Mode used
Traits
Functions
Takes a future and run it in the context of the engine
This is usefull when targeting wasm32 because we can’t use the futures’
block_on
method
and we need to use javascript’s promise typeUtility function that manage the engine, create the game instance and runs it
This will also work on WebAssembly