# ejoy/ejoy2d

A 2D Graphics Engine for Mobile Game

Repository: https://github.com/ejoy/ejoy2d
Canonical: https://ross.abutalabs.com/products/ejoy2d
Language: C
License: MIT
License Family: permissive
Last push: 2018-09-15T04:06:15+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4631, "days_push": 2909, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1993, forks 626 (observed 2026-08-28T04:06:03.289597+00:00)

## What it is
EJOY 2D is a lightweight 2D graphics engine written in C and scripted with Lua, designed for building mobile games. It ships with a small runtime (ej2d) that executes Lua game scripts, with build support for Windows, Linux, and macOS.

## Use cases
- build a 2d mobile game with a small c engine
- embed a 2d game engine in a c or lua project
- render 2d sprites and animations for cross-platform games
- script game logic in lua on top of a native graphics core
- lightweight alternative to unity or godot for simple 2d games
- integrate a minimal 2d renderer into an existing native app

## When to choose
- you want a tiny, embeddable C engine driven by Lua rather than a full game engine
- you are building lightweight 2D games and want minimal dependencies (glew, freetype, glfw)
- you are comfortable reading source code and Chinese-language API documentation

## When to avoid
- you need an actively maintained engine with recent releases and large community support
- you expect polished tooling, an editor, or comprehensive English documentation
- you need 3D rendering or a high-level scene system out of the box

## Facets
- artifact type: framework
- maturity: maintenance
- function: game, graphics, animation
- domain: graphics, mobile-development, cross-platform
- platform: cross-platform, windows, lua, c
- tags: game-engine, 2d-graphics, lua-scripting, sprite-rendering, opengl, mobile-games, lightweight-engine, game-development, mobile, linux, macos

## Member repositories
- ejoy/ejoy2d (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:03.289597+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:02:33.278140+00:00, confidence not recorded.
  - readme: https://github.com/ejoy/ejoy2d (fetched 2026-08-28T04:06:03.289597+00:00, sha 33684604820a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
