Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

Which is platform does cocos2d-x work on?


Asked by Niklaus Klein on Dec 01, 2021 FAQ



cocos2d-x is a multi-platform framework for building 2d games, interactive books, demos and other graphical applications. It is based on cocos2d-iphone, but instead of using Objective-C, it uses C++. It works on iOS, Android, OS X, Windows, Linux and Web platforms.
In this manner,
In this Cocos2d-x tutorial, learn how to create a basic cross-platform game for iOS, Android, and more using C++! Cocos2d-x is a fast, powerful, and easy-to-use open source 2D game engine. It’s is very similar to Apple’s Sprite Kit, but has one key advantage – Cocos2d-x is cross platform.
Just so, Cocos Creator, which is a proprietary unified game development tool for Cocos2d-X. As of August 2017, it supports JavaScript and TypeScript only and does not support C++ nor Lua. It was based on the free Fireball-X. A C++ and Lua support for creator is under alpha-stage development since April 2017.
Likewise,
Furthermore, the javascript friendly API makes your game development experience a breeze, easy to code, test and distribute. Cocos2d-JS also offers Cocos Console, a script tool, to simplify the creation of projects and let you start coding right away. Cocos Code IDE is the Cocos2d-x official IDE for developing great games with Lua or Javascript.
In respect to this,
Cocos2D is an amazing and easy to use framework, but since it’s written in Objective-C you can only write games with it for iOS and the Mac. Wouldn’t it be great if you could use the same easy to use Cocos2D API, but have it run on Android as well?