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 9 years ago.
Improve this question
I am new to android development and I plan to make a 2d game engine but I don't really know where to start. I read something on the internet but I don't find any good opengl es documentation for android, I don't even know where to start.
If you have no idea where to start, I will point you to the excellent book Beginning Android Games. If you are serious about this, then it is more than worth the investment.
This is a beginner/intermediate text, but in the book the authors (Mario Zechner & Robert Green) create a fairly decent game development framework - not exactly a fully blown engine but it is highly reusable and easily expandable and, unless you've created a game engine before, I would advise you to walk before you try running. Creating a game engine is very complicated so start off with something that you will be able to finish and use, then once you've got that down you will have the confidence you need to build your own.
For me this book was the perfect introduction to android development - I had a great deal of programming experience but mostly in C/C++ with DirectX, some basic OpenGL, and software rendering and had no knowledge of Android, Java, or OpenGL ES. With this text I was up and running in a very short period and got some games done, which is always a great boost to keep going :)
COCOS2d is an open source framework for android and iphone and you will also found good tutorial for this framework. Find here
cocos2d-android
Related
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 6 years ago.
Improve this question
Please explain like I'm 5 years old because I don't know about coding.
I want to make 2D games for Android and iOS but I don't know where to start.
Which language is best for making 2D games?
I want to make arcade games like Flappy Bird and want to know best language for it.
For iOS, natively (meaning you do things with Apple's frameworks/libraries), you have frameworks like SpriteKit, SceneKit, (newly added) GameplayKit and ReplayKit, etc. SpriteKit is especially focused on 2D. And if you want to develop games this way, Objective C / Swift will be the developing language. I'm not too sure about native Android approach.
That said, if you want to make 2D games and have them available both on iOS and Android, or even on other platforms (web, console etc) as well, why not try a game engine. Something like Unity would be a good idea to start with as it's free if you just want to play with game development. Unity supports C# and JavaScript as the developing language, but other game engines may use different programming languages, and there are many different engines out there.
For something cross-platform check out Unity 2D. However please refrain from questions that ask opinion in the future. Stack overflow is for questions that can be answered, not those asking opinions. That's why you got the down votes.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I have developed a few android applications. Now, I was thinking about developing some games for android. I have a few doubts, I need to be clear about. I have never created any game before. I know Java at intermediate level.
Should I consider using a game engine to develop my games?
What are benefits of using a game engine? Does it allow me to build specific type of games or any kind that I like? How long will it take to learn how to use a specific game engine?
What does game engine do for me, like does it provide me with built in collision detection? Exactly how it would be useful?
I have also heard that we can also develop games using HTML5 and the games would be cross platform. Why or why not should O consider developing games in HTML5?
Some questions might not make any sense because I have just started.
Consider posting that on the game development instead.
Anyway, it really depends of the game you want to code. For 2-Dimensional games, i don't really see the use of a game engine. Tilemapping, 2D physics / collision, AI implementation and things are quite easy (but very instructive) to implement.
For 3D games it's another thing. Collisions are a pain to implement yourself, just as a decent physic engine (in the case of a racing game for instance). There you should consider using a prebuilt engine.
There is nothing better than using a library that has already solved your problem and is stable and ready to use. Never re-invent the wheel. You need collision detection? Make a list of other things you need. Find a set of library that covers your problems and you are ready to take off.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I'm relatively new to Android (about 1 year experience on standard apps), and I have a great idea for a small 2D Game.
My question is : Should I code it in native code only (using shapes, listeners, backgrounds, or some components I don't even know) or is there a library to use that will ease the development and/or improve user experience ?
This game will not be an advanced 2D game, but more "CandyCrush-like" little games.
If you come up with some nice libraries or SDK to use, please note that portability to other platforms is very important.
Thanks!
I'd strongly suggest to use a game engine, even for a simple game such as a CandyCrush-like.
It will save you a lot of effort for basic things which are common to all games and quite long to properly implement (such as game loop management, sprite animations,...). Most of them are based on OpenGL ES which is quite a nightmare to program manually but provides great performance.
Then you should decide which language you're most familiar with (C++, Java, Javascript, Lua, Ruby, whatever...): it will improve your learning curve.
Choosing a cross-platform game engine might also be a good idea (porting a native game is a huge work).
Take a look at those:
cocos2d-x (C++)
corona SDK
Unity
...
Note that this discussion would be more relevant on https://gamedev.stackexchange.com/ (and you might get better answers too).
If your game is really simple, you can try developing with either
Android Canvas or
OpenGL ES
Especially for developers that are not that experienced, who want to develop simple games, the Canvas is a good option in combination with a SurfaceView. Alternatively, I can recommend this engine:
AndEngine
or
Unity Engine with 2D extension could also be a good option.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
We created graphics for many mobile apps, but this is the first time our designer has to create graphics for 2D game.
Should he create a Photoshop file like in mobile app projects or there are some specific things when creating 2D-game graphics?
I tried to find answer on the net, but I found nothing on this specific issue. I would appreciate someone who is familiar with game coding replies as he had probably received graphics to implement into his code.
Basically most 2D games are tile based.
So your designers should provide graphics files where all possible artifacts and animations are visible.
Afterwards you need to take snippets from those images to create tile sets that are usable by the game engine that you are using for each game level.
An example of editors for tile set editing is the famous Tiled, http://www.mapeditor.org/.
The game engine is then takes care of for locating a tile set for the given level, and using the available tiles for the background and character animations.
I'd say that it depends on what tools/frameworkds you want to use...
If you intend to use cocos2d (really nice 2D mobile game framework), then you should definitely have a look at CocosBuilder (http://cocosbuilder.com), a great editor for collaboration between designer and developer.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
Hey iam pretty new to the android platform and wondering what the best open source game engine is and ples link some tutorials.
i just want to make something like a simple 2d platformer
ThX =)
I'm going to have to plug Andengine - http://www.andengine.org/
It's free, it's open (source included) and it offers extensions for Box2D Physics, Live Wallpapers, Aug. Reality (Camera games) and allsorts of other stuff - LOADS of game in the market using it already (no royalties)
Downside is that the documentation is patchy (it's basically a lot of examples) and the author now works for Zynga and has been awfully quiet since he got a proper job :(
You can do amazing things with it tho - and it's easier than most of it's alternatives.
Unity - lovely idea but Unity-based Android Apps are horribly bloated.
If you already 'speak' Open/GL and/or you like the idea of developing/deploying on PC as well as Android, there's libgdx too - http://code.google.com/p/libgdx/
Andengine sort of sits on-top of that anyway - it's harder-work to learn but obviously being able to test/deploy on PC as well as Android has it's benefits.
Here is a list.
Many people recommend Cocos-2d
I mostly recommend Unity3d as it is simply awesome! It has a great documentation and many resources and tutorials. But for Android development, it is not free. Here is the price details and comparison of features.
i recommend libgdx ! best fps out of all of them!
http://libgdx.badlogicgames.com/features.html