Operating system for mobile devices. For non-developer questions, see http://android.stackexchange.com
1
vote
0answers
74 views
Android multi screen rendering
Is it possible on Android to render specifically / only, to the connected Monitor/TV on the hdmi port?
If so, is it possible to use OpenGL ES to render a different scene on the monitor and on the ...
2
votes
2answers
120 views
How can I control the frame update rate of a thread?
I'm building a small game for a college project. It's quite a simple game. There are a number of dots on the screen and the player has to select them in a specific order. It's kind of a "join the ...
1
vote
2answers
208 views
GLSL Motion blur on mobile.. possible at acceptable framerates?
I have been struggling to implement a simple linear motion blur effect on mobile (Android, OpenGLES 2.0) but it just seems to destroy my framerate.
I'm rendering to texture (FBO) then applying a ...
0
votes
0answers
109 views
graphic effects of Android game “Achtung” [closed]
I would be very gratefull if someone can give me a hint how the graphic effects of this android game ( http://www.isignz.nl/achtung ) works. Let us let this "pixie dust"-stuff aside for the moment; I ...
-6
votes
2answers
148 views
Moving a sprite diagonal?
I wonder how I should increase and decrease the value of xPos and yPos to be able to move a sprite object diagonal and in different angles?
canvas.drawBitmap(image, xPos - (image.getWidth() / 2), ...
0
votes
0answers
68 views
Texture not rendered correctly while zooming in LibGdx
I'm trying to make a game with libgdx which can run in multiple aspect ratio. The idea is to zoom in/zoom out the camera until the height of my screen same as the device height (my game is landscape). ...
0
votes
1answer
83 views
Android activities, when to use them?
I'm getting back into programming my game and I can see that I've used activities for so many things. I only have one with a custom-view (my actual game), the others are activities with XML-views, ...
5
votes
1answer
63 views
GLImpl.gldrawelements longer than usual
I'm developing a little game engine for the Android platform and I'm trying to improve the performance of this one. (I'm not an OpenGL expert)
I can see a framerate drop sometimes, when using DDMS ...
-6
votes
1answer
70 views
Android Game an [closed]
I want to develop an android game (3D/2D).. and I don't have any knowledge about android app development. So can you suggest some helpful and understandable resources like video tutorials or head ...
1
vote
2answers
94 views
Why doesn't a line draw after instantiating it on a thread other than the renderer thread?
I'm making a 2D game with OpenGL ES 2.0 on Android, as an excuse to learn a bunch of things. I'm drawing many lines to make a grid, but setting everything up takes time and I'd like to render a ...
2
votes
2answers
275 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 ...
-4
votes
1answer
57 views
Words matching system [closed]
There is a game called 94seconds and i'm interested in how they made words matching. I've decompiled apk and saw mongoDB and BSON classes and apparently they are used to store dictionaries for ...
0
votes
1answer
76 views
Using buttons on Smartphone shooter games
Just a simple and probably stupid question.
I noticed that many iOS and Android shooter games tend to avoid using traditional buttons in favour to autofire.
The very first reason to do so is to ...
0
votes
2answers
141 views
How do I stop overlapping shapes when collision detected in AndEngine?
I am making a very simple demo in AndEngine in which I have three rectangles: rect1, rect2 and rect3 in an ArrayList.
I register onAreaTouch as follows:
@Override
public boolean ...
0
votes
3answers
241 views
Implementing a basic jump in libgdx
I have seen the document for libgdx and managed to move the character and also to implement bounds but the document does not show how to implement jumping.
I have downloaded the superjumper demo code ...
0
votes
1answer
167 views
How to scroll background image-Android App
Basically, I have a main menu, and I would like the background image to scroll (parallax I believe is the term? Like the Angry Bird's title screen background).
However, I'm used to just having a ...
0
votes
1answer
122 views
Is there a way to make a game using lwjgl work on android?
I'm working on a platformer and I'd like to make an android version. Do I need to rewrite everything for android, or can I use something to make the lwjgl code work with android?
0
votes
1answer
354 views
How to implement bullet physics in libgdx
I am new at game development want to know that how can I implement bullet physics in libgdx. I searched lot of things on Internet but nothing found worthy.
2
votes
3answers
313 views
What are the benefits of using a 2D game engine on Android?
I have thought about just coding a 2D game on Android using just pure Java and the Android SDK, no engines like libdgx, cocoa-2dx attached. I don't know if I really need to use a game engine or not. ...
-1
votes
1answer
209 views
java.lang.RuntimeException: Unable to instantiate activity ComponentInfo [closed]
03-08 10:43:47.360: W/dalvikvm(9089): Unable to resolve superclass of Lcom/example/demotilecollision/MainActivity; (167)
03-08 10:43:47.370: W/dalvikvm(9089): Link of class ...
2
votes
1answer
122 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 ...
0
votes
1answer
82 views
Animate Using setScale()
I want to animate my player from bigger size to smaller size and then smaller size to bigger size continuously.
We can use setScale() method to re-size any sprite but is there any way to animate with ...
3
votes
1answer
304 views
How do I implement an AutoParallax Background in AndEngine GLES1?
I'm using AndEngine GLES1. In my game, I use AnalogOnScreenControl to move a sprite and when it moves vertically, the background image also moves vertically. I want to do something like this: that is ...
2
votes
0answers
27 views
How do I create a scrollableparallax background in AndEngine GLES1 [duplicate]
In my game I want my background to move side by side as the player moves on screen in AndEngine. I moved my sprite using analogScreenControl. I am using AndEngine GLES1. i don't want to move my ...
0
votes
1answer
128 views
Rotation of Rectangle along Y-axis transformed to parallelogram
After the rotation of a rectangular view along the Y-axis, about its center, transformed into parallelogram, how do I get the rotated parallelogram coordinates?
By Y-axis, I mean perpendicular to the ...
1
vote
1answer
264 views
How would I make an air hockey AI?
I am making an air hockey game for Android using AndEngine and its Box2D extension.
How would I make an AI for an air hockey game? For it to work the AI would not only need to move its paddle side ...
2
votes
1answer
194 views
Android emulator with acceleration and gyroscope simulation
Is there an Android emulator that is compatible with eclipse that can simulate acceleration and tilting of a mobile device?
-3
votes
1answer
143 views
java app goes too slow in android os [closed]
The problem is that my java app contains too many animated sprites and it runs very slowly on android system.
Does the usage of .gif animation instead of sprite animation will improve the speed?
I ...
0
votes
2answers
406 views
LibGDX Swipe Detection Left and Right
I have displayed an image at the center of the screen with libgdx. If I swipe left, the image should move to the left; and, if I swipe right, image should move to the right.
Subsequent swipes to the ...
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 ...
3
votes
1answer
170 views
Poor image quality on Android through Unity Remote
I have started to work on the company's latest project using Unity3D and the workflow is just awesome.
The problem is when running the game on a real Android device (using Unity Remote) the image ...
2
votes
2answers
350 views
How to Change default Mouse pointer on emulator in Android?
I want to change default mouse pointer in Android emulator. I want to change it for my game to use different type of cursor.I am using AndEngine for my game development. Is there nay way to change ...
4
votes
2answers
95 views
Should I target a mobile phone or simulation tools are good enough?
I'm starting mobile development, and I would want to know if it's necessary to target a specific smartphone, or nowadays one can run a simulation that will provide accurate data of how the game will ...
0
votes
1answer
126 views
Using compressed(ETC1) textures in LibGDX
I use standard android tool for compressing PNG texture and archiving it with gzip:
/android-sdks/tools/etc1tool texture.png --encodeNoHeader
gzip texture.pkm
Then I try to load it:
FileHandle ...
1
vote
0answers
100 views
Using Gmail credentials to authenticate users [closed]
I am developing a game in which I want the user to be able to use their Google Mail account to log in. They should be able to simply click on a Gmail login button and be taken to the Gmail login page, ...
1
vote
2answers
289 views
What matrix operations do I perform to translate then rotate then translate then rotate?
In an android game I want to draw a running leg. To output the thigh I do something like:
// legCX,legCY is the location on screen about which the leg rotates.
Matrix m = new Matrix();
...
3
votes
1answer
237 views
How do I support variable screen ratios using AndEngine?
When displaying a background, AndEngine produces black bars above the image on certain devices. How do I support variable screen ratios for different devices using AndEngine?
2
votes
1answer
203 views
Shooting Bullets Around a Sphere
I currently have a ship that can orbit around a sphere freely controlled by a joystick. There is a separate joystick that controls the gun and starts shooting when it is touched.
Right now the ...
-1
votes
2answers
414 views
How to make a map [closed]
For school my group and I are going to make a 2d turn based strategy game on android.
We are trying to make a simple version of Advanced Wars(screenshot1 Gameplay).
But we don't really know how to ...
1
vote
1answer
223 views
How to detect screen boundary using AndEngine GLES1?
I am using the AnalogOnScreenControl to move my sprite around the screen. I would like to restrict the sprite so it can not move outside the screen boundaries.
I have tried putting a line at the ...
0
votes
2answers
335 views
Drawing Sprites in Android OpenGL efficiently?
I want to basically give myself some sprite drawing functions (making use of openGL) such as;
draw(Texture,x,y)
I want to do this using OpenGL-ES 2.0 on Android. Since the textures can be varying ...
3
votes
1answer
318 views
Max texture size Android : which settings for 2048x2048?
I want to use a texture atlas of 2048 x 2048 in my game, and I would like to warn the users with a "too low" device to not download the game.
With a texture atlas of this size, what requirements ...
1
vote
2answers
410 views
Detecting Screen Resolution in Android/AndEngine to display high or low quality images
I am developing a game with 1024x600 resolution. I can't target smaller resolution devices at this resolution, so I intend to use two graphics for the game. How do I detect which graphics to use for ...
2
votes
2answers
235 views
How do I store level-data in Android?
I'm building a game where enemies come in waves. I want to create a file where I can define data about the waves (# of enemies, spawn times, speeds, etc.). I come from a background in iOS and would ...
0
votes
2answers
307 views
Memory clean up in scene management (AndEngine)
I have developed and launched a game called Bicycle Doodle GLD.
In this game, I load all the game resources at the initial loading scene. The game contains 24 levels, so only the resources that ...
2
votes
1answer
169 views
Android Virtual Pet Gameloop
Hello I'm looking for a bit of advice in which way is the best to proceed creating my applications 'gameloop' - It doesn't want to be a game loop in the truest sense since I'm not really rendering any ...
1
vote
1answer
488 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 ...
0
votes
4answers
337 views
hidden cost while deploying game with unity3d
I just started learning unity3d. I created a small 2d game, I want to host for windows, iphone, ipad, android, windows 8, xbox and even in websites.
I created it using free unity3d editor. Now I want ...
0
votes
0answers
72 views
Pong Game, Multitech problem [closed]
I am trying to implement pong Game, I have two classes as "PongGameView" and "GameState"
i implemented multitouch event implemented in "PongGameView" and passing the x cooridantes of the pads to ...
-1
votes
1answer
97 views
How to get started with 3D apps for android and iOS? [closed]
I have developed a few simple android apps. I want to build apps and games with 3D environment. For eg like this. Kindly tell me how to get started ? Also, I would like to convert my android app/game ...
