Operating system for mobile devices. For non-developer questions, see http://android.stackexchange.com

learn more… | top users | synonyms

5
votes
1answer
307 views

Is it okay to release a playable, but not graphical, game to the Android Marketplace?

I'm working on my first simple game for release. I'm going to have it to a point of being playable, interface complete, but very few if any graphics, and no overall style aside from the basic Android ...
4
votes
5answers
611 views

Flash Game not working on Android

I am not sure if I will be able to provide enough information for someone to answer this question, but any ideas might help. I am creating a tower defense game in Flash and I eventually want to make ...
5
votes
2answers
1k views

Most useful free third party Android Game libraries?

Since I have started finding a good third party libraries for game development on android platform, Im getting confused. So want to know from the people who are already using some of the game ...
-2
votes
1answer
775 views

Want to develop android game

I want to develop a 3D multiplayer game for android , what is the best game engine , what is the best software to create 3d objects to import them to android ? Thank you .
2
votes
1answer
517 views

OpenGL ES GL_FIXED versus GL_FLOAT

I am writing an app for Android, using OpenGL ES 1.x I am confused as to whether I should use GL_FLOAT or GL_FIXED, the priority being performance regarding GPU operations(does GL_FIXED need to be ...
-3
votes
1answer
347 views

Populating Sprites

I am making a android game, it's a tower/base defense like type of game (yea I know it is kind of confusing), I was wondering if anyone knows a good way to have the attacking sprites randomly generate ...
6
votes
1answer
2k views

Rotation of bitmap using a frame by frame animation

I have one large bitmap that has four frames drawn on it and I only draw one at a time by looping through the bitmap by increments to animate walking. I can get the bitmap to rotate correctly when it ...
5
votes
1answer
194 views

How to test a network game on a mobile device

I am looking to test a network game with say, 10 or more users, on a mobile device. Think of it like an MMO with a lot less users. (Assuming I can get 10 running, I'd test for more users later) The ...
4
votes
3answers
413 views

How to improve my Pong like game

I have published a free game on Android Market called AstroTennis. This is like a classic pong game, but it has an asteroid moving in the middle which deflects the ball making it sometimes harder to ...
0
votes
1answer
2k views

Android sidecroller template

I want to create a sidescroller game for Android but it seems stupid to reinvent the wheel and since there are a lot of android sidescroller games already out I though that there must be some sort of ...
6
votes
1answer
297 views

Should I distribute different versions of the same game for different mobile platforms?

I'm currently making a game on the Android platform. I don't know whether to do a "smartphone edition" and a "tablet edition" or simply to do one edition. If I put high definition textures, the users ...
3
votes
1answer
183 views

What are the specifications for 3D animated game assets on the Android platform?

(apologies if this is phrased vaguely due to my lack of knowledge; I'm happy to change the question entirely if someone can suggest a more realistic query) I'm getting a grip on creating 3D ...
3
votes
6answers
1k views

Should I go with Windows Phone 7 or Try Android? [closed]

I already know C# and am familiar with XNA. So it would make sense to develop for the Windows Phone 7, but would it be worth while to learn Java, get familiar with Android, and instead develop for ...
6
votes
1answer
970 views

Adding a simple mix() destroys the framerate

I have a very simple shader and added linear fog via mix like this: finalColor = mix(finalColor, vec3(0.5, 0.8, 0.95), vUVoutAndViewZ.z); Note that the view Z distance is in the variable that also ...
5
votes
3answers
8k views

Android - Efficient way to draw tiles in OpenGL ES

I am trying to write efficient code to render a tile based map in android. I load for each tile the corresponding bitmap (just one time) and then create the according tiles. I have designed a class to ...
4
votes
3answers
2k views

Which API for cross platform mobile audio?

This question focuses on the API's available on phones. I'd been planning to use OpenAL in my game for maximum portability. It runs great on Linux so I can quickly iterate while developing as well ...
4
votes
2answers
244 views

How can I determine a budget for RAM used (LRU involving VRAM, in particular)

After some profiling, I've determined that one of my most expensive functions involves drawing text. As a solution, I'd like to implement a LRU type of cache that will "remember" the vertices, tex ...
1
vote
1answer
1k views

Passing an OpenGL texture ID loaded in NDK back to java

Is it possible to load a texture using the NDK, but pass the result back to use in java. I have used the code in the link above and it appears to load the png correctly and generates a texture ID ...
1
vote
1answer
476 views

OpenGL ES indices optimization

I am using OpenGL ES 1.x/2.x I have 2 attributes to be passed to the GPU(one is colors, one is vertices, one color per vertex). I use indices. Both attributes will use the same indices array This ...
6
votes
2answers
329 views

Playing Sounds and removing instances once they have played — Android

I am playing sounds in my application I have the following code sounds = new HashMap<String, MediaPlayer>(); Then when guys are created on screen they are given a sound. ...
3
votes
2answers
720 views

Faster way to scale images than gluScaleImage?

I'm porting a C++ game to Android using the NDK and there's one bottleneck that's really slowing down the code: gluScaleImage(). Does anyone know of a faster way to scale image textures?
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 ...
3
votes
1answer
740 views

Marketing games for the android - what are the best sites to contact for reviews/advertising?

WE are in final dev stages of our latest game and want to release it for the android market. What are the best sites to contact for reviews/advertising that specifically target the android users???
1
vote
3answers
1k views

Technique to have screen independent grid based puzzle with sprite animation

let's say I have a fixed size grid puzzle game (8 x 10). I will be using sprites animation, when the "pieces" in the puzzle is moving from one grid to another grid. I was wondering, what is the ...
2
votes
4answers
3k views

per pixel based collision detection

I was wondering if anyone had any ideas on how to get per pixel collision detection for the android. I saw that the andEngine has great collision detection on rotation as well but couldn't see where ...
2
votes
3answers
4k views

Understanding MotionEvent to implement a virtual DPad and Buttons on Android (Multitouch)

I'm trying to implement a virtual DPad in android, but I'm still very confused about how do I keep track of each trouch point, from the moment it is pressed, till it is released. In my code, I test ...
1
vote
2answers
895 views

Disabling depth write trashes the frame buffer on some GPUs

I sometimes disable depth buffer writing via glDepthMask(GL_FALSE) during the alpha rendering of a frame. That works perfectly fine on some GPUs (like the Motorola Droid's PowerVR), but on the HTC EVO ...
0
votes
1answer
290 views

Knockback enemy based off of direction sprite is facing

Today I am trying to make it so if I hit the enemy then the enemy will be knocked backwards in the direction the sprite is facing. I am rotating the sprite around 360 degrees using a joystick on the ...
2
votes
2answers
998 views

Can one draw a cube using different method/drawing mode?

I've just started learning gamedev (in particular android EGL based) and have ran over a code from Pro Android Games 2 that looks as follows: /* * Copyright (C) 2007 Google Inc. * * Licensed ...
5
votes
1answer
2k views

Game Code Design for Rendering

I first created a game on the iPhone and I'm now porting it to Android. I wrote most of the code in C++, but when it came to porting it wasn't so easy. The Android's way is to have two threads, one ...
-1
votes
1answer
156 views

Tools for images in a game [closed]

Are there any tutorials , tools for creating background images, other images for an android game or iphone game?
1
vote
1answer
600 views

OpenGL ES Loading

I want to know what is the norm of loading rendering code. Take a button. When the application is loaded, a texture is loaded which has the image of the button on it. When the button is tapped, it ...
0
votes
2answers
901 views

How to make a video game map that can be used by Android?

I am interested in developing games for the Android OS. I have played Replica Island and I have browsed over the source. I found that the levels/maps were in a .bin format. I could execute them ...
-3
votes
2answers
6k views

Make Pong on android using OpenGL-ES

I am trying to make a simple pong game using opengl-es. I have checked out some of the tutorials/samples, but most of them are pre-dated to 2009. I am familiar with game programming, and consider ...
2
votes
2answers
5k views

Can I publish games with adult content to Android Market?

I have a very old adult (e.g. boobs and stuff) arcade game (think Delphi 7/DirectX 8 age), that currently is backported to Droid. Can the game be published to Android Market? Are there any age ...
8
votes
3answers
2k views

Help with Strategy-game AI

I am developing a strategy-game AI (think: Final Fantasy Tactics), and I am having trouble coming up for the design of the AI. My main problem is determining which is the optimal thing for it to do. ...
1
vote
1answer
924 views

car crash android game

I'd like to make a simple 2d car crashing game, where the player would drive his car into moving traffic and try to cause as much damage as possible in each level (some Burnout games had a mode like ...
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 ...
2
votes
2answers
3k views

how disable texture after drawing an object?

i try to make a textured object then draw other without (only colored). i had tried to play with glEnable/Disable(GL10.GL_TEXTURE_2D) , ...
7
votes
3answers
2k views

How to sell Android game if selling through Market is not available in your country

Android Market doesn’t allow developers from my country to sell app. From what I understand the only chance to make some profit is to place ads in my application. Does ads make a decent profit or is ...
6
votes
1answer
686 views

Any Open Source Games That Can Be Ported to Android?

I'm looking for some other open source games out there that I can port (easily or not) to Android. I know that it's possible to port Wolfenstein and Doom and was wondering if there are any others out ...
2
votes
1answer
1k views

Why is this animation jerky?

I am trying to create a simple game on android but I am unsure the best way to do the game loop. Looking at the LunarLander sample the game loop just loops like a variable time step loop (elapsed = ...
7
votes
1answer
446 views

Is Flash development for Android below 2.2 feasible?

Apparently you need to install AIR in your mobile to use Flash apps, and AIR requires Android 2.2 while my Milestone is a feeble 2.1.update1. There is seriously no Flash lite or other alternative?
12
votes
6answers
5k 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 ...
6
votes
1answer
10k views

How do I blend a bitmap with a color?

I have a png which is mostly transparent, except for a shape I've drawn in white. I want to be able to blend this bitmap with a color when drawing it with Canvas. I'd like something like [Sa, (Dc * (1 ...
3
votes
5answers
760 views

Recorded Voice or Synthesized Speech?

I'm interested in adding to my game either recorded human or synthesized speech. I'm interested in what game devs have to say regarding the value of recorded human voice over voice synthesis. Thanks ...
1
vote
1answer
1k views

What external 2d animation formats can I use in android?

For an artist who won't be dealing directly with the code, what formats for 2d animation could they use that would be portable into an android game? In my particular case there are no collision ...
5
votes
3answers
1k views

Thread runs faster on a faster processor… how to control Thread speed

I have a thread that uses TimeUnit.MILLISECONDS.sleep(5); Problem is when I load my app on a faster phone say with a snapdragon, it runs at lightning speed. Is there a way to control this speed so ...
1
vote
1answer
5k views

Turning layout items invisible in Android layout

I am trying to turn some items visibility off when submitting a high score. I have the following code but it does not appear to work. Any suggestions? mSignText = (EditText) ...
6
votes
2answers
675 views

How do I load chunks of data from an assest manager during a loading screen?

I'm developing an Android game. Basically I want to pre-load all graphics/sounds when the app is first loaded. But I also would like to show a progress bar as this is happening. Here is a snippet ...