how to develop graphics in android application - android

i have just gone through making some basic apps on android and was wondering
how to get graphics on the screen....and how to go about
developing something like the tom cat application first and then go onto games...
could you'll plz point me in the right direction as to how to approach this...
and wat all it requires?

I highly recommend you read through this series of tutorials to get you started with drawing 2D graphics on Android for games.

The Android API "Lunar Lander" got me started on 2D gaming. Of course, it's now apparent that there are flaws in it the demo, but still.. It gives you an idea of how to draw objects on the screen.

It sound like you are new to development, if yes: you should read more basic
Everything is on android development official site.
Ho through basic and learn math then you will be able to do complex apps like Tom cat

Related

What do I have to learn or should use in creating a 3D android game?

My thesis is to create an 3D android game. I have installed the 3D softwares like 3DS Max, ZBrush, Blender. I also downloaded Android SDK for Windows and I have Eclipse Juno. But I don't know how to start. Thank you in advance. :)
If you want to write a game, use a game engine.
I would advice against using OpenGL directly if you want to focus
on game mechanics or story. 3D game engines like
Unity or JMonkeyEngine
give you all the tools you need to turn your 3D assets into a game:
Importers for various file formats, a scene graph,
math libraries, and usually tons of example projects that get you
started quickly.
If you want to write a rendering engine, use OpenGL
With OpenGL you can build everything mentioned above yourself: Write
or find importers for your assets, figure out a lighting model, write
a scene graph. If you want to do all that, cool, use OpenGL. But
doing this technical stuff will keep you busy; you will have less time
to make a really great game.
I prefer OpenGL ES for Android. Good performance and easy enough to learn.
It's better to start from basic with opengl and then understand concept of using 3d and then prefer standard tool to use.
I have listed android game engine tool for 2d and 3d. Hope it might help u.
https://stackoverflow.com/questions/17163446/what-is-the-best-2d-game-engine-for-android/17166794#17166794
Start with unity3d which is a game engine, I am not sure but the names that you have posted are used for making 3d models for the game.
Your Thesis? That's pretty broad scope! :)
What I would be looking for, is something with lots of example code (since you say you don't know where to start) and good community involvement (ditto the start thing).
If you only need a single player setting, then I would suggest libGDX as a place that would be a good jumping off platform, as there are lots and lots of step thru tutorials along with lots of example code (and a very up to date wiki on the API), and a pretty good group at helping out with issues.
Since it is open source, you can dig as deep as you want into the inner workings to understand (or be mystified like me) as to how the code is accomplishing whatever task you are looking at. (which might be handy for your thesis)
While it might not be quite as polished as some other commercial 3d development kits, the BadLogic crew has made some very big progress the past few months on the 3d side of the house, along with breaking my JSON code... thanks! :) )

3D Scene Creation & SDK

I am looking to create a 3D scene for Android devices.
I do not know where to begin, so help would be appreciated.
I, basically, need to create the 3d scene (what to use?) allow objects to be added or removed from the scene, and have an SDK to load and display the scene on an Android device.
I know all this would be ideal in a single resource, but I know I will have to adapt function calls to JNI/Android OpenGL.
Any help for how to get started or where to begin research would be appreciated.
PS. I will use a viewport to look into the scene from different perspectives.
Maybe you are looking for something more advanced but processing.org is a great place to start if you just want to use Java.
There is a Processing.org IDE for Android and you can use a plugin for eclipse.
There are a lot of great 3D modelling libraries that are easy and fun to use but also really good.
Here are a few links that may help if you think it's worth looking at.
One of many cool videos showing what you can do with processing.org
A less cool but interesting demo
Some libraries
The processing Android Wiki
Follow the links...
http://developer.android.com/guide/topics/graphics/opengl.html
http://www.droidnova.com/android-3d-game-tutorial-part-i,312.html
Tutorials and libraries for OpenGL-ES games on Android
http://www.enfis.it/archives/14

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?
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!
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:
JetBoy
http://developer.android.com/resources/samples/JetBoy/index.html
Lunar Lander http://developer.android.com/resources/samples/LunarLander/index.html
TicTacToe http://developer.android.com/resources/samples/TicTacToeMain/index.html
and so on.
Working link for donut-release2 / samples
Pretty Good documentation on How do I get started making Android games ,

How to start with 2D

Ok my question is simple:
How do I start working with 2D graphics on android? Untill now,I found on the how to make almost anything on Android,however with graphics I see is harder.
On the android sdk website,I get some simple codes that don't really help me,and I also searched for a book,guess what,I didn't find one that actually shows you how to make a little game explaining me what does every line of code.
So: How do I start working with 2D graphics? I'm interested because I want to make some games.I would be very happy to find a tutorial for ex. that shows you how to make a little character that just jumps over a box.I know you need an engine and all that stuff,and I would actually want to learn how to make a little engine.
libGDX runs on Android (and a few other platforms) and provides high level 2D graphics features like sprites, fonts, tile maps, particles, etc.
Tutorials here.
A few complete demo games with source code here.
Here's a whole series that seems pretty decent, and starts from the beginning.
Also, the techniques of "generic" 2D programming apply, so general-purpose game engine information is useful as well.
If you are interested in android games(2d), I recommend this book http://www.amazon.com/dp/1430230428/
The following book is very good for learning 2d graphics in Android.
"Android 2D graphics with Canvas API".
http://www.amazon.com/Android-Graphics-Canvas-API-ebook/dp/B00DKIAVK8/ref=sr_1_8?s=books&ie=UTF8&qid=1374420538&sr=1-8&keywords=android+2d
It is not for game developers though.
It teaches how to use graphics primitives and work with different coordinate systems. It also has a chapter on multithreading.
It has many simple examples good for beginners.

Android gamedev advice

I'm planning to develop a simple tic-tac-toe 3D game for android as a starting point (practical task to learn and do something useful), but devguid seems to be more of a reference than something with what I can get my hands on particular task. Can someone advice what should be investigated? (or maybe I'm searching for it incorrectly)
EDIT: I'm also considering other options on learning android development. (Though, the "practice while learning" approach is preferred).
EDIT:
My purpose: learn how to develop apps for android && create an app, which is fun and can be placed on android market
My initial "data": strong java + java ee, basic C/C++, willing to learn
Means to achieve purpose: devguide is more of a reference, and I need a solid start with lots of explanations. Need an advice here.
You see, to my mind there is no sense to read books and so on. First reading starting manuals from Google should definately help. When you are done with them you should jump into development. Of course, you will have a lot of questions, however there are lots of great manuals and tutorials all over the internet, so you will rarely have difficulties. If you even though have them, come here and we'll help =) Check out my devBlog
I did a simple tic tac toe for my first Android application and I was able to create a working game quite quickly using a table of image views. You just need to add clickHandler events onto the image views so they change image on click, and write a function checking whether the game is won after the click.
Try out several tutorials here, especially testing ones. Get your hands on Pro Android Games with reading devguide when some part of android development is unknown.
This will result in a rapid development (with a zero level starting point) and small learning curve of basic + in deep android development.

Categories

Resources