I am completely new to game development and I have a requirement to develop a game where I need to animate players on a field . I went through few docs but still have lots of doubts.
can I achieve this using openGL ES alone. What I understand is
that openGL is part of android sdk, I don't have to do anything
extra than the actual game coding?
I saw some engines like andengine which is given as based on openGL.
What does that mean and is it better / easier to use these engines
If so is there any engine recommended for animating players on filed
?
You can use Unity 3d. unity can export and generate an apk for android
http://unity3d.com/#mobile-games
Related
I've created a few android apps but using just regular layouts and views.
Now I am trying to learn a game developing and I understand that I need to use either custom drawings to canvas or open gl to get better graphics and performance.
I just can't quite figure out where to start.
For example, to get graphics like this (see attachments) is drawing to canvas is enough, or should I learn Open GL, or is it only achievable with things like unity or libgdx?
This looks like a pretty straightforward game. A few images, a few animations to move them around, and possibly some particle effects (celebration fireworks, etc). You would get the images and then use a game engine like unity or a framework like libgdx or monodevelop.
I have experience with both Unity and libgdx (which is similar to monodevelop and XDA). I would suggest you use unity just because of the editor. This is something that I think isn't mentioned as much in the unity vs libgdx comparisons. The unity editor will allow you to prototype the game visually MUCH quicker than using a code-focused environment like libgdx. There is an open source editor for libgdx called Overlap2D but it of course doesn't have nearly as many features. For loading the scene from the editor into your game it's using an entity component system (just like unity) called Ashley. In similar to unity and is basically mimicking it.
I would recommend using libgdx only if you're an experienced developer and require the level of low level control libgdx provides, or if you just want to learn. It's good to learn and get experience with working at a lower level, such as managing the game loop and assets yourself.
Also some recommend unity only for 3D games. This was the case couple years ago, but now they have official 2D support, so it's pretty good for 2D games now. The editor works the same as for 3D games. They even have a 2D physics editor built in (assigning colliders to images, creating joints between colliders, etc).
I want to develop an adroid game.
I want to develop a simple game in 2D, like these games:
https://play.google.com/store/apps/details?id=no.dirtybit.funrun&hl=en
https://play.google.com/store/apps/details?id=com.sagego.panda.run&hl=en
I know how to design characters and other objects for this kind of game.
Can I use android canvas class in order to develop a game like the examples above?
I read that the canvas class is now hardware accelerated.
or I have to learn the hard way - openGL ?
I would try using Unity, if you still don't have good android skills, because it's more visual than code writing.
Other alternatives are LibGDX or AndEngine, with a lot of tutorials and active community out there, as they have Apache 2 License, unlike Unity thats not completely free.
AndEngine has a little learning curve as you know Java and basic Android already.
As you never developed a game before I suggest you to try something really simple at first.
Here is some inspiration : http://inventwithpython.com/blog/2012/02/20/i-need-practice-programming-49-ideas-for-game-clones-to-code/comment-page-1/
A good exercise would be to try to make it first with the canvas, then port it to a game engine or even opengl.
I have an game idea and i wants to implement that in android.
My game has much similarity with this game
please tell me which game engine i need to use to make this.
One more and i think best option to create game application in android using cocos2D library. This library is highly customized and easy to learn than AndEngine. Because i have worked with AndEngine library but it is not efficiently handle more then 300 objects on a scene. And one more limitation of AndEngine is sometime library itself throws error.So i suggesting you to use COCOS2D library it is already efficiently work in iPhone. But it also works for Android.You can see at
http://dan.clarke.name/2011/04/how-to-make-a-simple-android-game-with-cocos2d/
for android and for more concept of this library you can see from this link http://www.cocos2d-x.org/wiki/Getting_Started
There are a number of open source engines you can use like AndEngine and libGDX which is my preference, also there is the famous Unity Engine however it's not free. To learn how to make games you'll have to start simple, you can read through game examples like this libGDX clone of Doodle Jump or this 2D game demo written by Notch the creator of Minecraft.
Use Google to find information on these engines, look at their forums, tutorials and examples. Good luck.
I am wondering, if I am to make a simple basic bird shooting game (birds flying above and boy shooting them from bottom), then do I require a game engine for android develpment? Should I go through the hassle of learning AndEngine? Or Do I do it using SurfaceView/ or even animations?
Thank you
You can try to have AndEngine. Its better than SurfaceView since AndEngine is a Game Engine. Here it comes all types of Animation and Its easy for you have better game experience but we have to take care of Memory Issues here.
You can try to use Cocos2D also. List of opensource game Engine are GameEngines. Try to think in all the way to suitable for your game.
Tutorial for Cocos2d
AndEngine Tutorial
You could try out Google's new games engine for android.
It's pretty new and I don't know if any existing games utilise it, but it's in active development and new features are coming out frequently. Including the recent feature to export to IOS, making it an option for cross-platform deployment.
Here's another list of Game engines but mostly for larger-scale production games. There's an "Open Source" listing at the bottom too.
Another new cross-platform Lua-based engine to try is BatteryTech Engine. http://www.batterytechsdk.com
Free to Try
Supports Android, iOS, BB10, PC, Mac
License purchase gives you full source code.
Hey all.... I am currently trying to make a game on the android platform. I want some guidelines on choosing a good android 2D game engine. I have been looking on the internet for sometime and have found these game engines to choose from the one which doesn't have a huge learning curve
AndEngine
libGdx (The one m most impressed by)
JMonkeyEngine
For anyone who wants to know more about the different game engines the following link should help you..
http://www.cuteandroid.com/ten-open-source-android-2d-or-3d-game-engine-for-android-developers
I intend to keep the interface simple yet attractive, so want to choose the correct engine, and also want to choose the correct engine using which making complex games also is easy in my future projects. If some one could tell me commercially used free (or open sourced) game engines i would be really grateful. I even wouldn't mind learning a 3D game engine if its learning curve is not that too steep and its implementation of 2D games is also pretty simple.
Andengine hides most of the complexity from you, so its super easy to get started, but because of this you do not have full control over it. The documentation or javadocs is close to zero, so dont expect anything from there.
As for libgdx, its harder to learn, but the community is bigger and more matured, and u have more control to the engine.
no idea about the monkey engine.