meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
android:gameexample [2012/07/05 16:07] – created esa-petriandroid:gameexample [2012/07/05 22:14] (current) esa-petri
Line 1: Line 1:
 ===== Simple Game Example ===== ===== Simple Game Example =====
 +this example is snake game from Googles examples. It is slightly modified to use accelerator as input
 +   * http://dl.dropbox.com/u/64923329/code/Snake.zip
  
 +code is complicated and divided in 5 classes.
 +   * snake.java only starts program
 +   * snakeview.java has controls and moving of snake
 +   * tile view has tiles
  
 +  * also files from accelerometer class are implemented to give control whit accelerometer. Look for sensor update in snakeview to see how it works 
 +  
 Check also examples in Eclipse like accelerometerplay, snake, lunarlander. Check also examples in Eclipse like accelerometerplay, snake, lunarlander.
  
 Links: Links:
 +   * http://obviam.net/index.php/getting-started-in-android-game-development-with-libgdx-create-a-working-prototype-in-a-day-tutorial-part-1/ 
 +   * http://www.javacodegeeks.com/2011/06/android-game-development-tutorials.html 
 +   * http://obviam.net/ 
 +   * http://obviam.net/index.php/the-mvc-pattern-tutorial-building-games/