Need advice about which tool to choose?Ask the StackShare community!

Cocos2D-X

63
84
+ 1
0
Unity

1.6K
1.4K
+ 1
73
Add tool

Cocos2D-X vs Unity: What are the differences?

## Introduction
Both Cocos2D-X and Unity are popular game development engines that offer various features and capabilities for game development.

1. **Programming Language**: Cocos2D-X uses C++ as its primary programming language, providing more control and efficiency in coding, while Unity uses C# which is more beginner-friendly and has a larger community support.
2. **Platform Support**: Cocos2D-X supports more platforms including iOS, Android, Windows, macOS, and Linux, whereas Unity supports a wide range of platforms including mobile, desktop, consoles, and web.
3. **3D Capabilities**: Unity is known for its robust 3D game development capabilities, offering better tools and workflows for creating 3D games compared to Cocos2D-X which is focused more on 2D game development.
4. **Visual Editor**: Unity provides a powerful visual editor that allows developers to create games without writing much code, while Cocos2D-X relies more on coding for game development tasks.
5. **Pricing Model**: Unity offers a free version with limited features along with paid plans, while Cocos2D-X is open-source and free to use without any licensing costs.
6. **Community Support**: Unity has a larger and more active community with extensive documentation, forums, and tutorials available, making it easier for developers to find help and resources.

In Summary, Cocos2D-X and Unity differ in programming language, platform support, 3D capabilities, visual editor, pricing model, and community support.
Decisions about Cocos2D-X and Unity
norlin
Software Engineer / Game Developer at Norlin Games · | 7 upvotes · 86.7K views

When I started to learn game development, I've tried to use Unity multiple times because it's the most popular option. But never get it worked because of the clunky UI which is very hard to understand for a new user. After some time, I've decided to try UE4 despite there was a lot of rumors that it's "heavy" or requires an AAA team. And suddenly it clicked, everything works as I expecting, UI is clear and much more powerfull, no need to build custom tools to work on the game itself. Blueprints are very helpful for beginners, C++ has a lot of "syntax-sugar" - macroses, a lot of convenient in-engine types for everything. Later while working with Unreal, I've realized it has very consistent roadmap with constant improvements and adding new features. At the same time, each major version update is painless so you can upgrade your project during development to get new features. UE4 is free to use with the full list of features and you only have to pay royalty after getting your first $1 million from the project (and that's just the default case, you can always discuss custom license with an upfront fee, if you want to).

See more
Arthur Osipyan
Software Engineer at Value Industry · | 2 upvotes · 84.1K views

I chose Unity over Unreal Engine because Unity has a more user friendly UI for beginners looking to learn game development. Additionally, as someone who uses a lot of online resources to learn new languages and tools, I found a lot of tutorials covering game development with Unity as the core engine. This doesn't mean Unreal is not a great choice for game development, I just personally found learning game development much smoother with the amount of resources available with Unity.

See more
Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of Cocos2D-X
Pros of Unity
    Be the first to leave a pro
    • 16
      Because it's a powerful engine, you can build anything
    • 14
      C# language
    • 11
      Very Popular
    • 7
      Easy to Use
    • 6
      He Has A Free VErsion
    • 6
      Cross Platform
    • 5
      2nd Game Engine In The World
    • 4
      Good Choise
    • 4
      Very Large Showcase

    Sign up to add or upvote prosMake informed product decisions

    Cons of Cocos2D-X
    Cons of Unity
    • 2
      Popular only in Asia
    • 2
      Based on Chinese
    • 1
      No Multiple Languages
    • 1
      Not Popular in itch.io and in Steam
    • 1
      Very poor system
    • 1
      No GUI
    • 1
      Bad Windows Performance
    • 4
      Hard to get started with
    • 4
      Clunky UI
    • 4
      Closed source
    • 3
      No consistency with updates
    • 3
      Requires to build a lot of tools
    • 2
      Gigantic by being 9gb (thats what setup says)

    Sign up to add or upvote consMake informed product decisions

    What is Cocos2D-X?

    Cocos2d-x is an open-source and cross-platform open source free 2D game engine for mobile game development known for its speed, stability, and ease of use

    What is Unity?

    Unity is the ultimate game development platform. Use Unity to build high-quality 3D and 2D games, deploy them across mobile, desktop, VR/AR, consoles or the Web, and connect with loyal and enthusiastic players and customers.

    Need advice about which tool to choose?Ask the StackShare community!

    What companies use Cocos2D-X?
    What companies use Unity?
    See which teams inside your own company are using Cocos2D-X or Unity.
    Sign up for StackShare EnterpriseLearn More

    Sign up to get full access to all the companiesMake informed product decisions

    What tools integrate with Cocos2D-X?
    What tools integrate with Unity?

    Sign up to get full access to all the tool integrationsMake informed product decisions

    Blog Posts

    Vue.jsSpring BootUnity+7
    2
    1201
    What are some alternatives to Cocos2D-X and Unity?
    Godot
    It is an advanced, feature-packed, multi-platform 2D and 3D open source game engine. It is developed by hundreds of contributors from all around the world.
    libGDX
    The framework provides an environment for rapid prototyping and fast iterations. Instead of deploying to Android/iOS/Javascript after each code change, you can run and debug your game on the desktop, natively. Desktop JVM features like code hotswapping reduce your iteration times considerably.
    Corona SDK
    It is a cross-platform framework ideal for rapidly creating apps and games for mobile devices and desktop systems. It builds rich mobile apps for iOS, Android, Kindle and Nook. Build high quality mobile apps in a fraction of the time.
    MonoGame
    It is a free C# framework used by game developers to make games for multiple platforms and other systems. It is also used to make Windows and Windows Phone games run on other systems.
    three.js
    It is a cross-browser JavaScript library and Application Programming Interface used to create and display animated 3D computer graphics in a web browser.
    See all alternatives