Operating system for mobile devices. For non-developer questions, see http://android.stackexchange.com
2
votes
1answer
119 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 ...
1
vote
1answer
103 views
How would one render dynamic vertices in OpenGL ES 2.0 like in a 3D modeling program?
Is there an easy way to re-render dynamic vertices in OpenGL ES 2.0 so that one could, for example, make a modeling program?
I understand how to make a dynamic vertex array, but what I don't ...
6
votes
4answers
1k views
Sprite Animation in Android with OpenGL ES
How to do a sprite animation in android using OpenGL ES?
What i have done :
Now I am able to draw a rectangle and apply my texture(Spritesheet) to it
What I need to know :
Now the rectangle shows ...
5
votes
1answer
345 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 ...
-1
votes
1answer
88 views
Using Unity3D from within Eclipse
Is it possible to use Unity3D from within Eclipse? I've seen that I can import a Unity3D project into Eclipse, but I cannot seem to be able to access classes such as Terrain or Ray. I don't know if ...
2
votes
1answer
271 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 ...
0
votes
0answers
66 views
Android OpenGL ES 2.0 gameloop problems
I implemented a gameloop found here: http://www.koonsolo.com/news/dewitters-gameloop/ into my OpenGL ES 2.0 Android game. The tutorial was written with the canvas API in mind, not OpenGL so I made a ...
-2
votes
0answers
117 views
Unable to launch cygpath. Is Cygwin on the path? - cocos2d-x [closed]
I am new to cocos2d-x. I configure cocos2d-x in Windows 8 / Eclipse and I use android-ndk-r8b.
First of all, before I get this error of cygpath, I had the following error:
"Program bash not found in ...
8
votes
1answer
288 views
How to reduce image size without pixelation?
I see lots of games with smooth edges characters and high res images, however when I try to reduce images to say 64x64 for my character I just get a pixelated mess. even if I start with a 64x64 canvas ...
3
votes
1answer
52 views
Saving data across same game in multiple devices [closed]
Is there any library or something that works like iCloud but for different operating systems (Android, IOS, Windows Phone) that allow me to save game data to cloud and open the game data from another ...
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 ...
3
votes
2answers
79 views
Formula for converting ratio of current device to target device
I am designing my (Android/OpenGL ES 2.0) app on one device and want it to run all all other devices while keeping the screen ratio of the development device (so the image doesn't stretch / squash), ...
1
vote
1answer
57 views
Centering GLViewport position within physical screen
I'm developing my app on one device and want it to display at the same ratio on all other devices.
Currently what I have is 'image 1' in my image below - the game fits perfectly onto my development ...
7
votes
1answer
246 views
When and why is a Pool class needed to hold objects?
I've been studying opengl es and an example I saw was using a "Pool" class to keep track of touch and keyboard events.
Could someone please explain how and why a pool class is needed. From what I was ...
1
vote
1answer
269 views
GLES2.0 3D Android game performance and multi threading the update?
I have profiled my mixed Java\C++ Android game and I got the following result:
As you can see, the pink think is a C++ functions that updates the game. It does things like updating the logic but it ...
5
votes
1answer
127 views
How can I get pre-release reviews of my mobile game?
My iOS and Android game is at its last stage of development. Is there a way for me to get pre-release reviews from people? Or maybe from the press? How should I proceed?
-1
votes
0answers
40 views
Animation in timelines [closed]
Im using MAYA 3D and adobe flash. I was wondering how I can make an animation of an animal birth, its for an app. So within a 24 hr period you can view the egg growing with the little critter inside ...
2
votes
2answers
292 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 ...
2
votes
1answer
565 views
Game Development at iOS, Android and PC with OpenGL ES
I'm beginning iOS apps development, and my aim is to make games to launch on App Store.
But I want to know if it's possible to program a game on Xcode with OpenGL ES (C++ game logic), integrate it on ...
-3
votes
0answers
49 views
How to animate the Tilemap object in Libgdx? [closed]
I am facing problem to animate or move the object(Cell) of Tilemap??? Is there any solution for this???
-1
votes
1answer
230 views
Android 2D game engine [closed]
I'm looking to make my first 2D sidescroller for android, and would prefer an open source engine good for 2d games. I might eventually have 3d backgrounds too, so if it can handle those that would ...
5
votes
6answers
7k views
Convert Flash game to work on Android devices
Is there any way to convert a Flash games(file with .swf extention) to work with android devices? I want the game to use Android device native controls like sensor, accelerometer, etc.
1
vote
0answers
54 views
sharing preferences between two apps on android with libgdx
I am making an android game with both a demo version and a paid version. I want users who decide to buy the paid version to continue from where they left off, with all their old data and settings.
...
0
votes
1answer
145 views
Real cash gambling app
I am making a cash game like deal or no deal for use as an android app, using adobe software.
The idea is player wagers 50 pence through Paypal plays the game wins, say, £10 pounds and then cash out.
...
5
votes
4answers
1k views
More profitable: Android apps or Flash games?
Which market (that of Android games or that of Flash games) is more profitable and will give me a better chance of success?
Where can I find the relative market shares of these markets, globally?
-3
votes
0answers
134 views
Programming logic behind Temple Run (OpenGL ES ?)? [closed]
I am very much facinated by the success of Temple Run (iOS and Andriod) developed by 2 developers and 1 artist.
My questions are -
What did they use for graphics rendering, was it OpenGL ES for the ...
9
votes
3answers
715 views
Selling Android apps from Android-Market-unsupported countries
I am in Latvia (which the Android market doesn't support as a country for selling apps from), and I am thinking about the best way of monetizing my app. So far I've come up with these options:
...
-2
votes
1answer
123 views
Spawning enemies outside of view [closed]
I'm trying to create a 2d shooter for Android. How do I spawn enemies "above" the screen, so that they "enter" the game screen instead of spawning at the top of it?
I think I need to make a game ...
2
votes
1answer
1k views
How do I implement a score database in Android?
I making a 2D game for Android using OpenGL-ES technology. It is a space shooting game where the player shoots enemy ships.
I want to keep a track of score for the amount of enemy ships destroyed ...
0
votes
2answers
123 views
onTouchEvent only working for one view within activity
I have a parent Activity which contains 2 views. One view is a custom view class, where I am overriding the onDraw method. This view contains an onTouchEvent function, which is checking for user ...
3
votes
3answers
528 views
How to move a sprite automatically using a physicsHandler in Andengine?
I use a DigitalOnScreenControl (knob with a four-directional arrow control) to move the entity and the entity which is bound to a physicsHandler.
physicsHandler.setEntity(sprite);
...
-2
votes
0answers
23 views
Rotate object to face player touch [duplicate]
I need to make my sprite to face where the player have touched.
I tried like this:
public static double FaceObject(RectF position, RectF target)
{
return ...
18
votes
5answers
9k views
Packaging HTML5 games as applications for iPhone/Android
Is it possible to package HTML5 game for iPhone and Android as an application or has it to be accessed through a browser?
-1
votes
1answer
83 views
Ways to achieve path finding on android [closed]
I have spent two weeks on this task and its to no avail,i hope your expertise can help me.
I want to create a simple set of activities that allow the shortest path to be calculated between two points ...
1
vote
1answer
456 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
votes
1answer
47 views
Maze solver with Astar on android? [closed]
I have a question I am looking for some tutorials or guides on how to create a simple android game or application.
the user can define their starting position and ending position
the ...
-2
votes
1answer
110 views
Game code structure using openGL / Android [closed]
My game will have 3 activities (splashscreen, options menu and main game).
As it stands, each is a separate activity with it's own activity class and GLSurfaceview class.
Is this structure the right ...
0
votes
3answers
102 views
Where to run logic update in openGL ES?
Using Canvas with Surfaceview I had a run() method where I would essentially do the following:
onDraw();
update();
Where onDraw method would do the rendering and update would update all my game ...
0
votes
0answers
49 views
Strange problem with rendering quads in OpenGL ES 2.0 with custom classses on Android
I have 2 custom classes, one is for drawing quads (Quad) and the other is for drawing quads using VBO's (VBOQuad).
If I create a simple quad and render it like so:
Quad sprite = new Quad();
...
2
votes
1answer
160 views
How to create a 2D ocean effect in cocos2dx and box2d for iphone, android, windows phones
Currently my game needs a top ocean view. Can this ocean effect done using box2d? or should I dive into write my own physics (liquid/water simulation). Ideas and suggestions are welcome.
2
votes
1answer
125 views
OUYA Developer Kit throws various errors on start
I followed these instructions for Mac OS X using an existing IDE (shell + text editor) instead of the Eclipse ADT thingy. I activated “Use Host GPU”, and installed Intel HAXM.
Installing the ...
1
vote
3answers
2k views
How do I save files with libgdx so that users can't read them?
Writing my game in libgdx, I arrived at the point when I need to save the player stats and the info of the levels. However, in libgdx it's not allowed to write the file inside folder of the ...
1
vote
1answer
105 views
Separate renderng thread in Android (OpenGL ES 2.0)
I'm used to mainly working with the Canvas SurfaceView API on Android and have recently been learning openGL ES 2.0
With canvas I know that surfaceView gives you the ability to start a new thread to ...
1
vote
1answer
108 views
Powers of 2 textures in Android 2d games?
I've read a lot about the importance of using powers of 2 png's for textures when using OpenGL ES. However, how does this relate to Google's own documentation regarding the resizing of graphics for ...
-1
votes
2answers
172 views
Developing a 2D Android game on Unity - Pros and Cons [closed]
Depending on your experiences, if you have created a 2D game on Android using Unity, was it painful? Have you ever said "I wish I have used X instead of Unity!"?
Tell me the Pros, Cons and the name ...
0
votes
0answers
44 views
Android: Switch(swipe) places on two images [closed]
I have two images next to each other and I want to switch their places with a swipe. I made collision detection but I don't now how to swipe and change their positions.
I'm really new at this, so ...
1
vote
1answer
42 views
Show view over existing view in same activity
I am newbie Android developer, and I am starting out with a simple Sudoku game. The problem I am facing right now is that I have my game showing on a dedicated Activity, which is displaying a custom ...
1
vote
2answers
3k views
How can i use A star pathfinding algorithm
How would i implement an A star algorithm for a game that i'm making on the android in java? i'm looking for a pre-made A star API in java with classes and methods to call. i don't want to have to ...
0
votes
0answers
45 views
Understanding quaternions and axis angle representations [closed]
I have a sensor that gives me a quaternion. I convert the quaternion to an axis-angle representation using http://www.euclideanspace.com/maths/geometry/rotations/conversions/quaternionToAngle/. When I ...
2
votes
2answers
109 views
How can set vibration option with my game in android? [closed]
I am using AndEngine to develop an Android game and I want vibration to be triggered when an enemy hits a player.
How can I implement this into my game?





