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
7 views

Libgdx LiveWallpaper [on hold]

I am working on Live wallpaper application, and this is my first libgdx application. my code is working but my problem is that more objects are coming.. how to reduce the amount of objects (Hearts) ...
1
vote
0answers
84 views

Why do phone games limit turns?

Many phone games restrict the number of turns you can play in a given amount of time. I don't get what is the purpose of this limitation. Is it only to force the player to buy additional turns? Some ...
-1
votes
0answers
21 views

How to load UV texture from blender to opengl JAVA Android(or just java) [on hold]

ehhhh hello guys Im tried load UV texture which i made in blender. In blender it's ok Figure loading ok, materials loading ok. But problem with texture.. i dont know whats wrong cos im new in ...
0
votes
0answers
11 views

onSignInSucceeded and onSignInFailed not called (Google Play Games Services)

Using the code below, can anyone tell me why my onSignInSucceeded and onSignInFailed callbacks are not triggered when signing in? It works fine if I extend BaseGameActivity, but when trying to extend ...
0
votes
0answers
12 views

Unity android app chrashing [on hold]

I have samsung galaxy ace gt-s5830 (android 2.3.6) and I'm trying to compile an app for it. I'm, trying the CameraRelativeSetup scene (from default assets - mobile). But it keeps crashing at startup. ...
0
votes
1answer
22 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
0answers
15 views

Google Play Games: onSignInFailed() and onDestroy()

