Subscribe to web2feel.com
Subscribe to web2feel.com

Welcome to My Website

ShaTechs... Technology at your reach...

How to create a cocos2d app in android SDK

Posted by shajir Friday, June 17, 2011 3 comments
We can create a simple cocos2d helloWorld app in android sdk simply by follow the steps below. Before that you need eclipse in your system with android sdk. 1. Open eclips and select File-->New-->Android Project,    then you got a window like this  2. You just name the project and other fields like in the image and hit the finish button. Now your project is in workspace 3. Open your project --> src --> com.shatechs.firstcocos2d...
At first you download and install the cocos2D library to your mac. The instructions for downloading and installations are available from here. Now you can create cocos2D iphone application in your xcode simply by following the steps given below, Start xcode and select cocos2d           2. then name your project and push okey    3. you can see your helloworld scene from the class folder...
Cocos2D-iPhone-Extensions is a collection of quality 3rd party extensions and additions for the Cocos2D-iPhone Engine. Many Cocos2D developers love to share code on their blogs & cocos2d forum. With this approach it is difficult to find the code or know if the code is compatible with latest cocos2d source. Many developers are forced to reinvent the wheel, and this leads to multiple duplicates of the same functionality, sometimes even with exact the same class names (good example – CCSlider, there are at least 3...
Follow steps below 1) In GameConfig.h        change to          #define GAME_AUTOROTATION kGameAutorotationNone 2) InRootViewController.m commenting the following lines as /* #elif GAME_AUTOROTATION==kGameAutorotationCCDirector     //     // EAGLView will be rotated by cocos2d     //     // Sample: Autorotate only in landscape mode     //     if( interfaceOrientation...

What is Web feed

Posted by shajir 0 comments
A web feed (or news feed) is a data format used for providing users with frequently updated content. Content distributors syndicate a web feed, thereby allowing users to subscribe to it. Making a collection of web feeds accessible in one spot is known as aggregation, which is performed by an aggregator. A web feed is also sometimes referred to as a syndicated feed. A typical scenario of web feed use is: a content provider publishes a...

What is RSS

Posted by shajir 0 comments
        RSS is a technology that is being used by millions of web users around the world to keep track of their favorite websites. RSS (most commonly expanded as Really Simple Syndication) is a family of web feed formats used to publish frequently updated works—such as blog entries, news headlines, audio, and video—in a standardized format. In the ‘old days’ of the web to keep track of updates on a website...

GPS iPhone Module

Posted by shajir 0 comments
Connected the SiRF III EM-408 GPS module to a thin PCB and an iPhone connector. The RX and TX lines of the GPS module are connected to the corresponding signals of the iPod connector to allow communication between the two devices and power is taken from the iPhone connector. This could be used with a custom application on the iPod Touch or the iPhone (without on-board GPS) to receive location information. This is not a plug-and-play...
This serial modem brought to you by Switch Science allows you to interface an Arduino board with your iPhone or Android smart phone through the audio jack. Now you can integrate your smart phone into your next embedded project. Some software is required on the phone side, and of course there is an Arduino library. Because the modem and supporting software exploits a connection originally intended for audio, some corruption of the...

Cocos 2D

Posted by shajir Friday, June 10, 2011 0 comments
Cocos2D is the leading, open-source, royalty-free smartphone game engine. It’s easy to use, community-supported, reliable, mature, and over 1500 mobile iOS games have been published using it! And now, thanks to Cocos2D-X, it’s possible to release games for Android with the same codebase.You can play a sound effect, animate a flipping sprite, flash some rad custom font, all with just a couple lines of simple, pure Objective C code....
The following diagram shows the major components of the Android operating system. Each section is described in more detail below....

What is android SDK

Posted by shajir 0 comments
Android is a software stack for mobile devices that includes an operating system, middleware and key applications. The Android SDK provides the tools and APIs necessary to begin developing applications on the Android platform using the Java programming language.  It is a software development kit that enables developers to create applications for the Android platform. The Android SDK includes sample projects...
For this we can use vertically and crosswise method. This can be explain using a simple example 9 x 7 For this subtract 9 from 10 and write the result as 9   1 Then same is doing for 7 ie: 7   3 After that write them on two rows a apply crosswise subtraction ie:    9    1            \  |         7    3       (7-1) (1x3)  =  63 that is it.        or    (9 -3)    ...
A driver development kit (DDK) is a set of programs and related files that are used to develop a new software or hardware driver or to update an existing legacy application driver for an operating system. (A driver is a relatively small program that addresses the unique requirements of a kind of hardware or a special software application.) Typically, DDKs are used by device manufacturers and software application developers. Some DDKs can be downloaded from the maker of the operating system. Others can be purchased from a third...

