What is cocos2d-x and how to use it?

What is cocos2d-x and how to use it?

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.

Is it possible to use Objective-C Cocos2d on Android?

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?

How do I download and install Cocos2d-x on Linux?

Download the latest version of Cocos2d-x at www.cocos2d-x.org/download; this tutorial used version 3.5. Place the downloaded file wheres you’d like to store your Cocos2d-x installation, such as in your home directory, then unzip it. Open Terminal and cd into the folder you just extracted.

How do I create a cocos2dxfirstios sample?

Open up Xcode (4.6 if using the last version) and create a new project, selecting the iOS\\cocos2d-x\\cocos2dx template: Click Next, name the project Cocos2DxFirstIosSample, choose iPhone for Device Family, click Next and then click Create.

What is the default resolution for games in cocos2d-x?

By default, Cocos2d-x games are named “MyGame” and have a resolution of 960×640, but those details are easy to change. This changes the app’s name to “SimpleGame” and sets its resolution to 480×320 to match the background art included with the template.

What is Cocos creator?

Cocos2d-x User Guide Cocos Creator is a new type of game development tool oriented towards content creation that has completely integrated the componentized edition Cocos2d-x WEB, by which you can launch games on platforms like Web、iOS、Android、various “Mini Games”, PC client and other platforms.

Is it possible to run old cocos2d-js games on Cocos creator?

Hoping to directly run the old Cocos2d-JS games on Cocos Creator: Their APIs are not 100% compatible; therefore, such operation is unavailable. Extend functions by way of inheritance: In Cocos2d-JS, inheritance is a basic method for extending node functions. But in Cocos Creator, inheriting and extending nodes is not recommended.

Begin typing your search term above and press enter to search. Press ESC to cancel.

Back To Top