This repository is a template for creating application using (currently 2D) framework mEngine, based on raylib.
A DrawQueue, to help out with:
- drawing (pos, rotation, scaling, tinting, frame-by-frame animating etc.),
- sorting (sprites covering each other),
- layering.
Texture Atlas:
- assembles all sprites (.png) in
res/imagesinto unified texture atlas during buildres/atlas.png, - sprites are added to
Atlasstruct, andAtlasIdenum for easy access, AtlasEntrycontains origin (in atlas.png) and size (Vector2) in pixels.- easy access to pass to DrawQueue with
atlas_getTexture(AtlasId).
Just do:
jai build.jai