Softwr
Cocos2d-x logo

Cocos2d-x

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

What is Cocos2d-x?

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.

What people use it for

  • Mobile game development
  • 2D games
  • Lightweight games
  • Cross-platform games

The honest half

Where does Cocos2d-x fall short?

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.

  • Cocos2d-x is MIT licensed with no commercial tier, and the vendor's own site directs users toward its newer engine, Cocos Creator, as the actively developed product, leaving Cocos2d-x without a first-party paid support or upgrade path.
  • Install guides for the command-line, Visual Studio and Eclipse routes, plus Tizen and Windows Phone, are marked deprecated in the docs
  • The manual dates from Q2 2019 and is a GitBook that points readers to Cocos Creator for newer work

Cross-shopped

What are the alternatives to Cocos2d-x?

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.

  • 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.

  • Cocos2d-x vs Godot Engine

    Godot Engine: Godot is a free, open-source 2D game engine, a lightweight option for the same mobile and 2D games Cocos2d-x targets.

  • Cocos2d-x vs Defold

    Defold: Free engine with a lightweight runtime and Lua scripting, targeting mobile, desktop and web.

  • Cocos2d-x vs libGDX

    libGDX: Java framework for cross-platform 2D and some 3D games on Android, iOS, desktop and web.

Pricing

How much does Cocos2d-x cost?

Cocos2d-x is free to use. Taken from the vendor's own pricing page; prices move, so check before you buy.

Free

Free

  • Full engine source
  • MIT License
  • Community support
  • Multi-platform support
  • No royalties

Capabilities

What can Cocos2d-x do?

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

Questions people ask

Each answer names the page it came from, so you can check it rather than take our word for it.

What platforms does Cocos2d-x support?

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.

Source
What can I build with Cocos2d-x?

The 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.

Source
What is the difference between Cocos2d-x and Cocos Creator?

Cocos2d-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.

Source

Behind it

Who makes Cocos2d-x?

Cocos2d-x is made by Chukong Technologies, founded in 2010 and based in Beijing, China.

Company
Chukong Technologies
Based in
Beijing, China

Checked against

Sources

The pages the facts above were read from. Prices and limits change, so the vendor's own page is the final word.

Share

Keep looking

Where to go from Cocos2d-x

Best Game Development software for

Compare Cocos2d-x with

Other Game Development software

  • Real time 3D engine and editor for making games and interactive apps on many platforms

    Free plan16 researched notes
  • The game engine for the creators of King

    Free plan10 researched notes
  • Free and open-source 2D and 3D game engine

    Free plan12 researched notes
  • Java-based game development framework

    Free plan11 researched notes
  • MIT-licensed modern C++ game engine for mobile, desktop, Xbox and WebAssembly

    Free plan11 researched notes
  • Free open-source cross-platform Lua framework with an IDE for 2D games

    Free plan11 researched notes
  • Game creation platform for everyone

    Free plan9 researched notes
  • Free 2D and 3D engine with no royalties, dominant in Chinese mini-game platforms

    Open source13 researched notes
  • Flexible level editor for 2D games

    Free plan8 researched notes
  • Real time 3D game engine for high end visuals, free to use with a royalty option

    Free plan17 researched notes
  • Create cross-platform 2D games and apps

    Free plan10 researched notes
  • Fast, free, and fun open source framework for Canvas and WebGL

    Free, then $12/mo17 researched notes
  • 2D skeletal animation for games

    From $69/one-time12 researched notes
  • Audio middleware for games

    Free plan13 researched notes
  • Modular game backend as a service for online and multiplayer games

    Free plan12 researched notes
  • Open-source dedicated game server hosting and scaling on Kubernetes

    Free plan12 researched notes
  • Open-source 3D game engine integrated with Blender

    Free plan9 researched notes
  • Free open-source 3D and 2D game engine with a visual editor and a Pascal API

    Free plan11 researched notes

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.

More on Cocos2d-x

Best Game Development software alternatives

Free open-source browser tool for animation and simple games

open-source

Drag-and-drop visual novel studio with browser export and no royalties

one-time

Free cross-platform level editor for Quake-engine games

open-source

Free open-source pixel art multitool made with Godot

open-source

Visual desktop editor for building Phaser 4 games, from $12 a month

subscription

Open-source high-level multiplayer networking library for Unity

open-source

Tiny, fast, fully open-source HTML5 game engine for 2D and 3D

open-source

Free open-source sprite editor and animation tool, forked from Aseprite

open-source

Compare Cocos2d-x with alternatives