Tagged Questions

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

Libgdx- Translate animation is not work

In the libgdx how to scale animation.. this code has been not work. ScaleAnimation scal=new ScaleAnimation(0, 1f, 0, 1f, Animation.RELATIVE_TO_SELF, ...
0
votes
0answers
9 views

how to write the logic for onFling using unity c# or js script

I want to rotate the wheel by using onFling gesture.
0
votes
0answers
11 views

What are the different Xamarin Technologies? What do they do? [on hold]

Can anyone please help me in knowing the list of all the Xamarin technologies related and for game development in Android and iOS platforms: libraries, game engines, API, SDK, etc. I am new to Xamarin ...
0
votes
0answers
40 views

Maze game 2D - simple solution [on hold]

I want create simple game for Android using Java in my app where user using his finger moves his hero from top to bottom of the screen, and have to avoid enemies moving from left to right randomly. ...
-2
votes
0answers
22 views

libgdx; how to slide the image ya popup

I want to slide the image foe Example any Car Racing game when choose any car than slide the car popup. thats my problem how to slide the popup in the libgdx. Ya how to use Translate animation ya any ...
0
votes
2answers
84 views

Dealing with multiple scenes /levels

Overview I have a scene manager in my game and in each 'Scene' I have a render() and a update() method for drawing and updating my game's logic. Basically, when I want to switch to another scene, ...
0
votes
1answer
16 views

Android Canvas 2D Game: Supporting multiple screen sizes/resolutions [duplicate]

I'm planning to develop a 2D game for android devices by using simple Canvas Surfaces (I know that OpenGL might be more efficient - but Canvas should definitely be enough for my type of game). I'm ...
0
votes
0answers
39 views

Making a player jump [closed]

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

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

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

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

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

Choppy Character Movement Unity 2D [closed]

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
44 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
52 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 ...
2
votes
1answer
142 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
vote
0answers
68 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
1answer
45 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
19 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
42 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
35 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
11 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
69 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
78 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
30 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
58 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
15 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
45 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
36 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
41 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
67 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
2answers
43 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
28 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
112 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
19 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
66 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
93 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
189 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
66 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
107 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
64 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
91 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
69 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
66 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 ...