substitutefor

Contribute to the catalog

Improve Cocos2d-x

Help someone find the right substitute. Share what you know, explain its limits, and show your sources.

Keep useful details and sources from the current draft as you make your changes.

Sign in or create an account ↗ to earn credit. You can also submit anonymously and save a private receipt. Contributions go to review before publication.

Your own projects are welcome, and an AI assistant can contribute on your behalf. Describe the project accurately and cite sources. You can submit immediately; no minimum karma or prior reviews are required.

1

Identify the subject

Which product or service are you writing about?

This entry can substitute forOptional

Choose the product this entry can replace. For example, when editing GIMP, choose Photoshop to describe GIMP as a substitute for Photoshop. Use “unknown” if the evidence does not show whether the task is supported; “unsupported” means the evidence shows it cannot do the task.

0 of 200 substitute relationships.

2

Write & cite

Help readers understand what it does and where it falls short.

Article sections and citations
Sources for the overview

Sources

Reuse throughout the article

Add each source once. Select it under the paragraphs it supports.

Source 1 · Cocos2d-x repository

Source 1

Source details

To remove this source, first uncheck its citations.

Source 2 · Cocos2d-x basic concepts

Source 2

Source details

To remove this source, first uncheck its citations.

Source 3 · Cocos2d-x main components

Source 3

Source details

To remove this source, first uncheck its citations.

Source 4 · Cocos2d-x actions

Source 4

Source details

To remove this source, first uncheck its citations.

Source 5 · Cocos2d-x 4.0 release notes

Source 5

Source details

To remove this source, first uncheck its citations.

Source 6 · Cocos2d-x v4 upgrade guide

Source 6

Source details

To remove this source, first uncheck its citations.

Source 7 · Cocos2d-x license

Source 7

Source details

To remove this source, first uncheck its citations.

Source 8 · Axmol Cocos2d-x migration guide

Source 8

Source details

To remove this source, first uncheck its citations.

Article sections

Explain uses, limitations, or compatibility. Give each paragraph the sources that support it.

1 · Scene-based development

Section 1

Sources for paragraph 1
2 · Project organization

Section 2

Sources for paragraph 1
3 · Actions and behavior

Section 3

Sources for paragraph 1
4 · Version 4 rendering changes

Section 4

Sources for paragraph 1
5 · Platform and API boundaries

Section 5

Sources for paragraph 1
6 · Licensing

Section 6

Sources for paragraph 1
7 · Migration to Axmol

Section 7

Linked to axmol. Keep surrounding spaces so the text reads naturally.

Sources for paragraph 1
Structured data Advanced

For agents and detailed edits, including links within paragraphs. Follow the article schema, or use the API. Applying JSON replaces the body, references, article address, and draft comparisons shown here.

Include up to 200 draft comparisons, preserving the existing sources and relationships when adding more.

3

Add useful details Optional

Add what you know. You can submit without filling these in.

Capabilities4

Describe a task this product can perform, its limits, and the evidence. Use “unknown” if the evidence does not show whether the task is supported; “unsupported” means the evidence shows it cannot do the task.

Help readers find related options Optional

Have a useful detail to add? Choose a question, give a short answer, and reuse an article source. Skip this section if you prefer.

Which article sources support this answer?
Only saved answers are included. A blank section is fine.
Screenshots Optional

Show the website or a useful part of its interface. Add up to three still PNG, JPEG or WebP images, each up to 5 MiB. Screenshot guidelines ↗

Crop to the relevant screen. Remove personal information, credentials, account balances and private messages. Images keep their stated rights; they are not automatically CC0.

Sign in to upload screenshots. You can submit the article without them.

License, other names & status
Sources for the license or business model
4

Check & submit

Give reviewers a clear summary and a source they can check.

Preview your article

Cocos2d-x

C++ game framework with scene graphs, sprites and actions for native mobile and desktop applications.

Overview

Cocos2d-x is a C++ framework for games and other graphical applications on mobile and desktop platforms. Its core workflow organizes content into scenes and nodes, with sprites, actions, interface components and supporting game systems. It is a distinct project from Cocos Creator, and this article focuses on the documented Cocos2d-x v4 baseline.[1][2][5]

Scene-based development

The Director manages the active game flow, while Scene objects contain sprites, labels and other nodes needed for a screen or level. The scene graph organizes those objects into a tree that affects rendering order. These concepts provide a native code-based way to assemble game content rather than defining the whole application as one drawing function.[2]

Project organization

The guide separates shared application code from platform-specific project folders. AppDelegate runs after the platform startup code and configures aspects such as the first scene and design resolution. This allows common game behavior to coexist with native integration, but screen sizes and platform startup still need deliberate handling. The documentation recommends checking the result across different device resolutions.[3]

Actions and behavior

Action objects change properties on objects derived from Node over a specified period. A sprite can move to a destination or move by an offset without the application manually expressing every intermediate position. This behavior system is one part of the runtime architecture; it does not remove the need to write game rules, handle input and decide when those actions begin or end.[2][4]

Version 4 rendering changes

The v4 release centers on adding Metal for iOS and macOS and refactoring the renderer behind a backend layer. The upgrade guide requires Metal-capable Apple devices and describes changes to program state, texture representation and custom shader handling. Projects relying on direct graphics-API calls or deprecated interfaces may therefore require source changes even before considering a different engine.[5][6]

Platform and API boundaries

The repository lists native mobile and desktop platforms, but the v4 release notes remove the HTML5 engine, JavaScript bindings and SimpleAudioEngine. The repository also explicitly distinguishes Cocos2d-x APIs from Cocos Creator. Older tutorials or a shared Cocos name should not be treated as proof that these removed paths remain available, or that Creator projects are native Cocos2d-x projects. Current platform-store compliance has not been established by this documentation review.[1][5]

Licensing

The Cocos2d-x license permits use, modification and commercial distribution under MIT terms, including preservation of its notice. This covers the engine code rather than automatically determining the terms for every linked third-party component, asset or external integration. A maintained application needs to retain the applicable notices for its actual distribution.[7]

Migration to Axmol

For teams considering a replacement, Axmol provides a dedicated migration guide from Cocos2d-x. It focuses on namespace and type changes and offers include-conversion tooling primarily for v4 source. That evidence supports Axmol as a successor-style migration candidate; it does not establish the reverse relationship or guarantee unchanged behavior. Existing shader code, extensions and older Cocos2d-x versions require separate attention.[8]

References

  1. Cocos2d-x repository

    C++ platforms and distinction from Cocos Creator APIs

    vendor · retrieved 2026-10-07
  2. Cocos2d-x basic concepts

    Director, Scene, Sprite and scene graph

    vendor · retrieved 2026-10-07
  3. Cocos2d-x main components

    AppDelegate, shared/platform code and design resolution

    vendor · retrieved 2026-10-07
  4. Cocos2d-x actions

    Time-based Node property changes

    vendor · retrieved 2026-10-07
  5. Cocos2d-x 4.0 release notes

    Metal, CMake, API changes and removals

    vendor · retrieved 2026-10-07
  6. Cocos2d-x v4 upgrade guide

    Metal-capable Apple devices and rendering abstraction changes

    vendor · retrieved 2026-10-07
  7. Cocos2d-x license

    MIT terms

    vendor · retrieved 2026-10-07
  8. Axmol Cocos2d-x migration guide

    v4 migration, namespaces, type changes and tool limits

    vendor · retrieved 2026-10-07

Also included: 4 capabilities and 0 substitute relationships. Check substitutes in section 1 and capabilities in section 3.

Contribution type

Agree to CC0 above to submit your contribution.