Android is an operating system for mobile devices. For non-developer questions, see http://android.stackexchange.com

learn more… | top users | synonyms

0
votes
2answers
335 views

Libgdx box2d crashing

im making a game in libgdx which i having a bunch of circle bodies floating around in space and when the player's body crashes into another body, that body deletes and creates two smaller bodies ...
2
votes
1answer
210 views

LibGDX Box2D TileGame Efficiency

I am trying to implement Box2D into my top down tile game in LibGDX. Each world consists of a set of chunks, and each chunk is 16 tiles wide/long. The maximum/minimum chunks loaded at one time is 9 (a ...
0
votes
1answer
2k views

Unity Android Unable to convert classes into dex format AdMob

I'm a beginner Unity programmer (school-age), so I don't know that much about the system. On its own my app compiles fine, but when I implement the AdMob SDK (Google) 2.1, I have the following error ...
0
votes
1answer
33 views

Google Leaderboards, Reducing the Score of a Player

I am making a strategy game similar to chess for Android. I'll be using the Google Leaderboards for rankings. I want to implement a sort of ranking system, that the player can actually lose score, ...
0
votes
1answer
175 views

Cocos2dx - Trail

I'd like to implement a trail (like the white circles in Angry Birds) that chase my Sprite. I already used CCMotionStreak, but the trail texture is "stretched" instead. Anyone has an idea how to make ...
0
votes
1answer
26 views

Crash when setting a new screen

In my almost finished game I want to set a new screen on game over. I got my game over method: private void gameOver(Label score) { for (Body body : worldBodies) { ...
0
votes
1answer
193 views

Android OpenGL and non premultiplied textures

As I understand it; by default all bitmaps will will get the alpha channel premultiplied in Android if loaded using BitmapFactory. My setup: I have a 32bit bitmap(.bmp) where the alpha channel has a ...
-4
votes
0answers
29 views

A free “maker” engine to create and export commercial Android games? [on hold]

I need a free "maker-like" engine that can easily export Android games. I mean ready-to-store and with no costs. Unity and GM Studio Android exporting versions are paid, right? So, whats the best ...
0
votes
1answer
23 views

Reading map.txt from assets android

I'm a beginner android developer currently working on my second app which is a platformer game. I'm trying to read the level map (which I've stored in the assets folder) but I keep getting a ...
0
votes
1answer
196 views

libGDX new TextureAtlas(filename) and new Texture(filename) drawing stale image data

I'm trying to draw an image using libgdx but no matter what I do, libgdx seems to insist on drawing a portion of an image I had loaded and used in an earlier game screen. In my current game screen ...
0
votes
1answer
5k views

'Resetting' Google Play Games Services so app forgets it previously connected (so it shows confirmation screen again)

When I first integrated Google Play Games Services into my app, it came up with a 'confirmation screen', something like: App Name wants to connect to Google Play Game Services I don't recall the ...
3
votes
1answer
1k views

Calling an android method from Unity3D with a JAR plugin

I am developing a game with Unity only for Android platform and I am requiring to share content of my game through an intent so I have implemented a JAR plugin according to several tutorials with this ...
1
vote
1answer
32 views

Why is my Box2D Body only colliding with one type of Object after a new level has been built?

So developing for an android mobile game, using Android Studio and developing for the API 17, with Box2D implemented. FIRST LEVEL For some reason, one the first level everything is running okay: ...
-1
votes
2answers
2k views

How to make a map [closed]

For school my group and I are going to make a 2d turn based strategy game on android. We are trying to make a simple version of Advanced Wars (Gameplay). But we don't really know how to make the ...
10
votes
3answers
11k 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 ...
0
votes
1answer
107 views

How to make TMXTiledMap responsive?

I've been struggling with Cocos2d-x (C++) and finally I got to the point I feel more or less comfortable with that. My game is a 2D car-based one, with a straight infinite map where I've finally been ...
0
votes
1answer
61 views

LibGdx Scalling sprites on Android

I have a sprite that is a few buttons but need them in the center of the screen for all android devices. I tried setting it's location to the center of the screen by dividing the orthogonal camera by ...
3
votes
1answer
41 views

Android TV game development

Anybody develop games for Android TV? Especially with libGDX? I would like to know what game controllers Android TV uses? And whether we can use libGDX to control the game controllers?
0
votes
1answer
568 views

AndEngine - Performance problems with many entities

I'm developing a rolling scene based game I'm loading all the entities from a XML file and create them in the Loading Scene recently I increase the game width , and by doing so , in the whole level I ...
0
votes
0answers
14 views

How to create a splash screen in open GL 2.0 for Android? [on hold]

I am kind new to android and opengl. i am trying to create splash screen for my game using opengl.
0
votes
0answers
20 views

Cross-platform game to be wrapped into a native iOS/Android app

I need to build an app like Lumosity (https://play.google.com/store/apps/details?id=com.lumoslabs.lumosity) that is native app and have some game screens. So the question is: Is there a way to build ...
1
vote
1answer
38 views

Using coroutines to instantiate larger GameObjects in Unity/C#

We are making a scroller type game for mobile platforms and we got pretty far (Beta is already out). Now we are adding some additional content and are starting to experience a noticable lag when ...
1
vote
2answers
19 views

applyForce as long as display is pressed

In my project I have my main character body. I want it to move down on the y-axis as long as the screen is pressed. I tried it with public boolean touchUp(int screenX, int screenY, int pointer, int ...
0
votes
1answer
30 views

dynamic body jumping out of water object

In my game I have my main object, a jetski, which will dive down into water, when the screen is touched. I managed to code the jetski diving down, with Box2d and some buoyancy forces. But when the ...
0
votes
0answers
24 views

BOX2D games slow down after adding some bodies [closed]

My practice game is working fine. But when I add bodies in the game (multiple times using a loop) lets say 20 bodies at a single touch, game tends to slow down. As it gradually starts to see in slow ...
0
votes
1answer
15 views

Black screen when launching on phone

I am coding a game in libgdx. While adding the background I used the html module to watch the results fast and easy on my computer. But when I try to see it on my phone I just get a black screen. My ...
0
votes
2answers
120 views

Game lags when my player collides with a specific object (solution known, unsure how to implement)

I'm developing a game in Android using LibGDX (although this is more of a JAVA problem than an engine problem). My aim is to have my player bounce off one spring onto another that will eventually take ...
1
vote
2answers
271 views

How do I refer to a native library with Unity 5 on Android?

I have a library called mylibandroid.a. This is given to me by another developer. I also have the iOS version of this lib, and have been able to access it from Unity. It is supposedly built for ...
-1
votes
0answers
34 views

What if I made a Pokemon Game? [duplicate]

I've seen bits and pieces all over the internet that pertain to my question, but none that actually come close to answering it. The basic rundown is that my older brother dared me to release a pokemon ...
0
votes
0answers
16 views

A question about publishing mobile games [closed]

I'm pretty new to game development, the business side of it anyway, and I have a really basic/stupid question about publishing. I'm developing a game for android and iOS and I'm seeing that a lot of ...
0
votes
0answers
44 views

How to use Minim-Android library with an Android Studio game

I have a game project set in Android Studio in which I need to use a library called Minim. It is meant for using with Processing, so its constructor asks for an object that I couldn't find on Android ...
3
votes
1answer
367 views

Word game - board implementation?

I'm working on a boggle type game for android, using libgdx. The user is presented with a 4x4 grid of letters and must find words by dragging their finger over the letters. Unlike boggle I want used ...
0
votes
1answer
28 views

Unity Application.LoadLevel freezes the game on Android device

I'm developing a game using Unity. The game has a single level and after the player wins/loses, I simply want to reload the same scene. Here's the code I'm using: private void OnLevelFailed() { ...
1
vote
1answer
24 views

How to implement constant acceleration and collisions without gravity

I am learning game development and i am trying to implement the AndEngineBox2D Extension such that my character is always moving at a constant velocity, when it collides with a body sprite, the ...
0
votes
0answers
15 views

What is dynamic branching in shader? And How to check which runs on android phone?

Is it simple "for" or "while" in loop with variable? Is it standard term? I have errors on some android devices with "for"-terms. [0020.31] Log: Compiling Shader 0x8200000000_0x3000000000000000, ...
0
votes
2answers
90 views

2D Coordinate Based Game [duplicate]

I want to make a game for Android that has a 10x10 Grid Plane as UI.In this game users going to touch on a grid and tihs grid will be painted. My question is how do I understand which gird or tile ...
-3
votes
1answer
61 views

best way to creating card game on Android [closed]

I have a new idea for creating a new Uno like card game. I have Java programming experience but not in Android. What is the best way creating card game on Android ? I mean handling cards easily as ...
0
votes
1answer
100 views

How to clip or mask entity in adnroid/andengine?

I want to implement masking with sprite in Andengine. I want same functionality as in ios class called SKCropNode which works like an masking node! Is there any workaround like this in ...
0
votes
1answer
106 views

Scene2d Stage Actor setup issues

I am creating a game using libgdx. In the same each level has a class. I have stage as a member variable of the class. To this stage, I add actors. Inside the levels class, I have attaced the input ...
0
votes
1answer
186 views

Framerate on AIR for Android - Actionscript 3

I am currently working on making Android apps using AIR for Android. This is a sample file and package that I am running to test the FPS and Memory usage of my application while it is not even doing ...
0
votes
2answers
104 views

(Corona SDK) sounds and buttons show up in simulator, not in an Android device

I'm a noob in android game development, started with corona sdk and outlaw. My project runs just fine with the corona simulator on my win8, however, when building it to my android device (galaxy s3) ...
3
votes
1answer
62 views

Vibration on Android

How to change duration of vibration on Android(Unity3D)? For example: public void Jump() { if (grounded) { rb2d.velocity = new Vector2(rb2d.velocity.x, jumpPower); ...
0
votes
2answers
565 views

Counting multiple touches using Cocos2dx 3.2

I'm trying to count the number of active touches in screen in order to perform an an action in case that there are two touches: auto jumpListener = EventListenerTouchAllAtOnce::create(); ...
0
votes
1answer
263 views

Touch pad controls not working in apk, working from Unity Remote

I've come across something unusual with my HTC One M8, I'm not sure if it's phone specific, a bug in unity, or just poor setup on my part. I've been using Unity Remote 4 to test in realtime, and it's ...
0
votes
0answers
21 views

How do I hide the navigation bar in Android using the NDK? C++

I can't seem to enable immersive mode in android using the NDK. The only code that I've found relating is AConfiguration *config = NULL //AConfiguration_new(); ...
0
votes
1answer
22 views

simplest way to detect collision with two bitmpas on android surface view

as title said. I have looked all over and havent found standard way to detect collision between two bitmaps on surface view. I tried intersect method with two rectangles, but didnt work. `practiseA ...
0
votes
0answers
7 views

In-app update, live update, hotfix for mobile game

I'm researching how to make an in app update on mobile game. When there is a hotfix, or an update, users don't have to go to Playstore, or App store to update but update inside the game. (E.g. Clash ...
16
votes
9answers
18k 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. ...
0
votes
1answer
349 views

Android Game-Loop (rendering & logic removed, but still 'skipping frames')

Overview Guys really hopeing for some help here. My game loop is based on code from Fix Your Timestep!. I've read the article more than a few times, but I can't quite work out what exactly is ...
1
vote
1answer
39 views

Java - Trouble with recursion and rectangle placement

I am using Android API's and using the RectF class for rectangles. I have a list of blocks that are on the screen at one time. Each block is given a random position, and then I go through all of the ...