game source code

by a a » Thu, 10 Mar 2011 17:19:50 GMT

Sponsored Links
 HI guys,

 would you share with me where can i get some android game souce code
like "angrybirds"...?

 i want to develop the game, but i don't know how start?


Re: game source code

by Robin Talwar » Thu, 10 Mar 2011 17:25:38 GMT


Nobody has that and the owner will not do that. Even if someone provides
you, u wont be able to understand that complex code

Have you ever done game development? start making a simple game first . Its
not a CMS u are working on its android.


Sponsored Links

Re: game source code

by 9:30 Aaron R. » Sat, 12 Mar 2011 04:21:15 GMT

 As Robin Talwar said, you won't be able to get the source code for
Angry Birds; it's just not possible. However, there are some open
source Android games out there. You can search github (http:// for android games. There is also the open source
Replica Island made by a Googler ( 


Re: game source code

by Patrick » Sat, 12 Mar 2011 06:10:42 GMT

 Maybe try AndEngine? 

and the example source code: 

and build from there.

- Patrick



Re: game source code

by Indicator Veritatis » Sun, 13 Mar 2011 03:27:10 GMT

 That is source for a game engine, not a game. Of course, most game
developers will want to use a game engine rather than write all that
code from scratch...


Re: Re: game source code

by brian purgert » Sun, 13 Mar 2011 05:13:07 GMT

Re: game source code

by Patrick » Sun, 13 Mar 2011 06:30:03 GMT

 It's source code for examples that make use of the engine's features.
Try out the examples package (available on the market). With a little
creativity, imagination and coding you'd have a good start on a game.

- Patrick


Other Threads

1. ItemizedOverlay.hitTest incorrect

It appears that the hitTest method is not working right when I iterate
through the items in my ItemizedOverlay and call hittest on them in
the onTap(GeoPoint, MapView) method.

I am doing this because I want to handle taps both when they are on an
item and not (where I create a new item).  If I override both onTap
methods the onTap(int) never gets called...

Anyway, the problem I have with hitTest is that it only returns a hit
if you tap the upper left corner of the display (where there is no

I wrote the following in the onTap method

for (OverlayItem item : items) { itemPoint =
mapView.getProjection().toPixels(item.getPoint(), null); bounds = item.getMarker(0).getBounds();
        bounds.offset(itemPoint.x, itemPoint.y);
        if (bounds.contains(screenPoint.x, screenPoint.y)) {
                .<handle item tapped>
                .return true;
} // for

I suspect that the hitTest method is not offsetting the marker to the
location of the item...
Since the arguments of the hitTest don't take the MapView or
Projection, I don';t see how it can work right...


2. Triggering an AppWidget Update

I have some questions about the correct approach for updating an
AppWidget's display.

Since this is a beginners forum, please let me state what I already do

1) I can use android::updatePeriodMillis to specify the update
   interval.  When this interval has elapsed the phone is woken up.
   Intervals of less than one hour are not a good idea.

2) Updates can be triggered by an alarm that will not actually wake up
   the phone.

What I'm confused about is how/why/when to trigger an update.

Let's say I am creating an AppWidget that will display the time of my
next appointment.  The widget needs to know the current time and the
time of my next appointment.  When the current time is after the current
appointment the widget has to display the time of the next appointment.

For this widget to work it must be regularly checking the time and the
calendar since at any minute it might be time to display the next
appointment.  Does this mean I have to update the widget's display every
minute?  Clearly not, but how else?  In actuality, I only really need to
update the display if the user is looking at the screen.  But do we only
update if the screen is active?  If so, what about if that update is a
time-consuming process?  The UI would then appear non-responsive.

So what the is correct approach for this kind of problem?


Jake Colman -- Android Tinkerer


3. Problem with developer console error reporting

4. vold: about multi mount

5. Activity lifecycle difference between device and emulator

6. button OnClick method won't fire - no matter what

7. Remove sound subsystem