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

learn more… | top users | synonyms

0
votes
0answers
28 views

Making a player jump [on hold]

I am developing a game in eclipse for android and I wont to make the player jump like in flappy bird.I developed some code to make the player jump when the screen is touched but when I run the app and ...
-2
votes
0answers
27 views

How can I display endless movement on a road in android? [on hold]

I want to create an endless road (and later include some obstacles). I thought that if I could get an image of a road, I could use a loop to give 'the idea' of moving, but it's not working.
0
votes
0answers
40 views

Does a medium or fast-paced multiplayer game make sense on mobile devices? [on hold]

I am playing with the idea to implement a multiplayer game as Android or iOS App. However, I am not sure if this is feasible at all. Think of the game as something like a tower wars (or hero wars) ...
0
votes
2answers
67 views

Android appstore developer account, to not charge then change

The idea of charging for my early releases doesn't sit well with me, but at some stage, I will want to devote more time to games dev activities, when I will need it to be rewarding. On the Play Store ...
0
votes
0answers
31 views

Choppy Character Movement Unity 2D [on hold]

I am new to game development and have been following a tutorial to get started, it is a flappy bird style game. My main issue at the moment is when tapping the screen to move my character it is ...
1
vote
1answer
41 views

Can we use credit card/prepaid voucher payment systems in Android and iOS?

We already have a credit card gateway with a local bank. We also have a prepaid card voucher in the market. In our game, a user will create an account within our portal. The user will "recharge" his ...
0
votes
0answers
38 views

Camera Rolling when Implementing Pitch and Yaw

I am implementing a camera in opengl for an android game and am having problems getting the pitch/yaw/roll of the camera correct. I have read many tutorials on quaternions and have implemented a basic ...
0
votes
0answers
28 views

HTML5/Javascript multi-platform games in Android/iOS: How fast is it? And any good frameworks? [closed]

I've been wanting to get into mobile game development for a long time, and as a Web Developer, the idea of making a game in a web platform like HTML5 and Javascript that was compatible with any ...
2
votes
1answer
137 views

Avoiding memory allocation in Android game development

For obvious reasons, allocating memory on the fly in Android game development is not recommended. For example: http://developer.android.com/training/articles/perf-tips.html: There are two basic ...
-1
votes
0answers
60 views

Percentage HP (100%) vs. Numbered HP (100/100) — Mobile Role-Playing Game [closed]

Just wondered what everyone's preference would be for a health bar. I am making a RPG game for android and apple phones and Im trying to get as much feedback as possible.... even on the tiny things ...
1
vote
0answers
65 views

Best view for 2D Android game in Xamarin [closed]

I am trying to create a 2D multiplayer turn-based cooperative game for Android in Xamarin with possible future implementations for Windows Phone and iOS. The main inspiration for my game is Pandemic. ...
0
votes
0answers
33 views

Share image on selected media [closed]

