Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Easy game examples for Android

I want to develop games for Android.

What are the best ways to do 2D games?

Are there some good resources on developing simple games for someone new to Android?

like image 527
cavallo Avatar asked Nov 30 '11 07:11

cavallo


People also ask

What is an example of a mobile game?

A well known example is the treasure hunt game Geocaching, which can be played on any mobile device with integrated or external GPS receiver.


2 Answers

NOTICE : I suggest to check out other answers with good examples. I have requested to unaccept this answer and accept https://stackoverflow.com/a/8322784/753603 answer


Well it all depends where you stand in matter of Android platform and knowledge of how it works?

Beginner

Than I would suggest start writing simple apps to add some GUI background images, and get familiar with lots of different data structures and how to deal with them. Read about background task execution such as AsyncTask.

Intermediate

Explore different Graphics engines for Android, I would suggest

  • http://www.andengine.org/

ANdEngine is game engine for android platform, It has lots of built in functionality which you can use for making games. Find tutorials on google there are lot lot lot and lot...and while I am writing this, some generous people are writing one for us :)

Expert in making game on other platform

Than also I would suggest google tutorials like this one,

  • http://www.codeproject.com/KB/android/androidBallGame.aspx

Again there are heaps of them. :)

Cheers enjoy!

like image 149
5 revs Avatar answered Oct 17 '22 11:10

5 revs


You can start by reading the Android documentation about Graphics. After that, you can try numerous tutorials and sample codes in the Resources section. There are sub-sections available for you to learn from the sample codes:

  1. JetBoy http://developer.android.com/resources/samples/JetBoy/index.html
  2. Lunar Lander http://developer.android.com/resources/samples/LunarLander/index.html
  3. TicTacToe http://developer.android.com/resources/samples/TicTacToeMain/index.html

and so on.

Working link for donut-release2 / samples

like image 29
Kristiono Setyadi Avatar answered Oct 17 '22 11:10

Kristiono Setyadi