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.
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.
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.
How do I configure NDK_root and Ant-root In Cocos2D?
When it prompts you to configure the Android-specific variables NDK_ROOT, ANDROID_SDK_ROOT and ANT_ROOT, just press Enter three times to finish the configuration. Note: Cocos2D requires Python 2.7+ installed on your machine.
What is Cocos creator?
Cocos Creator is a script development, entity-component and data-driven game development tool focused on content creation. It comes with an easy-to-follow content production workflow and a powerful suite of developer tools for game logic and high-performance game creation
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?
What version of python do I need to run Cocos2d?
Note: Cocos2D requires Python 2.7+ installed on your machine. If you aren’t sure what version of Python you have, type python on the command line and it will display the version (then hit Ctrl-D to exit).
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.
How to build a Test Project in cocos2d-x using Cmake?
This will make a project called “install_test” with all the necessary files and sub folders of the Cocos2d-x project in your specified folder! From the menu go to “File->Open File or Project”. From the project root folder, open the CMakeLists.txt and press “Configure Project” button. From menu run “Build->Build All”.