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

learn more… | top users | synonyms

0
votes
0answers
22 views

Deploy javascript game on andorid and ios [on hold]

I have a javascript game (html5) developed for web, which i want to launch on android and iphone app stores. i have surfed the web and i found this platforms.. CocoonJS, Game Closure, PhoneGap, ...
3
votes
1answer
48 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
41 views

Libgdx Collision detection on a 2D side scroller game

I've looked everywhere online for this. I want to make a 2D side-scroller game which has objects with randomly generated heights it will have to jump onto.. How do I implement such a code? I also want ...
0
votes
0answers
31 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 ...
-1
votes
0answers
9 views

AdMob Libgdx Full Screen Ad

favorite How can I make an AdMob ad in libGDX game ? For example I want to put small add at the bottom of some screens. but when the user loses I want to show a full screen add . any suggestions ?
0
votes
1answer
37 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
38 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
votes
0answers
13 views

Advice for which network API to use to develop an android multiplayer game [closed]

I'm stuck as to what is the best API to use for developing an android location-based multiplayer game, for a uni project. I know you can code "low level" networks with androids given libraries, but ...
0
votes
0answers
23 views

Use LibGDX 2d particle editor with text?

Is there an easy way to use text in the LibGDX 2d particle editor. I want to show a score with an animation. Or must I create for each text an image (and a ParticleEffect instance)?
0
votes
1answer
27 views

How to retarget monogame solution vs2012

Im currently having a bit of trouble testing my multiplatform game. It originally started as an android project in monogame has extended to windows 8 and WP8. I'd like to test our the win 8 port, but ...
1
vote
0answers
41 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 ...
0
votes
0answers
48 views

splashscreen so slow to start [closed]

i'm developping and android game with a splashscreen but this one take time to start with a black screen. i have tried 4 or 5 differents code but the same problem :( i don't know where is the prob ...
-4
votes
0answers
20 views

the image dragged out screen in the right side [closed]

hi i'm new here and i have same problem. Actually i'm developping and android game and i have a problem when dragging the image in the right side of the screen. it can depass it. the game is like a ...
1
vote
1answer
39 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
17 views

Android chess development design [closed]

I want to develop human vs human android chess game and I have bunch of new questions. I would like to have screen where online players are shown(nickname, rating) and when player challenge antoher ...
0
votes
0answers
12 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
54 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 ...
-3
votes
0answers
39 views

importing BaseGameUtils library [closed]

Hey :) I am trying to add the BaseGameUtils library to my workspace, I am using this guide: https://developers.google.com/games/services/android/init , I have downloaded from here ...
1
vote
0answers
22 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
22 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 ...
5
votes
1answer
171 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 ...
2
votes
2answers
75 views

How to increase the acceleration of an object on the Y axis? [duplicate]

So far I am able to make the character fall at a constant rate but I am unsure how to make the character accelerate while falling. When the character is falling I have a line of code as such: ...
1
vote
0answers
19 views

Manage Admob Between Classes [closed]

I have a problem with ads because i want to disable the banner of ads in the game activity. I tried to use this guide https://github.com/libgdx/libgdx/wiki/Admob-in-libgdx#control but application ...
2
votes
1answer
37 views

Wake locks in Android multiplayer games

I'm porting an FPS game to Android, and I have a question about the use of wake locks. Should the client acquire a wake lock when it connects to a server to keep frames running at a proper rate when ...
-3
votes
0answers
33 views

Share text message on selected media

I want to share text data on player selected social media. Basically I want to implement functionality like following link represent for android. Send Text Content I want to give user a choice for ...
-2
votes
1answer
39 views

How can i export unity games to android?

I'm using unity 4.0. I want to build games for android. When I click build it opens a select folder dialog box and wants an apk name. But after pressing select it does nothing. Simply the dialog box ...
3
votes
1answer
99 views

Simulating Smartphones on PC with Unity

I want to make a game that depends on the phone orientation (changing shoot direction with tilt), however I need to test this on PC. So is there any tool I can use to simulate the orientation of the ...
0
votes
0answers
28 views

OpenGL Textures have distorted colors on some android devices

I am uploading loading images as textures to GLSurfaceView. The resulting textures look perfectly fine on some devices, on others the appear completely distorted. This is what it looks like on a ...
0
votes
1answer
55 views

Opengl ES 2.0: Is there a way to use less resources to draw in-game background texture

1.Should my in-game background be drawn with my game loop renderer, or if 2.I don't want to draw my background image every frame in my main renderer since it could possibly be a heavy job while the ...
-1
votes
0answers
28 views

rotate the image as finger move