Subtracting numbers using vedic maths

Posted by shajir Thursday, June 9, 2011 0 comments
We can easily subtract a big number from powers of 10 using vedic maths by following the steps given below.We use all from 9 and last from 10 method for this.For example 1) 1000 - 639 is as follows     1000 - 639  =   9-   9-   10-                             6     3     9                                3  ...

Vedic Mathematics

Posted by shajir Wednesday, June 8, 2011 1 comments
 According to Sri Bharati Krsna Tirthaji's research all of mathematics is based on sixteen Sutras, or word-formulae. For example, 'Vertically and Crosswise` is one of these Sutras. These formulae describe the way the mind naturally works and are therefore a great help in directing the student to the appropriate method of solution. Perhaps the most striking feature of the Vedic system is its coherence. Instead of a hotch-potch...
In existing half mirror 3D camera systems with separate lenses for the left and right eyes, the parallax range is adjustable, enabling the depth of the 3D images to be modified . However, when operating the zoom and focus functions of such systems, the sensitivity of the human eye, in particular to differences in the size and rotational movement of dual images, as well as any vertical misalignment or difference in image quality has meant...
You can put admob on your android app successfully by following the steps step1: Register your app in admob and get the publisher id. step2: Change the AndroidManifest.xml by adding the following lines of code after closing activity <meta-data android:value="a14d4b7f95df21d" android:name="ADMOB_PUBLISHER_ID" />                          ...

iOS 5 Released

Posted by shajir 0 comments
Recently Apple Released iOS 5 at WWDC 2011. Steve Jobs announced iOS 5. iOS 5 has Push Notification, Widget and Left to right flip options are available. iOS 5 is totally different from iOS 4.3.3 and it’s developed very advanced. iOS 5 can jailbreak iPad 2,because iOS 4.3.3 didn’t support iPad 2 and iPad 2 users complained about that. So iPhone Dev Team, Chronic Dev Team as well as Geohot waiting fro iOS 5 and today it’s announced...
Mac OS X Lion is set to be the eighth major release of Mac OS X, Apple's desktop and server operating system for Macintosh computers. Lion is set to be released in July of 2011.New or changed features   Some new features were announced at the "Back to the Mac" keynote in October 2010, and the Apple website was updated in February 2011 with more details. Other features were announced at the WWDC 2011 keynote or on Apple's Mac...

Sprites in cocos2D

Posted by shajir Tuesday, June 7, 2011 0 comments
A cocos2d' sprite is like any other computer sprite. It is a 2D image that can be moved, rotated, scaled, animated, etc.  Sprites (implemented using the CCSprite class) can have other sprites as children. When a parent is transformed, all its children are transformed as well. Since sprites are subclass of CCNode, they can be transformed manually or by using actions. See Actions for more detail about actions....

Layers in cocos2D

Posted by shajir 0 comments
A CCLayer has a size of the whole drawable area, and knows how to draw itself. It can be semi transparent (having holes and/or partial transparency in some/all places), allowing to see other layers behind it. Layers are the ones defining appearance and behavior, so most of your programming time will be spent coding CCLayer subclasses that do what you need. The CCLayer is where you define event handlers. Events are propagated...

Director in cocos2D

Posted by shajir 0 comments
The CCDirector is the component which takes care of going back and forth between scenes. The CCDirector is a shared (singleton) object. It knows which scene is currently active, and it handles a stack of scenes to allow things like “scene calls” (pausing a Scene and putting it on hold while another enters, and then returning to the original). The CCDirector is the one who will actually change the CCScene, after a CCLayer has asked for...

Scenes in cocos2D

Posted by shajir 0 comments
A scene (implemented with the CCScene object) is more or less an independent piece of the app workflow. Some people may call them “screens” or “stages”. Your app can have many scenes, but only one of them is active at a given time. For example, you could have a game with the following scenes: Intro, Menu, Level 1, Cutscene 1, Level 2, Winning cutscene, losing cutscene, High scores screen. You can define every one of these scenes...

Search This Blog