I want to share image on selected media that I capture through code. At present I have following code to capture image private void CaptureScreenShot() { Texture2D tex = new ...
0
votes
1answer
40 views

OBJ Model not being rendered properly in OpenGL ES 2 android app

I have an Android OpenGL ES 2 app that loads an .OBJ model using Assimp and renders the same. The vertices data is stored in a object declared like this : class CGameObject { public: struct _Mesh { ...
0
votes
0answers
17 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
38 views

Problem rendering simple OBJ model using assimp in android app

I am trying to load an OBJ model (http://pastebin.com/usGFkf4e) into an Android app using Assimp 3.1.1 Assimp model loaded like this : bool CGameObject::LoadModelFromFile(AAssetManager *amgr, ...
0
votes
2answers
68 views

How do I handle game lag due to background apps

I'm developing a game using libgdx and have noticed on several occasions that other background apps running can cause lag in my game - especially when those apps are being updated in the background. ...
0
votes
0answers
32 views

Use other IDE then Eclipse on OSX for game dev with Cocos2dx for Android

I've started with cocos2dx 3 days ago and already having a massive pain in my "back" with this support of C++ that eclipse provide me. It support it a little bit more then notepad++, and after years ...
1
vote
2answers
30 views

Convert trianlge mesh to group of Line segments

I have a 3D .OBJ model file, that is loaded in my OpenGL ES 2 android application using Assimp library. All the faces are triangulated. I want to draw the wireframe for my mesh. In OpenGL we have ...
0
votes
0answers
9 views

Destroying fixtures in Box2D/AndEngine

In my game I need to break of parts of a body when the body crashes into something too violently. Currently I do that by by getting all the normal impulses of the ContactImpulse and if the max value ...
0
votes
1answer
68 views

How to pass a turn to AI and draw its move in a game?

I am writing a simple game for 2 players, where they have to make turns after each other (select a few objects to remove from the screen) and press "End turn" at the end to pass the turn to another ...
0
votes
1answer
74 views

What is the speed difference between cross platform HTML5 games and native mobile games? [closed]

Microsoft is advertising and promoting cross platform HTML5 game development. I am thinking of creating a simple 2D side scroller game and I am trying to decide what engine should I use for creating ...
0
votes
0answers
29 views

Can Google Play Games Services (GPG) be used in games not running on Android or iOS?

Can Google Play Games Services (GPG) be used for games not running on Android or iOS? For instance, can GPG be used for using real-time game state communication between players on platforms like ...
0
votes
0answers
56 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 ...
0
votes
0answers
21 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
0answers
13 views

Apply android.graphics.Matrix transformation to an Open GL ES shader

I am currently using a 4x4 matrix to convert from "pixel" coordinates to OpenGL ones, my scene is full screen so my screen matrix looks like this: 2f / width, 0f, 0f, 0f, 0f, -2f / height, 0f, 0f, ...
1
vote
0answers
42 views

Google turn based multiplayer automatch criteria

I've set up a multiplayer game using Google's turn-based API. I now want to put some qualifiers on auto-matching and am racking my brain on how to solve this issue... I'm using GetVariant() to ...
1
vote
0answers
34 views

Prebuilt SDL and dependencies for Android? [closed]

I've spent two days trying to build a Hello World project with SDL2 on Android, and I'm now extremely frustrated. I've followed several guides and tutorials and there's always some header missing ...
1
vote
0answers
40 views

Deploying MonoGame on Android

I've developed a game using MonoGame for Android (with Xamarin). When deploying to my Android device (via the Xamarin Studio IDE) it installs 3 apps - Monogame-Android-8-support, ...
0
votes
2answers
65 views

get View from LibGDX for Android

I am making a LibGDX app, and I need to get the view to put to an Android app. Here is the code to get the view: package jangkoo.game.shadowfiend.android; import ...
0
votes
0answers
27 views

Why does Corona SDK not build a .apk file?

I'm trying to put a game I created in Corona SDK on my Galaxy S5. I go to the Corona Simulator, click Build for Android.. Then I fill out the information, and then I hit build. The problem is, it's ...
0
votes
0answers
27 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 ...
-3
votes
1answer
63 views

Is there a way to retain a service on android even after the game is uninstalled ..? [closed]

I am designing a game which has a service to send user stats to a server ... I want that service to stay and work on the device even when the user uninstalls the game .
3
votes
1answer
101 views

How to specify colour in a single 32 bit value

I'm writing my first game using OpenGL 2 ES (for Android), and I've currently got a particle engine and some player sprites running successfully. I'm using 4 floats for the colour of each particle ...
0
votes
0answers
47 views

Cocos2D texture distorted on android devices

The textuers are distorted (randomly) on some devices (randomly again). The game is working on IOS without problem. Checked adb logcat and I got some errors. Searched the errors but not found any ...
1
vote
1answer
100 views

Alert Dialog Box font color in AndEngine [closed]

I am developing an app using AndEngine and I am using my own custom theme to use white background theme. My styles.xml file looks like this: <resources> <color ...
0
votes
0answers
18 views

Reversed OpenGL ES 2.0 Rotation Code (Android)

My rotation code seems to be 'reversed' - I'll explain further... In all the tutorials / examples I've seen online, there is something like this: public void rotate(float centerX, float centerY, ...
1
vote
0answers
29 views

LibgGDX drawing two seperate Textures in FrameBuffer

So I am trying to combine multiple TextureRegions in to one by using a FrameBuffer. This works extremely well when the TextureRegions originate from the same Texture object/file but as soon as I try ...
0
votes
0answers
65 views

geometry shader shim for opengl es 2.0

I just have a few months of OpenGL experience, just starting to get the hang of it. I find geometry/vertex/fragment shaders to be very powerful. You have a few parameters that translates into a ...
3
votes
1answer
90 views

Desaturate texture using mask in OpenGL 2

I have a very large texture i am using as background and i want to apply a filter to a small part of it, the "small part" is defined by the alpha layer of another texture i have (which is still ...
4
votes
1answer
173 views

Programatically find out which app store install came from?

Background In my app, I have a 'rate me' button. It follows the usual path - user clicks in, it starts an intent and opens the app's listing on the Play Store. All well and good. Now I wish to try ...
0
votes
0answers
65 views

Android game programming seperate game logic thread from drawing thread

Ok so I want to know what is a proper way to create a multi threaded game. What I have tried is implement a wait and notify between the game logic thread and the drawing thread, but I believe this is ...
0
votes
1answer
100 views

Run Love2D on iphone and android

I have a game developed in lua using love 2d, and now i want to run it in ios/android. Is there any porting or way available to do that. Thanks.
0
votes
0answers
62 views

How to pause animation when leaderboard is displayed?

I've notived in some games from the Play Store that when you access the Play Games Leaderboard, the game itself is still visible in the background (as if the leaderboard activity is 'transparent') and ...
1
vote
0answers
86 views

Unity Animator State Freezing

I am really new with Unity, I am making a game, but I am having some problems with the animators, my problem is that I am trying to add some animations to my menu, and also add new characters to my ...
1
vote
1answer
67 views

Move Particle to touch position on android

I am attempting to make a Particle start moving to the position of my finger on the touch of the screen. I have been using this as the basis so far: public void update() { deltaX *= .9; ...
0
votes
0answers
60 views

How do I check user's unlocked achievement and leaderboard scores via GPG plugin

I need to load user's achievement and their scores from leaderboard in my game. But the Social.LoadScore() and Social.LoadAchievements() both returns a 0 size array in callback. When I checked the ...
1
vote
1answer
68 views

Human vs human android chess game design [closed]

First of all I am total amateur in game development and sorry for my poor English. I want to make android human vs human chess game. So I am wondering how to design it? scenario 1: User connect to ...
1
vote
0answers
46 views

LibGDX: Why look BitmapFont pixelated on a scene2d.ui.Dialog?

When I use BitmapFonts directly on the stage table, the fonts looks normal (not pixelated). But when I use the same BitmapFont with the same size on a scene2d.ui.Dialog, the font looks pixelated. ...
1
vote
2answers
69 views

LibGDX . draw multiline text

I am trying to write a big text using BitmapFont in libGDX . But it shows on one line and the user can see only the first part of the text . How can I make that bitmapFont made new line automatically ...
7
votes
2answers
303 views

How does interpolation actually work to smooth out an object's movement?

I've asked a few similar questions over the past 8 months or so with no real joy, so I am going make the question more general. I have an Android game which is OpenGL ES 2.0. within it I have the ...