Techbirds | Knowledge Hub

Methods to play with touches virtual bool ccTouchBegan(CCTouch* touch, CCEvent* event); virtual void ccTouchMoved(CCTouch* touch, CCEvent* event); virtual void ccTouchEnded(CCTouch* touch, CCEvent* event); virtual void ccTouchCancelled(CCTouch* touch, CCEvent* event);   Firstly, add the methods in your .h file Override the methods in your .cpp file   In your .cpp file in the init() method add […]

2 total views, 2 views today

For moving the bodies around the four sides,we have to use the linear velocity in the update function: Let us assume we have to move all the kinematic bodies around the screen,then in the update function,we will firstly check either the body is kinematic or not: placed the sprite and the body at the min_x […]

19 total views, 17 views today

Hi friends. In this tutorial I am going to tell you how to use editbox which is like a textbox in cocos2d-x. There are some simple steps Step 1: Step 1 is as simple. Just create a new project in cocos2d-x Step 2: Now just remove the extra matter in your HelloWorldScene.h so that it […]

9 total views, 9 views today

Top 10 New Features in CSS 3 The latest version of Cascade Style Sheets, CSS 3, was developed to make Web design easier but it became a hot topic for a while because not all browsers supported it. However, trends change quickly in technology and all browser makers currently are implementing complete CSS 3 support. […]

5 total views, 5 views today

Outlines of an HTML5 Document The HTML5 specification brings several new elements to web developers allowing them to describe the structure of a web document with standard semantics. This document describes these elements and how to use them to define the desired outline for any document.  Structure of a Document in HTML 5 All content […]

3 total views, 3 views today

10 Best Practices with jQuery I’ll try to give an order to my tips, you will learn first the best practices to use with jQuery with its basic features then we’ll dig into more advanced features. Let’s start it, be focus! 1. Include and Load jQuery into your page You could assume than loading jQuery […]

7 total views, 7 views today

step -1: get the video path and video name in string fromat step – 2: inclue facebook sdk in your hadder file. step – 3: create one method like shareOnFB and pass sourePath of video step – 4: copy this code -(void)shareOnFB:(NSString *)sourcePathString{ NSString *filePath = sourcePathString; NSData *videoData = [NSData dataWithContentsOfFile:filePath]; NSDictionary *videoObject = […]

7 total views, 7 views today

Hello Folks, First of all i would like to thank my mates who gave me this exposure to cocos2dx and feeling very happy after integrating Google adMob Banners in the recent past. Step Wise Integration: Step 1: Open ADT, open SDK explorer. Step 2: In the opened window, move to extras at bottom, there check […]

13 total views, 13 views today

   BUG LIFE CYCLE Bug status description: These are various stages of bug life cycle. The status caption may vary depending on the bug tracking system you are using. 1) New: When QA files new bug. 2) Deferred: If the bug is not related to current build or can not be fixed in this release […]

6 total views, 6 views today

Step1: Obtaining a Google API Key To create your api key: 1. Visit the APIs Console at https://code.google.com/apis/console and log in with your Google Account. 2. Click the Services link from the left-hand menu. 3. Activate the Google Maps API v3 service. 4. Click the API Access link from the left-hand menu. Your API key […]

8 total views, 8 views today