Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

Cocos2d-x

cocos2d-x.org

  • Free plan
  • Windows
  • macOS
  • Linux
  • Web
  • iPhone and iPad
  • Android
8.4 Club score Visit cocos2d-x.org

What Cocos2d-x is

Cocos2d-x is a free, open-source C++ framework for building games, apps, and other cross-platform interactive GUI programs. Developers can publish from one codebase to mobile, desktop, web, and console targets, using C++ or its JavaScript and Lua bindings. The product page lists OpenGL ES 2.0 and Metal for graphics, and says Lua or JavaScript can be used to hot-update games. Its maker describes the C++ core as lightweight and optimized for devices that include low-end Android systems. Cocos2d-x is maintained by the community under the MIT license. The download page says version 4.0 uses CMake across platforms, supports Metal on iOS and macOS, and removes the H5 engine and JSB. The product page lists version 3.17 support for iOS 8.0 and higher, Android 3.0 and higher, Windows 7/8.1/10, macOS 10.9 and higher, and standard HTML5 browsers. Documentation, tutorials, demos, an API reference, and developer forums are listed as support resources. The maker identifies Xiamen Yaji Software, founded in 2011, as the company behind the framework, with headquarters in Xiamen and Beijing.

Who it suits

Cocos2d-x suits developers building interactive programs across mobile, desktop, web, or console platforms who want to work in C++, Lua, or JavaScript. Its community maintenance and MIT license are relevant for teams seeking an open-source framework.

Good to know, and what to watch

  • MIT-licensed and community-maintained
  • Targets mobile, desktop, web, and console
  • Includes C++, Lua, and JavaScript bindings
  • Provides documentation, tutorials, demos, and forums
  • Version 4.0 removes the H5 engine and JSB
  • Version 3.17 platform details may not describe version 4.0

Cocos2d-x

Free

Free plan

Getting started

  1. Open the Cocos2d-x website
  2. Install the framework on OS X, Windows, or Linux
  3. Choose C++, Lua, or JavaScript for development
  4. Build for mobile, desktop, web, or console targets
  5. Use the documentation, tutorials, demos, API reference, or forums

Limits to check

The listed v3.17 compatibility has minimum platform versions, including iOS 8.0, Android 3.0, and macOS 10.9. Version 4.0 removes the H5 engine and JSB.

The verdict

Cocos2d-x offers a cross-platform framework with several language bindings and a community-maintained MIT license. Check the version-specific platform details and changes when choosing a development path.

Questions people ask

Is Cocos2d-x free?

Yes. It has a free plan priced at no cost and is released under the MIT license.

Which platforms can it target?

The framework targets mobile, desktop, web, and console, with platforms listed across Android, iOS, Linux, macOS, web, and Windows.

Which languages are supported?

C++ is the core language, with JavaScript and Lua bindings also included.

Can games be updated without a full release?

The product page says Lua or JavaScript can be used to hot-update games.

Who maintains Cocos2d-x?

It is maintained by the community. The maker is Xiamen Yaji Software.

What the maker publishes

Console export
Yes source
Developer environments
The documentation says Cocos2d-x can be installed on OS X, Windows, and Linux for development, with deployment to iOS, Android, OS X, Windows, and game consoles. source
Free plan
Yes source
Language bindings
The framework includes JavaScript and Lua bindings alongside C++. source
License and maintenance
Cocos2d-x is licensed under MIT and maintained by the community. source
Maker
The maker's About page identifies Xiamen Yaji Software and says it was founded in 2011, with headquarters in Xiamen and Beijing. source
Mobile export
Yes source
Performance
The maker describes the C++ core as lightweight and optimized to run on devices including low-end Android systems. source
Platform version limits
The product page lists v3.17 support for iOS 8.0 and higher, Android 3.0 and higher, Windows 7/8.1/10, macOS 10.9 and higher, and HTML5 standard browsers. source
Privacy and security
The maker's privacy policy says product usage statistics can be disabled through command-line settings and describes firewalls and restricted physical access for its database server. source
Rendering
The maker's product page lists OpenGL ES 2.0 and Metal for graphics rendering. source
Scripting languages
C++,Lua,JavaScript source
Script updates
The product page says Lua or JavaScript can be used to hot-update games. source
Source code model
open_source source
Support resources
The maker provides documents, tutorials, demos, an API reference, and developer forums. source
Target platforms
mobile,desktop,web,console source
Targets
The product page says developers can publish from one codebase to mobile, desktop, web, and console. source
Tools and integrations
The v3.17 release page lists CMake support across platforms and Spine runtime 3.6.39. source
v4.0 changes
The download page says v4.0 supports Metal on iOS and macOS, uses CMake for all platforms, and removes the H5 engine and JSB. source
What it does
Cocos2d-x is an open-source C++ game framework for building games, apps, and other cross-platform interactive GUI programs. source

Checked against the maker's pages on 11 Oct 2026.