Tuesday, April 10, 2012

Game Development basics

Game loop



Anything in Android happens inside an Activity. The Activity will create a View. The View is where everything happens. It is where the touch takes place and the resulting image gets displayed. Think of the Activity as a table that holds a sheet of paper (the View) enabling us to draw something. We will use our pencil to draw something onto the paper. That will be our touch and the actual chemistry happens on the paper so the result of our interaction with the View produces an image. The same is with Activity and View. Something like the following diagram:

Android Game Loop

Read more: http://www.javacodegeeks.com/2011/07/android-game-development-basic-game_05.html#ixzz1rf9El6gX








Source: http://www.javacodegeeks.com/2011/07/android-game-development-basic-game_05.html

http://obviam.net/index.php/texture-mapping-opengl-android-displaying-images-using-opengl-and-squares/

http://www.koonsolo.com/news/dewitters-gameloop/

Monday, March 19, 2012

Enabling Android Device for App Installation


Setting > Application > Unknown sources (ENABLE this)

Setting > About Phone > (Provides details on the android version the phone is running on )

Setting > Application > Development > USB Debugging ( Enable this to install application )


script to install apk file on the device ->

adb install TestApplication.apk

script to check check device details

adb devices



Mac setting PATH

cd /etc

look for file bashrc

add the following text

export PATH=:$PATH:/Users/prakash/android-sdks/tools:/Users/prakash/android-sdks/platform-tools