Cocos2d-x vs Unity
Unity: Unity is a real-time engine for interactive content and cross-platform games, covering the same mobile and 2D games Cocos2d-x is used for.

Open-source, lightweight 2D game engine
Cocos2d-x is free to use. Cocos2d-x is an open-source, lightweight 2D game engine. Softwr lists it under Game Development. Cocos2d-x is made by Chukong Technologies, launched in 2010, available on Windows, macOS, Linux, iOS.
Overview
Cocos2d-x is an open source, code-first game engine for building 2D and some 3D games that run on several platforms. Developers work with a scene graph and a director that moves between scenes, and build games from sprites, sprite sheets and sprite frame caches, actions and sequences, UI widgets such as labels, menus, buttons, sliders and text fields, tile maps, particle systems and parallax effects. The manual also documents an event dispatcher for touch, keyboard, accelerometer and mouse input, 3D features including Sprite3D, animation, cameras, cubemaps, skybox, lighting and terrain, a physics integration, audio playback, file system access, HTTP networking and SQLite storage. Installation guides cover Android Studio, iOS, macOS, Linux and Windows, along with a CMake guide, while the older command-line, Visual Studio and Eclipse routes and the Tizen and Windows Phone targets are marked deprecated. The project does not sell plans or hosted services that were found on the fetched pages, so cost is limited to developer time and any platform fees. It has no visual editor of its own comparable to Unity or Godot, and the documentation is a Q2 2019 edition. The same vendor now promotes Cocos Creator as an editor-based engine for new projects, so teams wanting a scene editor and active tooling usually start there instead.
The honest half
The limits buyers hit most with Cocos2d-x: install guides for the command-line, Visual Studio and Eclipse routes, plus Tizen and Windows Phone, are marked deprecated in the docs; and the manual dates from Q2 2019 and is a GitBook that points readers to Cocos Creator for newer work. Each is concrete and checkable: the half of a review a vendor will not write.
Cross-shopped
The closest alternatives to Cocos2d-x are Unity, Godot Engine and Defold. Each is a tool buyers genuinely weigh against it, with the reason why.
Unity: Unity is a real-time engine for interactive content and cross-platform games, covering the same mobile and 2D games Cocos2d-x is used for.
Godot Engine: Godot is a free, open-source 2D game engine, a lightweight option for the same mobile and 2D games Cocos2d-x targets.
Defold: Free engine with a lightweight runtime and Lua scripting, targeting mobile, desktop and web.
libGDX: Java framework for cross-platform 2D and some 3D games on Android, iOS, desktop and web.
Pricing
Cocos2d-x is free to use. Taken from the vendor's own pricing page; prices move, so check before you buy.
Free
Free
Capabilities
Cocos2d-x lists 23 features, including 2D rendering, physics engine (Chipmunk) and particle effects.
2D rendering
Physics engine (Chipmunk)
Particle effects
Animation system
Audio engine
Touch input handling
Tilemap support
Sprite batching
Visual Studio
Integration with Visual Studio
Xcode
Integration with Xcode
Android Studio
Integration with Android Studio
GitHub
Integration with GitHub
Answered, with sources
Each answer names the page it came from, so you can check it rather than take our word for it.
The manual has installation guides for Android Studio, iOS, macOS, Linux and Windows, and a CMake guide. Guides for Tizen and Windows Phone are marked deprecated.
SourceThe manual covers 2D features such as scenes, sprites, actions, tile maps, particle systems and UI widgets, plus 3D features such as Sprite3D, cameras, lighting, skybox and terrain. It also documents physics, audio, file access, HTTP networking and SQLite.
SourceCocos2d-x is the code-first C++ engine documented in this manual. Cocos Creator is a separate editor-based engine from the same vendor, described on cocos.com as open source and cross-platform, and the manual includes a tool and guide for moving from Creator to Cocos2d-x.
SourceBehind it
Cocos2d-x is made by Chukong Technologies, founded in 2010 and based in Beijing, China.
Checked against
The pages the facts above were read from. Prices and limits change, so the vendor's own page is the final word.
Keep looking
Real time 3D engine and editor for making games and interactive apps on many platforms
MIT-licensed modern C++ game engine for mobile, desktop, Xbox and WebAssembly
Free open-source cross-platform Lua framework with an IDE for 2D games
Free 2D and 3D engine with no royalties, dominant in Chinese mini-game platforms
Real time 3D game engine for high end visuals, free to use with a royalty option
Fast, free, and fun open source framework for Canvas and WebGL
Modular game backend as a service for online and multiplayer games
Open-source dedicated game server hosting and scaling on Kubernetes
Free open-source 3D and 2D game engine with a visual editor and a Pascal API
Softwr does not host reviews and shows no star rating for Cocos2d-x, because a rating we did not collect is not ours to publish. What is here is the pricing and platform detail from the vendor’s own pages, limitations we could state concretely, and alternatives a reviewer confirmed people weigh against it. Tell us if any of it is wrong.
What people switch to, and what they give up
Every tier, and where the cost actually lands
Put it head to head with anything we hold
Its rating, and an embed for your own site