Simple Open Source Android Game? - Android Q&A, Help & Troubleshooting

unsure if it's the right forum for this, but figured Q&A couldn't be wrong since it's a question.
I'm looking for a dead simple open source android game. real simple gameplay, but has the ability to get to a new level and a gameover screen.
I need this to implement and showcase a 3rd party library I'm working with to others.
any help on my search is greatly appreciated, I'll keep googling, but wanted to see if any XDA'ers had input as well. tia.

Check out the sample projects in your android-sdk.
Jetboy, snake, lunar lander, are great examples that contain all you need.

Ive developed a few games but not on android
A few easy games would be pong or frogger in my experence
Id recommend frogger if you want a game over screen and different levels

Related

tools and recommendations on how to begin developement

I'm currently looking into learning about android development. I know i have a lot to learn. I've just been applying mods/roms/kernels to my Samsung Fascinate, but now i want to start to develop apps, and possibly in the long run help the DEV's out in fixing bugs or whatever.
so far I've read some of the stuff on the android development page. i have Eclipse installed on my Arch box. currently at work i use C++, Perl, PHP. So now I'm guessing i should pick up some books on how to program in Java. does anyone have an recommendations on some books specific to android that are very helpful, or should i just rely more on Google search? Basically, in addition to learning java, what are some specific topics that i should be looking into. i figured as my first project i'm going to create an app, so maybe i should concentrate on that aspect?
any help to point me in the right direction would be great.
thanks

[Q] New to development!

