Cocos2d-x support multi-platform game development including iOS game developments. In this tutorial I will discuss how to install the Cocos2d-x game engine in your workstation for iOS game development.
Prerequisites:
Steps:
- Download the Cocos2d-x library form here. You can visit the Cocos2d-x download page and installed any stable version. I have installed cocos2d-2.1rc0-x-2.1.2 version for this tutorial. Right now this is the stable version for the Cocos2d-x. You can installer previous versions at your choice. For the latest release there is some changes in the core library. So, be careful when you select other versions.
- Unpack the ZIP file to a location of your choice. I recommend putting it in an easily accessible place. Rename it as you wish but it would be better to just leave it be once you unpacked it. For this tutorial, I will refer the path as $COCOS2DX_PATH. You should replace this variable with your cocos2d-x folder location.
- Now open up the Terminal and change the directory to the Cocos2d-x Root using the cd command.
cd $COCOS2DX_PATH - Inside the $COCOS2DX_PATH folder run the install-templates-xcode.sh using the sudo command like
sudo install-templates-xcode.sh
You might asked for password to install the template for security reason. - After you successfully installed the template you can create your first cocos2d-x game using Xcode. Open the Xcode and select "Create a new Xcode project". This will open a popup to select a project type. Select cocox2d-x project type form iOs section and choose cocos2dx. Now enter the product name and select the project directory.
- Now, run the application from xcode and you will see your first hello-world project for cocos2d-x game in the iOS emulator.
Thats it, now you are now all set to develop your 2d game in cocos2d-x for iOS platform.
Hi my family member! I want to say that this article is amazing, nice written and include approximately
ReplyDeleteall vital infos. I'd like to peer extra posts like this .
Feel free to visit my webpage ... Papers Please
I could not refrain from commenting. Perfectly written!
ReplyDeleteTake a look at my blog post - Video Keyword Suggestions
I'm not sure why but this website is loading incredibly slow for me. Is anyone else having this problem or is it a problem on my end? I'll check back later
ReplyDeleteon and see if the problem still exists.
Feel free to visit my homepage :: Path of Exile Wraeclast
I think the admin of this web site is really working hard in support of his
ReplyDeletewebsite, for the reason that here every information is quality
based stuff.
Feel free to visit my webpage; Path Of Exile Commentary
Hello, yup this paragraph is in fact fastidious and I
ReplyDeletehave learned lot of things from it concerning blogging.
thanks.
My homepage ... Dota 2
You really make it seem so easy with your presentation but I find this
ReplyDeletematter to be really something that I think I would never understand.
It seems too complicated and very broad for me. I'm looking forward for your next post, I'll try to get the hang of it!
Feel free to visit my blog: Game Dev Story
Hi there! Do you know if they make any plugins to help with Search Engine Optimization?
ReplyDeleteI'm trying to get my blog to rank for some targeted keywords but I'm not seeing very good
success. If you know of any please share. Kudos!
my weblog: Minecraft Bukkit Server
I am curious to find out what blog system you have been using?
ReplyDeleteI'm experiencing some minor security issues with my latest website and I'd like to find something
more secure. Do you have any recommendations?
My site Action RPG
Many thanks for the exciting blog posting! I really enjoyed reading it, you are a brilliant writer. I actually added your blog to my favorites and will look forward for more updates. Great Job, Keep it up..
ReplyDeletecocos2d-x game development
Setting Up Cocos2D-X In Mac Osx For Ios Game Development
ReplyDelete-
Developers Circle >>>>> Download Now
>>>>> Download Full
Setting Up Cocos2D-X In Mac Osx For Ios Game Development
-
Developers Circle >>>>> Download LINK
>>>>> Download Now
Setting Up Cocos2D-X In Mac Osx For Ios Game Development
-
Developers Circle >>>>> Download Full
>>>>> Download LINK Gd