{"schemaVersion":"1.0","record":{"label":"Axmol","description":"C++/Lua game engine derived from Cocos2d-x with separate stable and development branches.","aliases":["Axmol Engine"],"kind":"software","website":"https://axmol.dev/","overview":"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.","license":"MIT for Axmol, with retained upstream and third-party component notices.","lifecycle":"active","example":false,"features":[{"name":"C++ and Lua development","status":"supported","detail":"The stable branch supports C++ and Lua game projects across documented mobile and desktop targets.","useCase":"Maintaining or developing code-driven cross-platform C++ games","platforms":["Windows","macOS","Linux","Android","iOS","tvOS","Web"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://github.com/axmolengine/axmol/blob/release/2.x/README.md","locator":"C++20, language/platform/backend lists and preview WebAssembly","retrievedAt":"2026-10-07T20:09:18Z","kind":"vendor"}]},{"name":"Cocos2d-x migration path","status":"limited","detail":"The guide documents namespace/type changes and an optional include-migration tool aimed at v4; older projects may require additional work.","useCase":"Maintaining or developing code-driven cross-platform C++ games","platforms":["Windows","macOS","Linux","Android","iOS","tvOS","Web"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://github.com/axmolengine/axmol/wiki/Cocos2d%E2%80%90x-migration-guide","locator":"Namespace/types, conversion-tool scope and shader changes","retrievedAt":"2026-10-07T20:08:22Z","kind":"vendor"}]},{"name":"Build-time shader processing","status":"limited","detail":"Stable 2.x processes GLSL/ESSL sources for target backends, while v3 changes to an HLSL workflow.","useCase":"Maintaining or developing code-driven cross-platform C++ games","platforms":["Windows","macOS","Linux","Android","iOS","tvOS","Web"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://github.com/axmolengine/axmol/wiki/Shaders-in-Axmol-2.x","locator":"Build-time compilation, input languages and output names","retrievedAt":"2026-10-07T20:09:06Z","kind":"vendor"},{"url":"https://axmol.dev/v3/","locator":"Pre-release status, HLSL and stable baseline recommendation","retrievedAt":"2026-10-07T20:08:22Z","kind":"vendor"}]},{"name":"WebAssembly deployment","status":"limited","detail":"The stable branch explicitly labels WebAssembly support as preview.","useCase":"Maintaining or developing code-driven cross-platform C++ games","platforms":["Windows","macOS","Linux","Android","iOS","tvOS","Web"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://github.com/axmolengine/axmol/blob/release/2.x/README.md","locator":"C++20, language/platform/backend lists and preview WebAssembly","retrievedAt":"2026-10-07T20:09:18Z","kind":"vendor"}]}],"alternatives":[],"slug":"axmol","draftAlternatives":[{"targetSlug":"cocos2d-x","status":"limited","detail":"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.","useCase":"Maintaining or developing code-driven cross-platform C++ games","platforms":["Windows","macOS","Linux","Android","iOS","tvOS","Web"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://github.com/axmolengine/axmol/wiki/Cocos2d%E2%80%90x-migration-guide","locator":"Namespace/types, conversion-tool scope and shader changes","retrievedAt":"2026-10-07T20:08:22Z","kind":"vendor"},{"url":"https://github.com/axmolengine/axmol/wiki/Shaders-in-Axmol-2.x","locator":"Build-time compilation, input languages and output names","retrievedAt":"2026-10-07T20:09:06Z","kind":"vendor"},{"url":"https://github.com/axmolengine/axmol/blob/release/2.x/README.md","locator":"C++20, language/platform/backend lists and preview WebAssembly","retrievedAt":"2026-10-07T20:09:18Z","kind":"vendor"}]}],"evidence":[{"url":"https://github.com/axmolengine/axmol/blob/release/2.x/README.md","locator":"C++20, language/platform/backend lists and preview WebAssembly","retrievedAt":"2026-10-07T20:09:18Z","kind":"vendor"},{"url":"https://github.com/axmolengine/axmol","locator":"Stable versus dev branches; v3 preparation and C++23","retrievedAt":"2026-10-07T20:08:38Z","kind":"vendor"},{"url":"https://github.com/axmolengine/axmol/wiki/Cocos2d%E2%80%90x-migration-guide","locator":"Namespace/types, conversion-tool scope and shader changes","retrievedAt":"2026-10-07T20:08:22Z","kind":"vendor"},{"url":"https://github.com/axmolengine/axmol/wiki/Memory-Management","locator":"Reference counting and retain/release ownership","retrievedAt":"2026-10-07T20:09:06Z","kind":"vendor"},{"url":"https://github.com/axmolengine/axmol/wiki/Shaders-in-Axmol-2.x","locator":"Build-time compilation, input languages and output names","retrievedAt":"2026-10-07T20:09:06Z","kind":"vendor"},{"url":"https://github.com/axmolengine/axmol/wiki/Extensions","locator":"CMake controls, optional/deprecated extensions and platform limits","retrievedAt":"2026-10-07T20:09:06Z","kind":"vendor"},{"url":"https://axmol.dev/v3/","locator":"Pre-release status, HLSL and stable baseline recommendation","retrievedAt":"2026-10-07T20:08:22Z","kind":"vendor"},{"url":"https://github.com/axmolengine/axmol/blob/release/2.x/LICENSE","locator":"MIT terms and upstream/component notices","retrievedAt":"2026-10-07T20:09:18Z","kind":"vendor"}],"document":{"version":1,"references":[{"url":"https://github.com/axmolengine/axmol/blob/release/2.x/README.md","locator":"C++20, language/platform/backend lists and preview WebAssembly","retrievedAt":"2026-10-07T20:09:18Z","id":"stable","title":"Axmol stable 2.x README","kind":"vendor"},{"url":"https://github.com/axmolengine/axmol","locator":"Stable versus dev branches; v3 preparation and C++23","retrievedAt":"2026-10-07T20:08:38Z","id":"dev","title":"Axmol development README","kind":"vendor"},{"url":"https://github.com/axmolengine/axmol/wiki/Cocos2d%E2%80%90x-migration-guide","locator":"Namespace/types, conversion-tool scope and shader changes","retrievedAt":"2026-10-07T20:08:22Z","id":"migration","title":"Cocos2d-x migration guide","kind":"vendor"},{"url":"https://github.com/axmolengine/axmol/wiki/Memory-Management","locator":"Reference counting and retain/release ownership","retrievedAt":"2026-10-07T20:09:06Z","id":"memory","title":"Axmol memory management","kind":"vendor"},{"url":"https://github.com/axmolengine/axmol/wiki/Shaders-in-Axmol-2.x","locator":"Build-time compilation, input languages and output names","retrievedAt":"2026-10-07T20:09:06Z","id":"shaders","title":"Shaders in Axmol 2.x","kind":"vendor"},{"url":"https://github.com/axmolengine/axmol/wiki/Extensions","locator":"CMake controls, optional/deprecated extensions and platform limits","retrievedAt":"2026-10-07T20:09:06Z","id":"extensions","title":"Axmol extensions","kind":"vendor"},{"url":"https://axmol.dev/v3/","locator":"Pre-release status, HLSL and stable baseline recommendation","retrievedAt":"2026-10-07T20:08:22Z","id":"preview","title":"Axmol 3 preview","kind":"vendor"},{"url":"https://github.com/axmolengine/axmol/blob/release/2.x/LICENSE","locator":"MIT terms and upstream/component notices","retrievedAt":"2026-10-07T20:09:18Z","id":"license","title":"Axmol license","kind":"vendor"}],"overviewCitations":["stable","dev"],"licenseCitations":["license"],"sections":[{"id":"versions","heading":"Stable and development branches","paragraphs":[{"id":"versions-detail","content":[{"text":"Axmol's repository assigns production-oriented 2.x LTS work to release/2.x and v3 development to the default dev branch. The documented language baselines differ: C++20 for stable v2 and C++23 for v3. The v3 page describes beta preparation and retains a notice that the download awaits an official tag. New rendering and physics announcements should therefore not be assumed to describe an installed stable release."}],"citations":["stable","dev","preview"]}]},{"id":"ownership","heading":"Objects and memory","paragraphs":[{"id":"ownership-detail","content":[{"text":"Axmol retains a reference-counted object model inherited from its Cocos2d-x lineage. The memory guide explains retain and release operations and warns that keeping raw references while directly deleting an object can leave invalid references elsewhere. Familiar scene APIs do not eliminate ownership responsibilities. A migration should preserve the application's intended object lifetimes as well as its visible hierarchy."}],"citations":["memory"]}]},{"id":"migration","heading":"Migrating Cocos2d-x code","paragraphs":[{"id":"migration-detail","content":[{"text":"The migration guide maps the cocos2d namespace to ax and lists renamed types and methods. It describes a compatibility header for easing transition and an optional tool for updating includes in Cocos2d-x 4.0 source trees. The tool is a convenience rather than a complete project converter, and the guide cautions that older Cocos2d-x versions may not work with that route."}],"citations":["migration"]}]},{"id":"shaders","heading":"Shader pipeline","paragraphs":[{"id":"shaders-detail","content":[{"text":"Stable Axmol 2.x documents build-time processing of ESSL 3.10 or GLSL 4.50 shader sources into backend-specific output. Generated assets use names distinct from the source extensions and are included in the application's resources. Custom shader code must therefore fit both the language conventions and packaging path. Version 3's HLSL direction is a separate migration concern, not an interchangeable spelling of the 2.x workflow."}],"citations":["shaders","preview"]}]},{"id":"extensions","heading":"Extensions and deployment","paragraphs":[{"id":"extensions-detail","content":[{"text":"The stable branch lists desktop and mobile backends, Xbox through UWP and preview WebAssembly. Its extension ecosystem includes interface and animation integrations, with build-time controls for selecting components. The extension guide also records platform-specific restrictions and deprecated integrations. A feature appearing in the ecosystem is therefore not sufficient evidence that a project's exact runtime, export format and target platform combination is supported."}],"citations":["stable","extensions"]}]},{"id":"license","heading":"Licensing","paragraphs":[{"id":"license-detail","content":[{"text":"Axmol uses the MIT license and retains historical upstream and third-party notices in the relevant files. Commercial distribution and modification are permitted subject to the license conditions. Extension runtimes, external authoring tools and game assets still need their own terms considered; the core engine license does not grant blanket rights in every optional component."}],"citations":["license","extensions"]}]},{"id":"comparison","heading":"Substitution considerations","paragraphs":[{"id":"comparison-detail","content":[{"text":"Axmol is a particularly relevant alternative to "},{"text":"Cocos2d-x","targetSlug":"cocos2d-x"},{"text":" because the project documents that migration directly. This supports a directional replacement assessment for code-driven games, especially from the v4 baseline. It does not establish binary compatibility, universal shader interchange or automatic conversion of older projects. The chosen Axmol branch and the game's dependencies determine the practical scope of the port."}],"citations":["migration","stable","shaders","dev"]}]}]},"id":"Q1268","revision":1316,"updatedAt":"2026-10-14T01:46:04Z","sourceUrl":"https://substitutefor.net/entities/Q1268?revision=1316"}}