I just had an error while testing my game, this is an update that I'm working on and it's never done this before (and I've launched this game on various devices literally hundreds of times, so it ...
0
votes
1answer
19 views

Android OpenGL: Use several Textures for one Animated Sprite

Good evening. I'm programming an Android Game. To reduce the amount of textures that need to be loaded (OpenGL ES 2.0) I've created several spritesheets of size 1024x1024. Some frames of the same ...
0
votes
0answers
17 views

Implementing projectile motion on Android's canvas [closed]

I'm going to Implement projectile motion on Android's canvas with an image like ball or something but I really have no idea how can I exactly do it. I know these formulas: X(t) = speed * Cos(alpha) * ...
0
votes
0answers
11 views

Android View (Splashscreen) Vanishes after phone woken up from sleep

My game uses OpenGL ES 2.0 and I have a splashscreen which uses a standard Android View. This plashscreen is shown on top of the GLSurfaceView and then simply removed once everything has been loaded ...
0
votes
1answer
45 views

Background Music in Puzzle Math Game [duplicate]

Can someone suggest, recommend or directly link me on a site that offers free background music for an education puzzle game? I honestly not good in picking up a background audio that suits my puzzle ...
0
votes
1answer
49 views

Desktop and Android diference in rendering [closed]

I have my game setup and working on Desktop and Android. Once I create my core screen class, it stops responding on Android. I tested it on my phone too. It runs Android 4.0.3. Is there a special ...
0
votes
0answers
16 views

How to change Google Play thumbnail image in link

Whenever i share my android game which is on Google Play as a link on social media my least favorite pic of the game gets used as a thumbnail. I have since deleted this pic from the developer console. ...
0
votes
0answers
16 views

AndEngine: paint in my scene

In my app I want to paint in a scene but I have a problem with primitive elements; I tried to use a "Line" but I can't draw a line with a big size line, so I tried a "Ellipse" but if my color-swipe ...
0
votes
0answers
19 views

Android: ACTION_POINTER_DOWN Called Multiple Times

I hope someone can help me here My code is below and I can't figure out why the ACTION_POINTER_DOWN case is being called multiple times (sometime twice, sometimes 4 times, but always multiple times). ...
0
votes
0answers
31 views

Google Developer Console Error message

i received my first crash report of on Google Developer Console yesterday and im completely lost. Did anyone receive this error before and how can i go about fixing it? Any help would be greatly ...
0
votes
1answer
81 views

android game development: why is my screen black?

so, im strarting an android game from scratch, and every time I try i stumble uppon the same problem, my screen is not displaying what i want it to. I've read various tutorials but they are either ...
0
votes
2answers
168 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(); ...
1
vote
1answer
62 views

How can I make this shader background more efficient?

I want to use a shader as a background for a mobile game. I'm using libgdx for my project. I've never written glsl before, but here's my attempt so far: http://glslsandbox.com/e#22332.13 On desktop ...
0
votes
1answer
31 views

How to make unitypackage from allseen alliance's android sdk?

Im making an offline multiplayer for Android device by Unity and I found only one way to do this is the allseenalliance sdk. After download its from here I found that to use it I need to create an ...
0
votes
2answers
41 views

Adjust bitmaps according to screen ratios on android

I always thought that pixels were square... it turns out i'm wrong, and I am quite worried by this. This means that if I draw a circle, it will be round on my screen but it could be an ellipse on ...
0
votes
0answers
27 views

How to play video in Unity Free on Android (may be using external open source libraries like ffmpeg)

I need to play video file in my game and I am using Unity Free. The solution with rendering images with a certain delay is not suitable for me, because my video file is made from over than 300 images. ...
2
votes
2answers
50 views

AndEngine rotate all connected bodies

I have created below hexagon structure in Andengine with box2D physics extension. I want to rotate whole structure with respect to center when other ball collides with the structure using physics. ...
0
votes
1answer
40 views

Why table in libgdx game give wrong position

Can anybody guide me, I am creating a table in libgdx game on menu screen to set different buttons on my screen. here is the code for table draw table.setBounds(0, 0, Gdx.graphics.getWidth(), ...
0
votes
0answers
41 views

Google Play Game Services Logcat warning

I'm getting the following warning in my LogCat output. I have implemented Google Play Games Leaderboards which, after some research, it appears this warning is related to.... I would point out ...
0
votes
0answers
27 views

Android: Asynctask causes ANR (very) intermittently

I'm doing some work on an AsyncTask (creating game objects, loading resources etc) while displaying a static splashscreen. The problem is that every now and then, the AsyncTask doesn't run and the ...
0
votes
1answer
30 views

Android: Require variable accessed from one thread to be immediately available in another

I'm developing an OpenGL ES 2.0 game and have run into a problem which I hope is really simple to resolved. Basically within my game I am using the 2 threads provided by OpenGL only. Those being: ...
7
votes
5answers
2k views

How can I mark levels as “complete” in a way that prevents cheating?

My first thoughts about marking levels complete is to just write the information to a file upon level completion and load that in once the app is opened up again. But how could I keep this safe from ...
2
votes
1answer
46 views

Libgdx Actions interpolation Fadeout

In libGDX there is a simple fade Interpolation that speeds up towards the end of the action animation. But what I am looking for is the reversed of it, it needs to start fast and slow down near the ...
0
votes
1answer
103 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 ...
0
votes
0answers
16 views

Porting from WP7 to WP8 and Android (Monogame) - Screen Scaling

Sorry if this seems like a silly question but I have ported a game across from WP7 to 8 and noticed the game didn't auto scale so the game was just over a quarter of the screen. which lead me to the ...
0
votes
1answer
106 views

Game sprite far too small

So I started writing an Android 2D game. I've come to the point where I want to display my character image on the screen. I read that most sprites have a resolution of 16*16, or more. So I created an ...
0
votes
1answer
39 views

Port sandbox flash game to Android and iOS

I'm want port my sandbox game to Android and iOS. Game written in AS3 (i'm use my simple 2d engine on stage3d). What do you recommend I use? Haxe + OpenFL MonoGame + Xamarin (C#), or other 2D engine ...
-2
votes
1answer
45 views

How can I parse the leaderboard data returned from Google's API?

We're developing our first Android game and we want to get leaderboard data from Google Play Game Services and use the score data from the different leaderboards. I am able to use Unity's WWW class ...
8
votes
1answer
623 views

Taking advantage of multithreading between game loop and openGL

Talking in context of a game based on openGL renderer : Let's assume there are two threads : Updates the game logic and physics etc. for the in game objects Makes openGL draw calls for each game ...
18
votes
4answers
2k views

How can I “publish” an Android game without Google Play?

I'm new to development and trying to get a sense for the obstacles to publication If I need to circumvent the Google Play app store, can I publish a game to a website that people can visit in a ...
1
vote
0answers
45 views

Having unity game saved to SD card can't run on certain devices but after it's moved to phone memory it works.. why?

A game I made ends up not being able to run (it shows the loading screen but after that it gets stuck), happens on nexus 5, sony experia z3 and I found this happening because the game was downloaded ...
1
vote
1answer
158 views

Cocos2d-x supporting multi-resolution using density independent pixels

Is there a way to use Density Independent pixels(dp) in cocos2d-x? I am developing an Android game using Cocos2d-x 3.0. The Android reference ...
0
votes
1answer
46 views

Capping framerate independently of logic updates in single-threaded Android Gameloop

My game is currently using the below game loop (this is an OpenGL ES 2.0 game, therefore the loop-work takes place on the rendering thread in the provided onDrawFrame method). Currently my loop ...
0
votes
1answer
45 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
65 views

Mysql database reading and writing [closed]

In my Libgdx application I would like to be able to connect to a mysql server securely and read and write data from it without other users injecting, or changing information. I've found this: ...
1
vote
1answer
73 views

LibGDX Touch Delay

So I'm trying to make a game in which you have to tap things fast, but the thing is - after you touch something (the area I chose), it takes like 2 more seconds to register another touch. Now, I think ...
1
vote
1answer
38 views

Drop in quality of rendering of texture [closed]

Platform: Android OpenGL ES 2.0 I'm drawing a texture on to a square using OpenGL ES2.0. The texture scrolls infinitely in vertical direction. The rendering quality drops very rapidly after a few ...
0
votes
0answers
81 views

Implement Camera (former: CCCamera) v2 in cocos2d-x v3.3

we want to port camera code from cocos2d-x version 2 to version 3.3 with the goal to imitate the behaviour of a CCCamera in cocos2d-x version 2 exactly. You can assume that values for "eye" and "up" ...
0
votes
1answer
61 views

Is it possible to create sqlite database only for android in LIBGDX game? [closed]

I want to know if I can just implement sqlite database for android in libgdx game? Also if this is not possible then may I know the simple way to integrate libgdx game to just store scores in sqlite ...
0
votes
1answer
39 views

Making dialog “clips” in libGDX or in general?

I'm new to libGDX (I just released my first game), and I've started thinking about things I'd like to do next time. One thing I really want to do is, have those story type movies, where you tap the ...
1
vote
0answers
81 views

I'm 14 y/o and I'd like to publish my app on the Play Store! [closed]

I'm 14 and I made a game for Android and I would like to publish it. My question is that how could I publish my app on the Play Store. As a minor is it legal for me to publish it? I wouldn't like to ...
1
vote
1answer
73 views

how to remove game objects after on overlap in LIBGDX game

I have gold stars in my game that give score to game hero if the hero overlap with the star. What I want is to remove star once it overlap with hero object. I give score by checking overlap with this ...
1
vote
1answer
49 views

Drawing shapes and images in libgdx dialog

I am currently working on a dialog window for my android game using libgdx. This dialog window contains a collection of labels and buttons, but should also contain an image. The image represents the ...
0
votes
1answer
43 views

How can I make a flapper game that scales to multiple aspect ratios?

So I've never made a game before besides a basic 4:3 aspect ratio flapper, so bare with me. Recently I had this wild idea that I wanted to make this complected (for a 2d) game in cca. Unfortunately ...