For my mobile programming course we've finally been given some free reign to design and develop our own application. Our only requirement is that we have to implement geo-location or sensors in some way. I've chosen to try and make a very simple game which implements the accelerometer. The basic idea is that shapes will fall out of the sky (top of the screen) and you have to tilt the phone to make the 'guy' move and catch the shapes before they hit the ground. I have some ideas for game flavor but my teacher recommends I forsake that and just get the basic game play down (we only have 10 days).
So my question for you- does anyone have any high level advice for this application I'm going to tackle? Are there any good game/physics libraries for native android?
By native I'm assuming you mean the SDK, and not the NDK since you haven't added the android-ndk tag.
The two game engines best suited for your needs are AndEngine and Libgdx. They both have the Box2D physics engine as well. AndEngine comes with several examples, and combining a few of them could give you what you need. Both engines have a good community support as well.
https://developers.google.com/maps/documentation/android/
http://www.andengine.org/
Google is your friend.
Hei Friend,
Libgdx is what I recommend for this
Thank You
Related
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.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I would like to start developing a 2D game for Android, but i haven't got the slightest clue where to start. For instance, how are the Angry Birds games developed? I'm guessing it's a 2D engine or something?
Can anyone shed some light on the matter? Anything is appreciated as i have zero ideas on where to look first.
I've used AndEngine extensively and I really like it BUT
2D games - unless you have something really, really complicated in-mind (lots of physics and collision detection), I'd recommend you consider creating them in plain old HTML (HTML5, to be specific).
Why?
Because HTML5 works pretty-much everywhere and there are some really decent toolkits for making more complex stuff (including level editors and basic physics stuff).
Moreover, you can convert HTML5 into Apps for both Android, iOS and other platforms - e.g. your game will work pretty much everywhere with minimal extra effort. Using tools like Cordova(phonegap) even allows you to access things like cameras and tilt sensors in Apps created from your HTML5 code (Dolphin Browser on Android even allows those apps to run in the browser!)
If you do want fancier stuff, Corona is pretty decent and easy to learn and cross-platform too - and Andengine is great if you're happy to be stuck on Android!
I recommend LIBGDX
http://libgdx.badlogicgames.com/index.html
Open source, java, cross-platform, good support for Open-GL, lot's of examples and a good community.
Yes, Angry Birds was developed on its own 2D engine. I recommend to look at these engines:
Corona SDK - really simple crossplatform(!) engine. Nice one to start.
AndEngine - havent any type of documentation, but there are a lot of references and useful extensions, including Multiplayer. Good community
Marmalade (AirPlay SDK) - really powerful, but complex engine. Many hits were made on it
Also you can use Unity3D with 2D extension. Its awesome engine.
Good luck with your beginnings ;)
Persnally, To Get started with your first 2D game, Don't straight away start with a Game Engine or 2D Frameworks.
Here's a Game that I developed with just the bitmap manipulation logic and a java thread to run the game.
Parachute Penguins
https://play.google.com/store/apps/details?id=com.positivesthinking.parachutepenguinsfree
Create a Java thread that serves as a game loop.
Make use of SurfaceView and manipulate bitmaps and with onClickListeners you can achieve a simple 2D game.
Go for Game Engine and Frameworks once you are comfortable with it.
I'd recommend AndEngine. They have a really good forum plus their example code is pretty much self explanatory.
If you're looking for a headstart, follow this tutorial.
Go for AndEngine!
Felgo (felgo.com) offers several tutorials for any skill level. It's a cross-platform 2D game engine.
There is already an open-source Angry Birds clone that was made with Felgo.
It also also comes with ready-to-use game templates for the most successful game genres like tower defense, platform games or puzzle games and provides reusable components for handling multiple display resolutions & aspect ratios, animations, particles, physics, multi-touch, gestures, pathfinding and more to prototype and build games within days API reference.
It is all well documented!
Try here, this helped me loads: http://www.javacodegeeks.com/2011/06/android-game-development-tutorials.html
I already answered similar question in another post: Android 2D game development without an engine
I posted a tutorial at http://www.youtube.com/watch?v=PnnHGCKrIzw
Assuming that you are familiar with Java, Eclipse (or similar compiler), Google API, etc. Here are the steps to build a full-blown 2D Android game:
Use drawable-nodpi for sprite images (gives sprite size consistency
across screen densities and sizes)
Use different layouts to support various screen sizes (e.g.
layout-large, layout-xlarge, etc...)
Use TranslateAnimation and ObjectAnimator to animate sprite movements across screen
Use math to figure out sprites collision (e.g. screen coordinates
and sprite location etc.)
Use handlers and condition statements to control the game events
You can test the outcome of following the above guide to developing a 2D Android game by checking out the game Yum Yum Pow available on Google Play. The free limited version is available also on Google Play and can be downloaded at:
https://play.google.com/store/apps/details?id=com.wildroid.yum.yum.pow.limited
I have seen several posts here about cocos2d-android, so ambition to get more idea on it drag me at coco2ds-android-1 and a good example .
My analysis can not find any significant benefit of using coco2ds instead of usual 2d approach of surfaceView and SurfaceHolder.Callback .
I will be thankful if anybody have expertise over coco2ds-android will guide me about benefits to use it instead of usual gaming approach .
Just by clicking on links starting from the ones in OP, I have came across http://dan.clarke.name/2011/04/how-to-make-a-simple-android-game-with-cocos2d/ - which states the obvious answer you are looking for.
First of all, this is a 2D gaming engine. All of the physics and whatnot effects are just there for you. No need to re-implement from scratch
Secondly, this is actually a port of the iPhone gaming library with the same name - great news if you also plan on porting to iPhone. And thirdly it is open sourced, meaning you can tweak anything accordingly.
I have noticed however that this is a pure java library, so do not expect amazing performance. If performance is critical, google for something NDK based, not SDK based. I could not advise here as gaming is not my thing.
I'm trying to find a good 2D graphics engine for a game... Something for a game like a top-down (slight angle so it looks 3D...) allowing the user to move around.. that sort of game...
Any help would be great, Thanks!
If I understand you it sounds like you want to make an "isometric" style 2D game. There's another question on stackoverflow that has a good answer as well.
As others have noted, AndEngine might be the way to go. Apparently it can load tile maps in Tiled Map Editor format (TMX), which offers support for isometric maps.
I recommend AndEngine.
They have an app demonstrating its ability on the market called AndEngineExamples.
http://www.andengine.org/
examples are available and you check out performance etc.. I know there are even some youtube videos specific to andengine
Andengine is great but it's resolutely 2D and you sound like you'd really like to do 3D.
An obvious alternative would be Unity - as it supports Android amongst it's many deployment platforms (and it's free!!)
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.