add anim and transitions and re-org lua api scripts

This commit is contained in:
asrael 2025-11-15 11:40:27 -06:00
parent a15d0db902
commit 27b6459b9a
24 changed files with 1857 additions and 573 deletions

View file

@ -141,7 +141,7 @@ pxl8_gfx* pxl8_gfx_create(
i32 window_width,
i32 window_height
) {
pxl8_gfx* gfx = (pxl8_gfx*)calloc(1, sizeof(*gfx));
pxl8_gfx* gfx = (pxl8_gfx*)calloc(1, sizeof(pxl8_gfx));
if (!gfx) {
pxl8_error("Failed to allocate graphics context");
return NULL;