Hey im a programming student in my second year and ive been wanting to play around with some android development (mostly because my school doesnt teach java or php. Im pretty experienced with visual basic and C#. But my questions is can someone help me out with a link to or something where I can take a look at some open source code for some android apps? It can be as simple as tic tac toe I dont car. Im just basically doing some research myself. Also is eclipse the best compiler for android development? Thanks
You can find quite a number of examples under 'Resources' on developer.android.com.
You may be interested to know that Eclipse is not a compiler, it is an Integrated Development Environment (IDE). What is better or not is largely a personal preference, but starting out you are likely to find more tutorials assuming you use Eclipse than anything else.
Source of pre-installed Android Appliaction is open. And you can program with eclips for Android App.
Sent from my LG-SU760 using XDA
Android is open-source, but not the apps.
You can run Eclipse, and create a new project from existing samples. You will be able to choose from a list (this samples come from the sdk, if you downloaded them).
There are some games (snake, ...) and demo apps like API demos.
And Eclipse is very good for Android development, especially if you use the plugin ADT tools.
I am more than happy to have all the eyes I can on my code. I would post a link, but (no rant here)...
AWOL: ArchWiki Offline
by
Tetractys Productions
Search for this on the Google App Store with search term "archwiki".
The code isn't great as I am a novice with both Java and Android, but you will find use of Activities, WebViews, Menus, using external Jars and perhaps a little more. If your scholarly background leads you to make a suggestion or two... please do.
Also... don't buy most of the books. They suck. The "cookbooks" seem pretty good and the Android Developer Documentation and Stackoverflow are your friends. I wasted enough money on Android books I will never read. Hope you don't fall for that too.
Rant:
10 post requirements encourages low quality posts. Perhaps its a good trade-off, but from where I'm sitting I'm drinking HaterAde.

[Q] How to create a 2D platform game?

Me and my sister would like to create a platform game like Super Mario for android.
Where should we start? We don't won't a game engine because we want to create the game ourselves.
Any Programs to write the game in. We would like to create an Android app not a flash game or an HTML game.
Thanks for any replies.
Daniel
You'll need Android SDK, Eclipse, ADT Plugin, basic Java knowledge and much patience.
To make a Mario I think you can use OpenGL, to take advantage of the hardware aceleration and make easier the development of the game physics.
Thanks RoberGalarga.
Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Thanks ✟
Moving to Q&A
You could also use SurfaceView if you do not want to take the time and learn opengl. SurfaceView implements a thread that can be used to update game physics and animation. There are some very good examples on the android developers website. I remember looking at one game called JetBoy which is included in the Android Sample projects with SDK. Check it out. I put a 2d game together using this view along with a tile map editor.
Replica Island is a game maded for fun by one of the Google employee and is both open source and available for free on the market
http://code.google.com/p/replicaisland/
of course there are infinite ways of doing a 2D platform but you can take a look at this one from the inside.

[Q] Choosing an engine for a game

So, probably asked hundreds of times before, I already searched for it and know some candidates, but since the oppinions I have found could be outdated, I'll ask again:
I want to jump to game development as a hobbie. I already have a job programming, and know C++ and Java very well (not a guru...yet! ). But when I search for game engines there are SO many to choose from.
I'd like to pick one which:
has a big community of users (for example, PlayN looks nice, but I think lacks of this. just try to google "PlayN push notifications" and nothing will appear)
is free (since it's just a hobby)
and would be nice (not mandatory) if it was possible to port to other non-Android devices (iOS, Windows8...). AndEngine looks great, but it is only for Android, and I don't know if Cocos2Dx is reliable.
extra points if the engine includes multiplayer capabilities or push notifications. I have not found information about this for PlayN, AndEngine or Cocos2Dx, so I guess they don't have these features and aim only for graphics. Moai looks promising here, but I don't want to learn to use it and then discover than the free edition is too limited.
So, I'd love to hear oppinions from game developers around here: please tell me your experiences.
BTW, I'd love to create a Civilization-like game, that's why I'm interested in push notifications and multiplayer. But I'll start with a card game, because I'm just not that mad (yet).
PS: After reading forum rules, I guess this question goes here, in Q&A, but feel free to move it to Android Game development subforum if you think it is misplaced.
I don't know about push notifications, but I think you'll have to code the multiplayer part yourself using sockets because multiplayer is different from game to game.
there is already a thread created on teaching how to create android games. here is the link
http://forum.xda-developers.com/showthread.php?t=1753131
Sent from my Desire S using Tapatalk 2

Making mobile or PC game

Hi. Does anyone here know about making games either for Android or for Windows or for both? I was always such a gamer addict but eventually I stopped playing because I feel like i played so many games that they dont work for me anymore haha. So I was thinking of creating my own game as I have ton of ideas.
But Im quite inexperienced in game development. I know a bit of programming but not sure how to proceed further so I have an moving object in 3D space. Am also not sure which language to pick, people say Java is good because if you code game in java then it will run in every kind of device.
Shireenzo said:
Hi. Does anyone here know about making games either for Android or for Windows or for both? I was always such a gamer addict but eventually I stopped playing because I feel like i played so many games that they dont work for me anymore haha. So I was thinking of creating my own game as I have ton of ideas.
But I'm quite inexperienced in game development. I know a bit of programming but not sure how to proceed further so I have an moving object in 3D space. Am also not sure which language to pick, people say Java is good because if you code game in java then it will run in every kind of device.
Click to expand...
Click to collapse
First of all game development is not hard but will take you long time and that's why it's considered hard. Every little feature you code will take you long time, then you will have to interconnect them and ensure it works correctly, then polish each of these gameplay features as well as do perfectly good visual assets.
Secondly, please don't use Java. LibGDX is the only game engine (actually its library, not an engine) for Java and it's nowhere as good as popular game engines are. Java games can be compiled once and technically be run on any platform like Linux, android and windows in same time (there are often errors though). Now while this may seem like an advancement and really great thing to have, it's actually not. Because any popular game engine will let you code your game once, and then just compile (a matter of clicking one button) a individual game package to each platform like Xbox, android, windows, browser and the like. So the only difference here is that you have to compile the game few times but you still code it once.
The game engine I would suggest you is to use Unity. Unity is very easy engine that is suited for every kind of game. One more thing Id recommend to you is to learn from free tutorial instead of paid one. One of websites that teaches you for free is this gamedev blog - actually I'm in game development for quite long time but it still taught me things i didn't know about. If you have troubles following the tutorial then you probably should learn some C#.

Categories

Resources