# Axmol

C\+\+/Lua game engine derived from Cocos2d\-x with separate stable and development branches\.

ID: Q1268 · Revision: 1316

Type: software · License: MIT for Axmol, with retained upstream and third\-party component notices\.[^license] · Status: active

Website: https://axmol.dev/



Axmol is an open\-source C\+\+ game engine with Lua support, developed from Cocos2d\-x 4\.0\. It supports scene\-based game development across mobile and desktop targets, with additional qualified deployment paths\. The project distinguishes its stable 2\.x LTS branch from ongoing version 3 work, making branch selection important for compiler, rendering and migration expectations\.[^stable][^dev]

## Capabilities and substitutions

### C\+\+ and Lua development — supported

The stable branch supports C\+\+ and Lua game projects across documented mobile and desktop targets\.[^stable]

Use case: Maintaining or developing code\-driven cross\-platform C\+\+ games · Platforms: Windows, macOS, Linux, Android, iOS, tvOS, Web · Region: Version, build and integration requirements apply

### Cocos2d\-x migration path — limited

The guide documents namespace/type changes and an optional include\-migration tool aimed at v4; older projects may require additional work\.[^migration]

Use case: Maintaining or developing code\-driven cross\-platform C\+\+ games · Platforms: Windows, macOS, Linux, Android, iOS, tvOS, Web · Region: Version, build and integration requirements apply

### Build\-time shader processing — limited

Stable 2\.x processes GLSL/ESSL sources for target backends, while v3 changes to an HLSL workflow\.[^shaders][^preview]

Use case: Maintaining or developing code\-driven cross\-platform C\+\+ games · Platforms: Windows, macOS, Linux, Android, iOS, tvOS, Web · Region: Version, build and integration requirements apply

### WebAssembly deployment — limited

The stable branch explicitly labels WebAssembly support as preview\.[^stable]

Use case: Maintaining or developing code\-driven cross\-platform C\+\+ games · Platforms: Windows, macOS, Linux, Android, iOS, tvOS, Web · Region: Version, build and integration requirements apply

### [Substitute for Cocos2d\-x](/cocos2dx) — limited

Assessment: a successor\-style alternative for Cocos2d\-x C\+\+ games, especially v4 projects, supported by a dedicated migration guide\. Namespace/type changes, shaders, extensions and build requirements need review; conversion tooling does not guarantee a complete or lossless port\.[^stable][^migration][^shaders]

Use case: Maintaining or developing code\-driven cross\-platform C\+\+ games · Platforms: Windows, macOS, Linux, Android, iOS, tvOS, Web · Region: Version, build and integration requirements apply

## References

[^stable]: [Axmol stable 2\.x README](<https://github.com/axmolengine/axmol/blob/release/2.x/README.md>) — C\+\+20, language/platform/backend lists and preview WebAssembly (vendor; retrieved 2026-10-07T20:09:18Z)

[^dev]: [Axmol development README](<https://github.com/axmolengine/axmol>) — Stable versus dev branches; v3 preparation and C\+\+23 (vendor; retrieved 2026-10-07T20:08:38Z)

[^migration]: [Cocos2d\-x migration guide](<https://github.com/axmolengine/axmol/wiki/Cocos2d%E2%80%90x-migration-guide>) — Namespace/types, conversion\-tool scope and shader changes (vendor; retrieved 2026-10-07T20:08:22Z)

[^memory]: [Axmol memory management](<https://github.com/axmolengine/axmol/wiki/Memory-Management>) — Reference counting and retain/release ownership (vendor; retrieved 2026-10-07T20:09:06Z)

[^shaders]: [Shaders in Axmol 2\.x](<https://github.com/axmolengine/axmol/wiki/Shaders-in-Axmol-2.x>) — Build\-time compilation, input languages and output names (vendor; retrieved 2026-10-07T20:09:06Z)

[^extensions]: [Axmol extensions](<https://github.com/axmolengine/axmol/wiki/Extensions>) — CMake controls, optional/deprecated extensions and platform limits (vendor; retrieved 2026-10-07T20:09:06Z)

[^preview]: [Axmol 3 preview](<https://axmol.dev/v3/>) — Pre\-release status, HLSL and stable baseline recommendation (vendor; retrieved 2026-10-07T20:08:22Z)

[^license]: [Axmol license](<https://github.com/axmolengine/axmol/blob/release/2.x/LICENSE>) — MIT terms and upstream/component notices (vendor; retrieved 2026-10-07T20:09:18Z)

Source revision: https://substitutefor.net/entities/Q1268?revision=1316
