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

learn more… | top users | synonyms

1
vote
2answers
282 views

How to flip a quad (openGL es 2.0 Android / Java)

bHow would one go about 'flipping' a quad i.e., either horizontally or vertically? (Just a single quad, not everything in view). I know how to rotate a quad, this is my rotation method: public void ...
-1
votes
2answers
153 views

ParallaxBackground doesn't work well with sprite scaled

I'm trying to set a ParallaxBackground for my AndEngine's game. So I did this: Sprite montagne = new Sprite(0, 0, RM.montagneBackground, vertex); Sprite piante = new Sprite(0, 0, ...
0
votes
0answers
263 views

Libgdx - Box2D: Attach Physics Body Editor Loader mask to dynamic texture

I have a texture of a circle, which gets drawn to a new position when a touch drag occurs. It isn’t set up as a body. I have made a physics map using Aurelien Ribon's Physics Body Editor Loader GUI ...
0
votes
0answers
213 views

Android SurfaceView framerate issue

I am using SurfaceView to draw a lot of Bitmaps onto canvas. This causes really variable frame rates depending on how many objects are present. My code below: public class OriginalView extends ...
0
votes
1answer
272 views

ParallaxBackground AndEngine

I'm new to game development andengine. I want to add ParallaxBackground but I don't know how to change background on player move. I'm using arrow for moving a player. Now my question is where I write ...
0
votes
0answers
234 views

Trouble with textures in Unity and Android

I am trying to dynamically create textures of a single (random) color via script. In the Windows Editor it works, but in Android it fails and my Quad gets a magenta color (i.e. missing texture). I am ...
-1
votes
1answer
148 views

Recommended aspect ratio for android / smartphones?

I'm making a game for android and would do it in 720p, but the phones got all different aspect ratios. Also thinking about a ios and windows phone port later. When the aspect ratio does not match, ...
-2
votes
1answer
167 views

Copyright issues in games

I have developed an android game which is a puzzle type game. since I am a fan of iron man myself and want to use its wallpapers in my gaming area background so my question is can I use it in my ...
2
votes
2answers
248 views

Large resolution differences

I want to develop a game on multiple devices such as PC, Android or IOS. Want it to be in 1080p, but that means a massive scale down for the smartphones. I know how to do that, just render everything ...
0
votes
3answers
388 views

Modify game using external file

In Flash, for example, I can place an xml file along with the binary, then if I modify some variable the game will change for everyone. How to achieve something like that in Android? I know that for ...
0
votes
0answers
61 views

2D leveldesign R.U.B.E Editor problems

I'm new here and first of all i want say hello Me and my brother are working on an android game at the moment and we get better and better every day (we startet from the scratch...). I finished our ...
1
vote
1answer
102 views

Is there any “object” in monogame for windows phone 8, that is similar to Toast in Android?

The title pretty much sums it all. Is there any "object" in monogame for windows phone 8 (for monogame to be exact), that is similar to Toast in Android? My purpose is to give a notification / hint ...
3
votes
1answer
389 views

How to program dynamic touch events that scale according to device?

When using openGL to build a UI for my prototype I find that that I am still required to use pixels to capture touch events. To make matters worse the Android Docs make this subject slightly ...
2
votes
1answer
570 views

How to scale openGL textures by a ratio based on height/width (or alternative)

I have been able to successfully allow my UI to extend over edges of my game on higher resolutions by using the Android Guide and by implementing this code on the GL10 object: ...
1
vote
0answers
82 views

How to space actors in scene uniformly? [duplicate]

I have a Array data structure right now, which contains 10 soldiers in my army. They can setup initially in various formations - e.g. o o o o o o o o o o The user can move one of the ...
0
votes
1answer
842 views

Android Bitmap: Collision Detecting

I am writing an Android game right now and I would need some help in the collision of the Pawns on screen. I figured I could run a for loop on the Player class with all Pawn objects on the screen ...
0
votes
0answers
123 views

How to handle Null Pointer Exception in libGDX's Box2D ContactListener?

What's up everyone, I am heuristically producing a Pong clone in Box2D via libGDX. The Null Pointer Exception is originating in the ContactListener's beginContact() method in which I am trying to ...
2
votes
1answer
274 views

How to know in OPenGL ES android that one object crosses another?

I have 2 objects on the screen: static: non-static: non-static object moves randomly over the screen. How do I know that non-static Object cross the "+" (static). Both objects I draw by using ...
0
votes
1answer
563 views

what kind of technique is used in android game rendering like Pou

Hi I want to create a game which is graphicaly similar like Pou, I just do not know how is is rendered, if it is using opengl or just bitmaps at canvas? I want nothing serious, so i think opengl is to ...
0
votes
1answer
603 views

How to get drawn Image width/height on the screen with openGL ES on Android?

I need to know how to get drawn image length and width. I have this code so far where I draw Radar in left top corner with hard-coded coordinates: int _SRC = R.drawable._item; ... float ...
-1
votes
4answers
461 views

App: My game is ugly. Advice on making it less ugly [closed]

Following is the main screen you see when you start the app. After touch, you get directed to the two options. You can either start from the last puzzle you solved or select from the list This ...
4
votes
1answer
865 views

Google play game services and Facebook integration in one game

We are creating a cross platform game for iOS and Android. We have thought about how and with which services we should integrate achievements and scoreboards with. For the iOS part, we are pretty ...
0
votes
0answers
215 views

pause or freezing game screen

I have a question regarding the pausing/freezing a game while a window/pausemenu will appear at center of the screen. I've already created a pausescreen class which will be called each time the back ...
2
votes
1answer
331 views

Are frequent game updates a solution for preventing multiplayer cheating?

I'm creating a game on Android where the enforcement of rules can only take place on client side (I can't shift it to server side...think aimbotting but in my case I wouldn't even be able to use ...
0
votes
1answer
323 views

Problem converting FBX file into XNB

I create a Monogame Content Project to convert assets into XNB. For FBX file without texture there is no problem: the file is correctly converted and when I load XNB into my project everything is ok. ...
3
votes
1answer
5k views

Most common resolution used in Android phones as of 2013 [closed]

Before making an Android app, I want to know what screen resolutions I should target. I know there are resolutions of 1280x800, 1280x720 and 800x480, but I would like to know which are most common. ...
3
votes
1answer
636 views

How do I clip an image in OpenGL ES on Android?

My game involves "wiping off" an image by touch: After moving a finger over it, it looks like this: At the moment, I'm implementing it with Canvas, like this: 9Paint pTouch; 9int X = ...
2
votes
0answers
294 views

multi-threading for openGL in Android? [closed]

In my old game based on canvas and bitmaps I used surfaceHolder and Thread to call onDraw: public class GameThread extends Thread { private SurfaceHolder _surfaceHolder; private ScreenObjectsView ...
0
votes
1answer
153 views

Really weird peaks when profiling a simple scene with Unity3D

I need some help optimizing my game. I have spent last 3 days digging around with no luck. I have noticed really odd results in the unity profiler so, I have created a simple scene with just a cube ...
2
votes
3answers
212 views

Let a time counter working when an app is closed?

Can we let a time counter working even if an app is closed? I would like to add a timer so that we have to wait XX seconds/minutes before a building is created in a game. I don't want to use an ...
3
votes
2answers
123 views

How to change dynamically vertices during call “draw” method?

I'm new in openGL world and I try to figure out followed problem: How can I change size/zoom dynamically for my spritesheet. This class represents some creature fetched from spritesheet and animate ...
-2
votes
1answer
661 views

Difference between Unity Pro licenses?

What is the difference between the various Unity Pro licenses? What does Android or iOS pro give me that Unity Pro doesn't? And what is the point of getting Unity Pro if I only care about mobile ...
0
votes
0answers
85 views

License for a Breakout [duplicate]

This may not be an appropriate question for gamedev.stackexchange.com. I'd like to make a basic Breakout game with Unity. I'd also like to sell it on the Mac App Store, iOS App Store, Google's Play ...
1
vote
0answers
87 views

How to use HyperLink with Actor in Libgdx

I am making a quiz game using LibGDX. I want it to redirect to a website. I am using classes like Text and Label that extends Actor to write text using a bitmap Font. I have no idea on how to provide ...
2
votes
1answer
712 views

Android SDK does not include any platforms!

This question has been asked several times on the Unity answers website, but there's no solid answer to it! Problem: While trying to build a game for android in Unity, I receive this error: Android ...
2
votes
0answers
325 views

Not able to change the background of the scene in cocos2dx android

I have started Game Development using Cocos2d-x. And started with HelloWorld sample game. I am able to run this sample game. But when I try to change the Background Color, I am getting error in ...
1
vote
1answer
166 views

Android Game Idea loop

So I'm a beginner in developing android gaame. I already developed a game, it's intended for kids. Basically, the game has 4 stages. In each stage, it has 15 questions. If the user chooses the correct ...
0
votes
1answer
192 views

Cocos2d-x cross platform development

I want to make a game with my friends on iOs, Android, WP operating systems. We decided to use a cocos2d-x and develop the core of the game on C++. What will be the right way of developing so that we ...
1
vote
1answer
455 views

Candy crush saga popup-like messages

I was wondering how could I make in Android something like the popup messages seen in Candy Crush Saga, those messages like "Delicious!", "Tasty!" or similar: As well as the score of each movement, ...
3
votes
2answers
283 views

Word Search Game Issue

I am developing a game like word search. I have used AndEngine for this and for displayig grid of words I have used TiledMap. In this game, we need to join letters to make a word as we drag our ...
6
votes
1answer
142 views

How to prevent clipping when moving through a tunnel?

I'm developing for Android using OpenGL ES 2.0. It's going to be a game where you have to fly through a tunnel without hitting the walls. However, the tunnel wall gets clipped as the player ...
2
votes
1answer
146 views

re-using objects

I'm working with openGL ES 2.0 on Android and I've created a custom 'Quad' class. This allows me to make a sprite object like so: Quad mySprite = new Quad(); mySprite.setSize(w,h); ...
3
votes
1answer
186 views

Manipulating Perlin noise output to create different ore veins in different depths

I am developing a simple project using Java, for Android. It is a side-scroller with a procedurally generated, infinite world. Most of the generation will be working on underground but I expect the ...
0
votes
1answer
141 views

Edge Detection on Screen

I have a edge collision problem with a simple game that i am developing. Its about throwing a coin across the screen. I am using the code below to detect edge collisions so i can make the coin bounce ...
2
votes
1answer
425 views

How to tell what part of a 3D cube was touched

I am writing a rather simple android game and I am implementing Open GL to draw a 3D cube that spins upon the X, Y and Z axis and I need to know where the user has clicked on the texture of the cube. ...
-1
votes
1answer
148 views

Why Android for new (micro) consoles?

There are a lot of new (micro) consoles with Android inside coming soon or already there (OUYA for example). My question is: why use Android and not another OS as base for these consoles? I assume ...
1
vote
1answer
335 views

Android Game Development. Async Task. Loading Bitmap Images Sounds

Im working on this game for android. And wanted to know if my thread architecture was right or wrong. Basically, what is happening is, i am loading All the bitmaps,sounds etc in the ...
0
votes
0answers
191 views

How are OpenGL ES 1 framebuffers and textures sized?

I am trying to draw to a texture using a framebuffer using OpenGL ES 1.1 on Android, Java. Afterwords I want to overlay this texture full-screen over my game. In theory, this works like a charm, but ...
1
vote
0answers
145 views

how to play a video with Android or AndEngine

I don't know if it's possible to show a video like the videos in Angry Birds (Something in Flash or another format) in middle of a game with Android or AndEngine or are they animations what they are ...
0
votes
1answer
345 views

Saving an interface instance into a Bundle

All I've have an interface that allows me to switch between different scenes in my Android game. When the home key is pressed, I am saving all of my states (score, sprite positions etc) into a ...