Cocos2D-x : Create Sprite and Create Label

Cocos2D-x Add Scrollview

Following lines of code gives an example of how to create a sprite in Cocos2D-x. Similarly, Following lines of code gives an example of how to create a label in Cocos2D-x.

Cocos2D-x : File Template for Creating a new Game Scene

Cocos2D-x Add Scrollview

Hi All ! I have found that, in cocos2D-x, developer has to copy and paste GameScene files & then modify it again and again for each scene you create for your game. Using following source code, one does not need … Continue reading

Cocos2D-X : How to register touch events?

Cocos2D-x Add Scrollview

In this tutorial, I’ll illustrate how to register touch events in Cocos2D-x for iOS. Just go through the following code snip with the explainations as comments within in.

Cocos2D-x : How to create Menu in Cocos2D-X?

Cocos2D-x Add Scrollview

Hi All ! using this post, I’ll provide you code-snip for creating Menu in Cocos2D-x. Just go through the following code snip for more brief. Hope that helps.

Manage assests for iOS Devices in Cocos2D-x

Cocos2D-x Add Scrollview

Using this post, I would like to illustrate how to manage assests for iOS Devices in Cocos2D-X. Just go throuh the following source-code with the comments.

Hide & Unhide folder like windows in Mac os x

Mac osx hide/unhide file/folder

Use following command to hide specific folder/file.

Use following command to unhide specific folder/file.

Here is the example of hidden file.

How to get rid of .DS_Store files in Mac OS X Mountain Lion?

os-x-lion

If you frequently notice .DS_Store file in your directories & you really don’t like this, this post might help you to get rid of it. If you are not a developer & just a Mac OS X user, I recommend … Continue reading

Downloading Large files with proper download progress

sugartin download progress bar in alertview ios step 2

Sometimes, In your app, you might need to implement coding for downloading mega/large files. We have created a illustration here for that. 1. Download sample code from here & Drag files into your project as illustrated below. 2. Now Import … Continue reading