Operating system for mobile devices. For non-developer questions, see http://android.stackexchange.com
68
votes
8answers
88k views
How do I get started making Android games? [closed]
I am new to game development. I am interested in developing 2D games for the Android platform. What is the best place to start with (i.e) What are the basics and how to proceed? I already have ...
44
votes
15answers
29k views
Are there any 2D gaming libraries/frameworks/engines for Android? [closed]
Are any such things available to help me build my Android game?
25
votes
6answers
7k views
Should I be using Lua for game logic on mobile devices?
As above really,
I'm writing an android based game in my spare time (android because it's free and I've no real aspirations to do anything commercial).
The game logic comes from a very typical ...
23
votes
3answers
9k views
Workaround to losing the OpenGL context when Android pauses?
The Android documentation says:
There are situations where the EGL
rendering context will be lost. This
typically happens when device wakes up
after going to sleep. When the EGL
context is ...
20
votes
3answers
11k views
Android game development in c++
So being a primarily c/c++ developer, I've always thought that the only option for mobile game development for me was using iOS, which allows for c/c++ (and minimising objective C).
I heard from a ...
20
votes
3answers
6k views
18
votes
5answers
9k views
Packaging HTML5 games as applications for iPhone/Android
Is it possible to package HTML5 game for iPhone and Android as an application or has it to be accessed through a browser?
18
votes
4answers
2k views
How to design an AssetManager?
What is the best approach to designing an AssestManager that will hold references to graphics, sounds, etc. of a game?
Should these assets be stored in a key/value Map pair? I.e. I ask for ...
17
votes
8answers
2k views
What all should be happening during the “Loading” screen?
Do I just need to be creating instances of all of my graphics into memory that are loaded from file? What is the best way to handle this? Do I just need some sort of assets manager that creates ...
16
votes
5answers
2k views
Can I develop games for mobile platforms in C++?
I have a good grasp in C++ and C and have also experience developing AAA game using C++.
Now, I'm shamelessly thinking to dive into mobile game development either in iOS or Android. Unfortunately, I ...
15
votes
5answers
2k views
What should I keep in mind when making 2D games for multiple resolutions?
I'm making a 2D (Android) game. Android devices vary quite a lot in screen resolution; what do I need to keep in mind when making my game?
Do I need to keep big versions of all images and scale down ...
15
votes
2answers
763 views
Graphics not being displayed on OUYA
I hope its not too early to be asking OUYA dev questions, but I just got my dev kit and I want to get my game running ASAP! I am using LibGDX as my framework for my game and launching the Android ...
14
votes
2answers
5k views
How many threads should an Android game use?
At minimum, an OpenGL Android game has a UI thread and a Renderer thread created by GLSurfaceView. Renderer.onDrawFrame() should be doing a minimum of work to get the higest FPS. The physics, AI, ...
14
votes
4answers
7k views
How can I develop my Android game for different phone resolutions?
For instance, the Motorola Droid is as wide as the G1, but has more height.
Should I try to spread the UI out across the extra height found on the Motorola Droid? How do others handle this problem?
...
13
votes
16answers
5k views
Cross platform mobile game design - any options? [closed]
Are there any frameworks or projects that support cross-platform mobile game development? At the moment Titanium does cross platform development, but doesn't support high end graphics APIs, so many ...
13
votes
6answers
806 views
Phone for Android game development
I've been developing casual iPhone/iPod Touch games touch for about two years. I'd like to port some games to the Android platform. Since I'm stuck w/ a two year iPhone contract I don't want to get ...
13
votes
4answers
1k views
How can I implement a global high score ladder?
Are there any existing frameworks I can build on? Should I build my own? How can I prevent fake scores from being posted to it?
13
votes
6answers
7k views
How to capture video of my mobile game?
I've been keeping a blog for my current Android game and as I get closer to an actual playable version of the game, screenshots just aren’t enough to show new progress anymore. What I need is video. ...
12
votes
3answers
4k views
Is deferred rendering/shading possible with OpenGL ES 2.0 ?
I asked this on StackOverflow, but it might make more sense here:
Has anyone implemented deferred rendering/shading under OpenGL ES 2.0? It doesn't support MRTs, so with only one color buffer, it's ...
11
votes
6answers
4k views
Making (or emulating) a “D-Pad” on a touch-screen; virtual d-pad
With the proliferation of touch based devices, many lacking a true D-Pad, I'm wondering if anyone has any resources on how to emulate a D-Pad on a touch screen? I'm specifically interested in XNA ...
11
votes
4answers
16k views
Where are all the tutorials for libGDX?
I've searched online for help and tutorials on LibGDX but I couldn't really find any, except and the wiki for asking questions on stackexchange. Besides the source (demos) and wiki, is there any other ...
11
votes
8answers
894 views
Converting a 2D curve into points for data storage
I’ve created an algorithm which converts any curve i.e. path into minimum number of points so that I can save it into a file or database.
The method is simple: it moves three points in equal steps ...
11
votes
2answers
5k views
How different is Java for JRE vs Java for Android?
I'm new to all this game developing, and I'm starting to learn java because I was told it was a great way to start. I want to later on create games for the android market, and want to get a good view ...
11
votes
4answers
3k views
What are the app file size limitations for different smartphone OSes & carriers?
I know the iPhone App Store limits how large an app can be in general and there are also limitations with AT&T over the size it can be to transmit over a data plan vs WiFi. I have no idea what, if ...
10
votes
3answers
736 views
Keeping Android Screen bright during Game
I have a game that uses the accelerometer to move a guy back and forth on the screen. After a few seconds the screen goes dim. Is there any way to keep it alive and bright during the game activity?
10
votes
2answers
3k views
how should i develop my android game efficiently?
I have attached a image of a flow chart that i made in paint.
The image shows how i want to develop my game. I want a game that runs great with smart coding that is easy to update and ad features ...
10
votes
3answers
583 views
How to decide how much to charge for development?
So two other friends and I are a very small game dev studio. So far we haven't released a game but we have 2 games almost ready to launch. A bigger studio saw our work and now they want to work with ...
10
votes
1answer
1k views
Use of Collections in Android Game Development is not encouraged?
While working on a game project for Android i was digging for some information on performance optimization for game code. And i came to know that use of Java Collections like List,Arraylist etc are ...
10
votes
3answers
821 views
Selling Android apps from Android-Market-unsupported countries
I am in Latvia (which the Android market doesn't support as a country for selling apps from), and I am thinking about the best way of monetizing my app. So far I've come up with these options:
...
9
votes
2answers
510 views
How can I tactfully ask users to help support my free game?
So, I have a game that has a few dedicated users, but very few actual users. It is a free game on the Android marketplace, supported via ads. I've been toying with the idea of periodically popping up ...
9
votes
3answers
10k views
Fastest way to draw quads in OpenGL ES?
I am using OpenGL ES 2.0
I have a bunch a quads to be drawn, would love to be able to have to pass only 4 vertices per quad as if I were using GL_QUADS, but basically I just want to know the best way ...
9
votes
2answers
7k views
Unity Android versus android SDK
I am familiar with Unity and in the process of learning android SDK when the announcement about unity android basic came out.
What would be the advantages and disadvantages of using the android SDK ...
9
votes
2answers
6k views
OpenGL ES 2.0 Point Sprites Size
I am trying to draw point sprites in OpenGL ES 2.0, but all my points end up with a size of 1 pixel...even when I set gl_PointSize to a high value in my vertex shader.
How can I make my point sprites ...
9
votes
3answers
5k views
Fitting Android game to different screen sizes
I am making an Android game that is only in portrait screen orientation. It works great when I run it on my phone, but when I run it on a tablet, even though the screen size is bigger, all of the ...
9
votes
3answers
3k views
Android: Angry Birds Scaling
Anyone have any idea how the scaling is accomplished in angry birds? I want to make sure my images/background always scale to match the screensize and this game seems to have a similar effect. I ...
9
votes
2answers
318 views
How well do functional languages perform on Android?
This is a special case of this question that I feel is particularly pertinent.
I'm working on a game for Android, and I'm planning on using Scala with libgdx. I'm planning on making a performant ...
9
votes
2answers
713 views
Android real time multiplayer over LAN [closed]
I've developed several games for the android platform and now planning to create my first multiplayer game. What I have in mind is basically just a 2-player game witch you can play with 2 phones over ...
8
votes
4answers
557 views
As an Android dev, what should I keep in mind for porting to iPhone?
As an Android game developer, what should I keep in mind while developing my game if I ever wanted to cross-platform the game to the iPhone? Any strategies, tips, etc. on porting to both of these ...
8
votes
1answer
383 views
How to reduce image size without pixelation?
I see lots of games with smooth edges characters and high res images, however when I try to reduce images to say 64x64 for my character I just get a pixelated mess. even if I start with a 64x64 canvas ...
8
votes
1answer
318 views
When and why is a Pool class needed to hold objects?
I've been studying opengl es and an example I saw was using a "Pool" class to keep track of touch and keyboard events.
Could someone please explain how and why a pool class is needed. From what I was ...
8
votes
3answers
5k views
Best solution for multiplayer realtime Android game
I plan to make multiplayer realtime game for Android (2-8 players), and I consider, which solution for multiplayer organization is the best:
Make server on PC, and client on mobile, all communition ...
8
votes
3answers
611 views
How should I structure my classes to allow for multithreaded simulation?
In my game, there are plots of land with buildings (houses, resource centers). Buildings like houses have tenants, rooms, add-ons, et cetera, and there are several values that have to be simulated ...
8
votes
1answer
5k views
What's the best way to create animations when doing Android development?
I'm trying to create my first Android game and I'm currently trying to figure out (with someone that will do the drawings and another programmer) what the best way to create animation is. (Animations ...
8
votes
4answers
547 views
Do Apple and Google ask for a share if custom payment is done in a free app?
I have a multiplatform game (web/iOS/Android) in the making. In the free version the core game is still fully playable but people who choose to pay will get more social features (and no ads, of ...
8
votes
3answers
4k views
Android differences (Dalvik+Java vs Old School C++)
Developing in Android is going to be different for me, having spent the last 10 years coding games in C++. What's the main differences / pitfalls / bottlenecks to developing for the Android? My big ...
8
votes
2answers
1k views
Play videos with LibGDX
Is there a way to play videos with LibGDX?
I want to put a video as my splash screen in Android, but I dont want to use the Android SDK, because I am using LibGDX and I am almost finished :/
8
votes
2answers
1k views
Sprite sheet or multiple resources
When animating for the Android platform is it a better practice to create a sprite sheet with multiple states for each sprite on a single picture or should I instead export individual images for each ...
8
votes
1answer
868 views
How does an Input Pipeline work?
I found this article on implementing an input pipeline for Android, but I don't really understand how it works. I also don't completely understand the programming concept of a pipeline or a pool ...
8
votes
1answer
3k views
VSync / real 30FPS on Android
I'm working on a game which can't run at Full speed on some devices. On Tegra2, with many optimizations, performance is near 40 fps. The framerate is stable but animations aren't smooth enough, so i ...
8
votes
2answers
970 views
Java code for client-server game on Android
I have developed a game on Android. Now I want to play it on wifi or 3G. I have game packets which I want to send form client (mobile) to server then to another client (mobile).
I don't know how to ...