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

Represent a Color in a RGBA format
Bone of the Engine, join everything;
A Wrapper around an Engine
Represent a Sprite

Enums

The Drawing Mode used

Traits

This is the core of the Game ran by the Engine

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 type
Utility function that manage the engine, create the game instance and runs it This will also work on WebAssembly