Working with new AndEngine - android

I've recently started working with AndEngine. I went through online tutorials, video lectures, bought a book by Rick Rogers but the basic problem with AndEngine is that all its study material is out-dated and the new version has most of the packages changed.
I tried to execute AndEngine examples but since they are built using previous version of AndEngine they don't work with new libraries. I'm very confused how should start learning new AndEngine since I can't find any tutorials or examples!
It would be really helpful if you could provide me with a link to a previous version of AndEngine so that I could atleast implement older examples. Any better alternative to AndEngine would also be appreciated!

I recently started working on latest AndEngine, and I am developing a 2d game. Here is very nice tutorial and it's using latest AndEngine code to get you started :).
In my point of view AndEngine is best for Android 2dGame development. Other good option is Cocos2d-java but it lacks proper documentation etc. And if you are good in developing c++ or Lua then you should have a look at cocos2d-x for cross platform development. Here is the link for different 2d-game Engines including there game samples and other details.

Related

iOS + Android 2D Game Engine

I already found some answers to this question here but they were all two years old or more.
Can anyone suggest me a cross platform (iOS+Android) mobile 2D game engine (Java or C++)?
I'd go with AndEngine but it supports Android only.
Thank you.
I recommend libGDX. As you may have read from a few of the other threads in StackOverflow, it is one of the popular ones and there is sufficient material provided to assist you to get familiar with.
Here is their Github page, which has loads of information to get you started (see external tutorials in the wiki). I would also like to recommend dermetfan's libGDX channel for a basic introduction that I have found useful with certain components (search dermetfan libGDX in youtube, would provide link but I'm restricted to two links).
Personally, I have used libGDX as a mobile 2D game engine for a work project, and I've found it really nice. Hope this helps!

libGDX- where is jogl package?

Going thru this tutorial
http://www.playandroid.com/blog/a-review-of-libgdx-cross-platform-library-for-games-development/
and have downloaded the source files for 0.9.9 libGDX here
http://libgdx.badlogicgames.com/download.html
For some reason the jogl (com.badlogic.backends.jogl.*) package is missing.
Its not here either
https://github.com/libgdx/libgdx/tree/master/backends
Can any libGDX gurus help?
Libgdx has seen some major changes in the last year. A complete 3D Api rewrite, Switch to Robovm and Deprecating Xamarin for iOS. and of course the Jogl backend deprecation is one of them. Jogl Backend Deprecation
It’s been lurking in the air for quite a while now, but i will
deprecate the Jogl backend this week. The Lwjgl backend is a lot more
functional and stable, and actually easier to integrate in SWT or
Swing apps via LwjglAWTCanvas. You can even add multiple canvas
widgets that share the same context.
Many tutorials out there are outdated.
I recommend you to check the Official Wiki for the most updated information about libgdx.
Actually, you can use JOGL 2 with libgdx - mainly because of the efforts of JOGL crew; see here for details. It's semi-actively developed, with newest updates dating to 2014 as of 2014...
You can use the libGDX setup tool. You just need to run the packaged file called
gdx-setup-ui.jar
Go though the steps to create a new project with all the dependencies already configured. You can find a detailed tutorial at the libGDX wiki on github.

Samples on AndEngine

I want to learn AndEngine.
How should I start? I don't see any good examples. I even tried finding the downloadable source code for AndEngine and MagneTank but no luck.
I suggest http://www.matim-dev.com/tutorials.html which includes many tutorials. These are often supported by code examples. I especially suggest the "Full game tutorial articles series". With this you will develop a game from scratch and learn very much about the AndEngine.
Try to checkout their project from here and download some sample source from internet e.g. here and run the examples keeping both source in a common project.
If you are looking for learning basic AndEngine game programming, I suggest looking at this book: AndEngine for Android Game Development Cookbook.
This is a very good way to start. I have learned it in just 1 week, and am now creating my own game.
Drop Block is an exampmle from google play store.
http://jimmaru.wordpress.com/2011/09/28/andengine-simple-android-game-tutorial/
and the famous example towers......> http://www.raywenderlich.com/12065/how-to-create-a-simple-android-game
Since AndEngine is composed of several sublibraries I created a repo manifest to use in order to have all the needed to try the examples.
You can find it here: https://github.com/gipi/AndEngine-repo
Many People have already answered here and I think they all are right:
But I want to include my answer as well , because I started as a rookie in AndEngine and now I am still a rookie but with a little more knowledge than earlier.
1) Install the AndEngine APK from Google Play, test all the functionality this engine shows in that, see if the game you are thinking to make is possible with all those tools in the APK.
2) As soon as you are ready go to github page of AndEngine and install it.
3) Tweak the Example (MOST IMPORTANT), you will not learn what AndEngine is and what it can or cant do unless you tweak the examples in the AndEngine library.
4) Now you have a basic understanding, so its time to start a game.
5) Go to matim-dev blog on how to make a complete game tutorial , it is the best tutorial on andengine so far in Internet.
6) If any problem ask your question in the andengine forum , well they never answer quickly but all the problems you will face are already discussed there so no problem just go for it and start AndEngine.
Pros and cons of AndEngine so far for me :
Pros :
i) not well documented, but still you can tweak the code easily and understand very fast.
ii) Use of Box2D is great with this, Animation Sprite everything works fine.
cons
i) Very slow compared to other frameworks, deleting and detaching bodies and sprites is very clumsy, after 3 months of development of AndEngine today also I am facing problems with deleting sprites and detaching bodies in AndEngine.
ii) Attaching google ads is a nightmare in AndEngine.
Try some basic app development on Android to get Fimilar with environemt.
But to get basic concepts you should read first chapter of
AndEngine for Android Game Development Cookbook by Jayme Schroeder
and Brian Broyles
from here
Create a account on Github(and fetch the code)/or download the AndEngine(Zip) locally. and experiment with examples.
further more, Download andEngine Android app to see examples in Motion!!
This is also useful link: Java Code Geeks

andengine vs no framework development

I am trying to learn to create 2D games on android, and I have heard that andengine is one of the best tools for that. I tried using it, but unfortunately there I have encountered numerous issues with andengine having little documentation, and no stable place where I can learn things. So my question is that what would you recommend to a completely newbie developer? Should I try learning andengine, or learn things the hard way? And can you please provide some good links to learn? So far a lot of links I found were quite old and would not work properly all the time.
Thanks to anyone for their help.
Also just to clarify, I am middle skilled in 2D game development (especially in java and C++), so I know the basic structure, my main issue is making things run on an android since I am completely new to android itself.
With andengine, your best bet is to download, compile and run the sample games and examples. From reading through and understanding the source code for those, you'll learn how to use it. The examples in particular are effectively documentation, they're very good!

3D Scene graph toolkits for Android

I was wondering if there is any 3D scene graph toolkit available or at least in development for Android? I could not find anything, assuming that all existing solutions for Java won't run on the Android platform.
I played around with the simple but quite powerful JPCT library that is supported by quite an active forum. The author has ported the libary to Android, and shows some nice demos on his site.
http://www.jpct.net/jpct-ae
You might look into JMonkey Engine. They are working on an Android version:
http://www.jmonkeyengine.com/forum/index.php?topic=13643.0
http://jmonkeyengine.com/blog/blog/2010/02/10/android-support-confirmed-for-jme3/
Have you tried out JavaFX Mobile? http://java.sun.com/javafx/index.jsp
I'm looking for one as well. I came across this today, but I have no idea if its actually any good -- the company site looks kinda sketchy!!
http://www.artfulbits.com/Android/aiCharts.aspx

Categories

Resources