I am facing a problem when rotating an image as my fingers move. I am getting a small deviation. Can anyone help me to resolve the problem in this code? public void touchDragged (InputEvent event, ...
-3
votes
0answers
29 views

Selecting interstitial advertisement companies for android

I'm developing an android game using the libgdx framework, and have reach a notorious doubt, what's a good way to place advertisement into my app. My first choice are interstitial advertisements, ...
0
votes
2answers
56 views

When to scale bitmaps in android game

I've just started developing my first game with android using SurfaceView. I scale my bitmaps to support different screen sizes. But I don't know it's better to do the scaling when loading the bitmaps ...
0
votes
0answers
20 views

Cannot draw around the screen after zooming out with LibGDX projection coordinate

I've just started developing game in android using LibGDX. I've follow some samples and now my simple game can draw path when user move their finger around the screen. now problems appear when i add ...
0
votes
0answers
24 views

setRotation in touchDrag

I have a problem, have Actors that represent game pieces. What I'm trying to do is make it so the player can click-and-drag the tile to move it around one fixed position in the screen and rotate. I ...
0
votes
1answer
36 views

Swiching screen at collision LIBGDX

I am programming with LIBGDX and I am working with a piece of code. What I want to happen is that when the BUCKET collides with a DROP the game switches screens back to the menuScreen. I have tried ...
0
votes
1answer
33 views

Box2d linear velocity unit in AndEngine

I’m using AndEngine with Box2d for a game with many moving objects. I’m developing in iOS Sprite Kit simultaneously . in iOS Sprite Kit , I use, physicsBody.velocity The physics body’s ...
0
votes
1answer
25 views

how to check in single event that two object clicked at same time in libgdx

I am newbie to libgdx, i wrote 2 functions for touchdown, LockerKeyHalfImage.addListener(new InputListener() { public boolean touchDown (InputEvent event, float x, float y, int pointer, ...
0
votes
1answer
54 views

Rendering tilemaps at a specific position libgdx

I'm making an endless side scroller game like gravity guy with libgdx. To test this I'm just creating two tiled maps with the same .tmx file to render then one after another, like: ...
0
votes
0answers
13 views

Transitive dependencies show up in desktop but not android project

I created a generic library (PB) which I'm referencing in my core project (mega-whack). Here's what the dependencies look like (simplified build.gradle): project(":pb") { dependencies { compile ...
0
votes
0answers
11 views

OpenGL ES 1.0 Create a Trapezoidal perspective scaling on a texture while using Ortho

I am using an Ortho projection to do most of my stuff and i am happy with it since i basically do everything on the same plane, now however i need to create a simple "flip card" effect on an object ...
0
votes
1answer
90 views

Making Player Jump

I have been editing a piece of code and I have already implemented gravity so I would like to know how i could make the player jump when the screen is touched. I would like the player bucket to jump. ...
0
votes
0answers
45 views

Make LibGDX game responsive to different phone screen sizes?

I've been experimenting with small games to learn design concepts, LibGDX, and Box2D. I am wondering how you would implement "responsiveness," so to say. For example, this is the rendering part of my ...
0
votes
0answers
19 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) ...
-1
votes
0answers
32 views

Parallax runner game obstacles AndEngine

Hi I recently started making an AndEngine runner game so for that as you guessed I need AutoParallax background so the screen would be moving all the time. I know how to do that part but what I want ...
1
vote
0answers
77 views

Send Message: Object Not Found

I am trying to call a method within a Unity app from an Android activity by using UnityPlayer.UnitySendMessage. I am getting the error "SendMessage: (ObjectName) not found!". I've confirmed the ...
1
vote
1answer
54 views

Gradually reduce speed

Basically I am working on following application of android version Party Games: Drinking Wheel For this I want to rotate wheel and want to stop wheel at specific point. But I want this with gradually ...
0
votes
1answer
44 views

How do I move my character using accelometer (android)?

I created a class for accelerometer, and there are no errors, my game does not crash when I run it, but my character does not move when I tilt my phone. I have been trying to figure out how to use the ...
1
vote
1answer
71 views

Concerns about Google Play Games security

I want to develop a Android game using LibGDX. Let's take a classic example ; some player can battle another one in turn based matches. The outcome of match defines the reward in some ingame currency. ...
3
votes
1answer
44 views

How do I make an XML-specified animation show completely?

I want to add animation to my game board when updating tile positions. I can start an animation at the right point, but there's a catch: When the translate animation starts, it seems like the ...
1
vote
1answer
47 views

How to execute a piece of code for X seconds in Andengine?

I need to execute some code in my game for 5 seconds using the Andengine framework. So far, I've tried with the onTimePassed update handler: scene.registerUpdateHandler(new TimerHandler(5f, true,new ...