rustbatch-0.1.1 has been yanked.
In order to get the crate running, you have to copy msvc
folder and build.rs
from crates
repository
and place it into root of your project.
RustBatch
This crate provides some performant tools for building big 2D games that deals with huge amount of entities. So far crate contains:
- OpenGl abstraction based around batching.
- Collision scanner that provides fast collision detection for couple thousand entities
- Multithreaded pathfinder that has no problems ewen with 1000 X 1000 tile-maps
- Math module that contains structs like Matrix, Vector or Rectangle
- Custom per-batch vertex and fragment shader also supported
- Sprite packing so you can take advantage of batching as match as you can
Warming
Important thing to note is that some functions from render module are calling functions and using enums from gl crate. Functions has to be loaded first witch you achieve by creating window.
Example
extern crate rustbatch;
use ;
use FPS;
use ;
use ;