Operating system for mobile devices. For non-developer questions, see http://android.stackexchange.com
2
votes
2answers
119 views
What needs to be done to port a Windows Flash game to Android?
My team has developed a game using Flash (with Lua embeded) that targets Windows. And we want to port that game to Android (also iOS in the future).
It's acceptable to rewrite the Flash part of ...
2
votes
2answers
273 views
Detecting collision between ball (circle) and brick(rectangle)?
Ok so this is for a small uni project. My lecturer provided me with a framework for a simple brickbreaker game. I am currently trying to overcome to problem of detecting a collision between the two ...
2
votes
2answers
294 views
How do I get the touch event on a body in Box2d(Java)
I have various bodies rotated at some angle with the help of Box2d in libGDX. What I want is to destroy the body when I click on it, but the problem is that I am not able to get the area definition of ...
2
votes
2answers
294 views
How to detect a touch on transparent area of an image in a (libgdx) stage?
Can some one please help to detect a touch on an image which I am using as an actor in a stage. The image is actually a long diagnol brush which has plenty of transparent area. The problem is when I ...
-1
votes
2answers
317 views
Android - Unity3D: setVisibility(View.VISIBLE) crashes
I have a unity project and I use a Android (java) plugin to get camera data. I draw this on a TextureView. I want to hide/show this view when I press a button in unity. But my app crashes when I ...
5
votes
1answer
346 views
FBO rendering different result between Galaxy S2 and S3
I'm working on a pong game and have recently set up FBO rendering so that I can apply some post-processing shaders. This proceeds as so:
Bind texture A to framebuffer
Draw balls
Bind texture B to ...
4
votes
1answer
164 views
Android game loop's effect on cpu/battery usage - unexpected results
I will try to keep this question as concise and as readable as I can.
I recently came across an odd problem with my Android game that I'm developing.
It's an openGL ES 2.0 game and initially I was ...
3
votes
1answer
971 views
How to move gameobject with touch on Android
I'm trying to make a game where you control a character via touch on Android devices.
The player will have two degrees of movement.
When you touch the touch screen and move your finger, the game ...
2
votes
1answer
120 views
How do I eliminate black bar artifacts in AndEngine/TMX plugin?
I used AndEngine gles1 along with the tmx plugin to generate my background maps. The image width is not fit to my virtual device, so I increased the tmx image size. Here is my code for the camera ...
2
votes
1answer
80 views
How can I access bitmaps created in another activity?
I am currently loading my game bitmaps when the user presses 'start' in my animated splash screen activity (the first / launch activity) and the app progresses from my this activity to the main game ...
2
votes
1answer
1k views
Flick Gesture in Unity3D Android
I'm trying to create a football game where the user will make a flick gesture in order to kick the ball. I'm quite new to developing games in unity3d, I have successfully made a moving ball, added ...
2
votes
1answer
273 views
Change the scale-policy of OpenGL ES in Android?
I currently develop a game for Android in OpenGL ES 1.0, use libgdx library. I target the 720x480 screen size.
For example, I design only one arts pack for 720x480. And what will happen in Android ...
1
vote
1answer
26 views
How to check default axis orientation on device?
I am developing a game which uses the accelerometer to move the character. It works fine on all the mobile phones tested on.
However when testing on a tablet, it seems the y and x axis are reversed I ...
1
vote
1answer
43 views
Using AdMob with Games that use Open GLES
Can anyone help me integrating Admob to my game. I've used the badlogic framework by MarioZencher ... and My game is like the SuperJumper. I am unable to use AdMob after a lot of my attempts. I am new ...
1
vote
1answer
154 views
How do I make a scrolling background a la “Temple Run”?
I am looking to create a scrolling background much like "Temple Run" so that it may appear as though you are running down a hallway. Would someone please be able to point me in the right direction?
I ...
1
vote
1answer
479 views
When to use ShapeRenderer & SpriteBatch in libGdx?
As a beginner(in GdxLib+Android), i found that for rendering particular screen, we can render that using both ways then when to use specific ones?
&
What is the best option for Updating the ...
1
vote
1answer
116 views
Memory issues with new game on s3
I am building a new game with AndEngine and for some reason i keep getting this debug statement in the Logcat:
01-31 21:29:50.503: I/Choreographer(697): Skipped 152 frames! The application may be ...
0
votes
1answer
17 views
Problem with Widget Event Reporting in Libgdx
So I'm trying to test an ImageButton on an Android device. I can get the button to appear on the screen, but when I press it nothing happens or appears on the log. Here is what I have in the Show() ...
0
votes
1answer
37 views
How do you implement Libgdx touchDragged?
I'm a beginner in Java and in Game Development too. I was following some tutorials, but now I'm stuck on implementing a touchDragged listener using libgdx,
Can anyone suggest how to drag the image ...
0
votes
1answer
55 views
Android Loop : Draw Loop : How to pull off smooth FPS?
I am writing 2D side scrolling bullet hell-like game.
I am at a point where I struggle to pull off smooth fps.
I have separated loop that manages drawing.
However I want update the position of ...
0
votes
1answer
152 views
GameLoop architecture for local multiplayer
I'm writing a game for Android to which I want to add a mulitplayer mode (local multiplayer via WiFi/Bluetooth, not online multiplayer via server). I stored the exchange-code between the client ...
0
votes
1answer
411 views
Android: Improving surfaceView?
I'm using Surfaceview in my Android app. I have two threads, one for UI and another for rendering and updading the UI.
I am limiting my frames per second to 30 fps and have employed frame-skipping ...
0
votes
1answer
189 views
To stop Spite animation scrolling along the background in openGL ES
After using the endless road algorithm as described here, I also implemented the scrolling of walls along with it.
I have the walk animation of the person which is stationed at the center of the ...
0
votes
1answer
408 views
Making body(box2d) a spite(andengine) in android
I can't make body(box2d) a spite(andengine) and at the same time i wanna apply MoveModifier to sprite which is body.if i can make just body,it works namely the srites can collide.if i can apply just ...
-1
votes
1answer
70 views
Will Google Play Game Services allow asynchronous gameplay
Will the Google Play Game Services multiplayer allow asynchronous (turn-by-turn) gameplay like DrawSomething?
I've checked the docs but cannot find anything except a few mentions via a separate ...
-1
votes
1answer
266 views
2d triangle with OpenGL-Es on Android
hey I am trying to draw a triangle on opengl es . I just followed a tutorial to do it. eventhough everything seems to be fine it does not work. everytime I run my code it sends me back to main menu.
...
-1
votes
1answer
334 views
Create Box2D and engine polygon Box2D body without sprite
Hey I have created my body using following code: (please read full description)
Body polyBody;
final BodyDef mBodyDef = new BodyDef();
mBodyDef.type = BodyDef.BodyType.DynamicBody;
...
-1
votes
1answer
127 views
Circle collision with a specific tile on a grid
Does anyone know of a good tutorial that will show collision detection on a 2d game platform without using any engines?
-1
votes
1answer
1k views
smoke effect for a rocket in OpenGL es 1.0 android
hello i am new to game development , i have a read this thread which make a smoke effect for a rocket in OpenGL es but i have problem with understanding it can anyone suggest me some articles about it ...
-1
votes
1answer
722 views
Collision detection problem
I am a novice in android. It's my first game, so I am trying to make a frogger clone.
I am getting a problem in collision detection. In logcat, even though the frog is not moving and not colliding ...
-1
votes
1answer
900 views
Tower Defense Game SurfaceView Structure
I am building a tower defense game for android where you have to defend the base from mobsters who have a bounty on your head. You start out with a certain amount of life, every time an enemy reaches ...
-4
votes
1answer
228 views
Why does this CCSprite subclass code throw an exception?
I have one problem in inheriting CCSprites in Java. Here is part of my code:
public class Block extends CCSprite
{
static Block temp=null;
static Block newBlock(tetrominoTypes blockType)
{
...
0
votes
0answers
827 views
How To Scale Canvas In Android
I am writing a android game using Canvas as the way to draw everything, the problem is that when i run it on different android phones the canvas dosn't change size i tried using canvas.scale() but ...
0
votes
0answers
55 views
Testing on Device Other Than the Known Brand Question (Local and Imported Phone Question)
I have a question. When testing a device by using Eclipse, it's easy to install and add device software with these specific brands commonly used in game testing like Samsung, Google, T-Mobile, and ...
0
votes
0answers
268 views
Rendering a big game universe - bitmaps or vector graphics?
I am new to an Android development, though I have much experience with Java, C++, PHP programming and a bit experience with vector graphics too (basic 3d Studio Max, Flash, etc).
I am starting to ...
0
votes
0answers
42 views
profile a Tegra 3 platform like a Tegra 2 one
It's possible to make a Tegra 3 platform behave and perform like a Tegra 2 ?
As alternative it's possible to put a kind of threshold for the clock and/or for the number of core/threads used?
0
votes
0answers
374 views
Fastest way to render 2D shapes on Android OS phones
I'm building a game for Android using Adobe Flash/AIR. The problem is that my game consists of a lot of 2D vector graphics that change every frame, and so cannot be cached as bitmaps. As a result, ...
0
votes
0answers
99 views
Problem with recreating an activity android
I am making a android game and at the moment i am working on a simple menu, this menu has 2 buttons one that generates a random map and lets you play it and one that takes you to a list of pre made ...
0
votes
0answers
388 views
Android Canvas problems with drawing background
I'm trying to make an android and i have got to the stage where im adding in some simple graphics and it gets drawn to the screen fine but it is drawn over the top of everything else here is the code
...
0
votes
0answers
125 views
What is the best polling method for a real time game in Android?
I'm creating a multiplayer Android game and have been using http posting to a PHP server to get my info. This is obviously very slow and I was hoping to speed it up. What is the best polling method ...
0
votes
0answers
317 views
Android - Multiplayer Game - Client / Server - Java etc
I must write a multiplayer pong game for the school. Where are thousand of rooms and where two players can go in to a room and play together and collect points. I programmed the Pong game using Java ...
0
votes
0answers
329 views
FPS problem with 2D OpenGL ES framework
I'm using the following framework :Beginning Android Games Framework
On my phone Galaxy S2 there is 60 FPS.But on galaxy tab 10.1 fps is going down to 40.Then i remove glView.setEGLConfigChooser(8, ...
0
votes
0answers
339 views
How to optimise Andengine's PathModifer (with singleton or pool)?
I am trying to build a game where the character find and follows a new path when a new destination is issued by the player, kinda like how units in RTS games work.
This is done on a TMX map and I am ...
0
votes
0answers
448 views
Remove box2d bodies after collision deduction android?
Can any one explain me how to destroy box2d body when collide i have tried but my application crashed.First i have checked al collisions then add all the bodies in array who i want to destroy.I am ...
0
votes
0answers
112 views
Android OpenCV on Motorola devices…
I've been reading that there is a problem using the OpenCV for Android library on Motorola devices.
Here is the link to the OpenCV library: http://code.opencv.org/projects/opencv/wiki/OpenCV4Android
...
0
votes
0answers
376 views
Frame Animation in Android
I am having 10-15 folders with having 20-30 png files each as frames. I wish to run the animation on click events in android. I found some links which says that use of sprite will be very useful. But ...
0
votes
0answers
430 views
Hardware requirements for middle mobile gaming market on Android
Could you tell me hardware requirements for middle mobile gaming market on Android?
What do you think about Samsung S5830 Galaxy Ace and it's hardware resources? Is it modern for gaming on Android ...
-1
votes
0answers
18 views
improving performance of NME for Android
I'm still new to NME and I'm making a game for Android.
I'm using FlashDevelop to build and testing on a Galaxy S Advance.
But I'm not getting the performance I want. Is the phone too slow to handle ...
-2
votes
0answers
71 views
getting “lag” in my game
I'm having some lag problems. It's not because the amount of processes on my cellphone. I guess it's the timing of sending and receiving information from my server.
My game consists of moving around ...
-2
votes
0answers
26 views
Android Divide height evenly into tiles
I am writing a simple Sudoku app. I am overwriting onDraw to create the main grid of the sudoku game. The layout basically is :
Parent/Main Activity -> Contains 2 child views
-> SudokuBoard view - ...

