Operating system for mobile devices. For non-developer questions, see http://android.stackexchange.com
2
votes
2answers
296 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
1answer
371 views
Code structure in Android 2D game
Well I've finnaly decided to start Android game dev, and my first project will be simple 2d canvas based game.
I have some experience in game developing with C# and XNA, and I'm a bit confused now.
...
-2
votes
1answer
96 views
Testing multiplayer android
In what way can an android game be tested considering the following constrains:
minimal to no budget, so I cannot hire an external company to do the testing for me
Testing should occur on multiple ...
1
vote
0answers
983 views
Creating live wallpaper on Android with libgdx [closed]
I try to create live wallpaper with libgdx framework. Here's my source code: repository
When I run this, black screen with name of the app appears (probably empty android layout). Main game is not ...
0
votes
0answers
230 views
How to monetize freemium game that is cross platform playable?
I have a query and am really not sure if this is the right place to post it but if any one can help I will be grateful.
Am developing a game based on fremium model. It's already live on web and ...
1
vote
2answers
454 views
Multiplayer game sdk for ios and android
I am working on a multiplayer game supporting Android and IOS.
For IOS Game-Center seems promising. But its IOS only.
OpenFeint could be a option, but now GREE has stopped supporting it.
Is there ...
0
votes
0answers
77 views
How to monitor the object position while it moves from one place to another?
In my game two objects rotate in opposite directions and at one particular
place, the two objects meet. In that place I want to track the x and y degrees.
If this is possible please share your ideas.
...
15
votes
2answers
742 views
Graphics not being displayed on OUYA
I hope its not too early to be asking OUYA dev questions, but I just got my dev kit and I want to get my game running ASAP! I am using LibGDX as my framework for my game and launching the Android ...
2
votes
1answer
573 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 ...
0
votes
0answers
242 views
Transformation Matrix in Android Canvas?
This question is following up my previous question that I asked it in stackoverflow: Hide a face of a 3D shape behind another,Android canvas?
I have a canvas and I have to get the normal vector of a ...
0
votes
2answers
152 views
Unity - Code is fine in the editor, has error on android
Right. Im running into some weird issue with android unity. I have this bit of code
function OnTriggerStay (other : Collider)
{
if(die.GetComponent(DieScript).sideUp ==6 ...
1
vote
1answer
111 views
Keeping Track of Position OpenGL
I have a sphere in my 3D world located at the origin. I have models orbiting it and I need to keep track of each models' position (x, y, x coordinates) as well as update their bounding boxes for ...
-3
votes
1answer
231 views
Mobile Game Development for beginners [closed]
I am currently making apps for iPhone in Objective-C environment. I also want to learn Game development in IOS and Java for iPhone and Android. Can any one suggest me a complete book that I could ...
-5
votes
2answers
657 views
Detect touch for android…for unity 3d
i am trying to detect the touch on android and is it possible to have a same function with touch which can work same as OnMouseUp() function
2
votes
1answer
140 views
Is this an appropriate use of abstraction in my game engine?
I have been stuck in the design phase on my new game for a few weeks now because I keep finding new parts of the game engine that I could make more modular and neat. I did, however, run into a ...
0
votes
0answers
51 views
What could cause dispersed triangles instead of integral model?
So the thing is, I get dispersed triangles instead of model that I'm loading, in this case it's just a cube. It seems as those triangles have no points that connect them. Is there anyone who had this ...
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 ...
5
votes
3answers
390 views
Libgdx optimization of big arrays
I am working on a game using libgdx and I have the following code that I want to optimize.
Array<Bullet> enemyBullets = Enemy2.getEnemyBullets();
for (Bullet bullet : enemyBullets) {
...
3
votes
1answer
984 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 ...
1
vote
0answers
164 views
Scene or Activity Animation
My game require an animation when one activity finishes and next started because I have develop game with multiple activity not as multiple scene per game. I have to show animation at the time of ...
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 ...
1
vote
2answers
246 views
Quaternion Camera
Can someone help me figure out how to use a Quaternion with the PerspectiveCamera in libGDX or in general? I am trying to rotate my camera around a sphere that is being drawn at (0,0,0). I am not sure ...
-1
votes
3answers
637 views
2D engine for both Android & iOS engine? [closed]
I want to make a simple 2d game that would run on both Android and iPhone. Since coding it separately for each platform would take some time, I thought of using an engine, that would be able to port ...
0
votes
0answers
267 views
libGDX using Stage and Actor produces different camera angles on desktop and Android Phone
libGDX using Stage and Actor produces different camera angles on desktop and Android Phone.
Here are pictures demonstrating the problem: http://brandonyuh.minus.com/mFpdTSgN17VUq
On the desktop ...
1
vote
1answer
154 views
Using Quaternion in libGDX
Can someone give me an explanation about how to use the Quaternion class in libGDX to move my camera around a sphere or just set it up, manipulate it, and apply it general? I am trying to acheive ...
0
votes
1answer
292 views
Who makes the art assets for mobile games?
I know how to develop apps for Android but never tried developing games, and I want to start soon. For developing games we need sounds and high quality images (say a background, characters, logos, ...
1
vote
1answer
430 views
setPosition of Sprite onUpdate in AndEngine
I am trying to get a "highlighter" circle to follow around a sprite, but I am having trouble, I thought I could use the onUpdate method that's available to me in SequenceEntityModifier but it's not ...
2
votes
2answers
452 views
Move Camera Freely Around Object While Looking at It
I've got a 3D model loaded (a planet) and I have a camera that I want to allow the user to move freely around it. I have no problem getting the camera to orbit the planet around either the x or y ...
5
votes
4answers
321 views
How bad would be to focus on iOS/Android development for an indie developer? [closed]
After some time developing games for others I'm thinking of moving towards my own productions. My background is 10+ years of software development, with last 2 years spent on the iOS development ...
-1
votes
2answers
276 views
Is opengl ES a necessity for developping mobile games [closed]
I learned some OpenGL ES and some shader coding. But is it really a necessity for developing Android, iOS and windows phone games? Windows phone I'm 99% sure that it is not even supported but have not ...
-3
votes
2answers
295 views
Can I develop 2D tower defense game with unit3D in C# for Android? [closed]
I tried to find the answer in unity3d site but without success.
If the answer to my question is yes, does anyone know where I can find an example?
1
vote
1answer
211 views
GestureListener's fling method doesn't get called
I'm using SimpleGestureDetector from the libgdx-users Wiki as my InputProcessor. I set it in the created() method:
Gdx.input.setInputProcess(new SimpleDirectionGestureDetector(charController));
...
9
votes
2answers
692 views
Android real time multiplayer over LAN [closed]
I've developed several games for the android platform and now planning to create my first multiplayer game. What I have in mind is basically just a 2-player game witch you can play with 2 phones over ...
3
votes
9answers
878 views
How do I create a game that runs on Windows, iOS and Android?
I use C++ to create windows games and now I want to step into another other OS like Android or iOS. I'm totally familiar with C++ so I tried to create app for iOS using objective C it was working ...
0
votes
0answers
77 views
How to rotate FBX files in 90 degree while running on a path in iTween in unity 3d
I am doing one racing game,in which I used iTween path systems to smooth camera turning in turns,iTween path systems works fine(special thanks to Bob Berkebile) Here first I used one cube to follow ...
1
vote
0answers
60 views
2D map/plane with nodes overlayed that supports panning, scaling and clicking on nodes
I'm trying my hand at Android development and seem to be running into an invisible ceiling in trying to get what I want accomplished. Basically I'm trying to create an app that renders a 2D surface ...
3
votes
2answers
298 views
Is it possible to compile an android game for pc desktop?
If I have an android game based on java native libraries. Is it to possible to compile into a windows/linux executable without a 3rd party emulator?
2
votes
1answer
285 views
Texturing a Sphere in libGDX
I created a sphere (planet) with a texture (earth texture) in Blender, and exported it using the G3DT exporter. Then when I go to use it in my application I convert to the G3D binary format, and load ...
3
votes
1answer
313 views
Getting the height of Keyboard on Android
Hi I need to know the height of my keyboard so I can move up some textfield I have in my app. I'm using cocos2D-X but the app don't recognize the keyboardWillShow method.
Thanks
1
vote
1answer
355 views
Drawing Lines on android with matrix
Can a matrix be used when drawing lines and paths on android?
the DrawBitmap mathod takes a matrix as argument, I cannot find anything similar
when drawing lines.
1
vote
0answers
169 views
Drawing two orthogonal strings in 3d space in Android Canvas?
I want to draw two strings in canvas. The first string must be rotated around the Y axis, for example 45 degrees. The second string must start at the end of the first string and also it must be ...
3
votes
3answers
542 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);
...
0
votes
1answer
257 views
Using LibGDX within Android Fragment
I want to use LibGDX with Android, but instead of modifying my Activity to extend
AndroidApplication
I want my to render my graphics inside Android Fragment
The problem is that my class ...
0
votes
0answers
228 views
Making a Background Scrolling in Stacking Game
Hmmm...Is it a good idea to use a LibGDX parallax background for making a stacking game (i.e. PAPA STACKer Lite)? For example, I'm starting to use the blocks to drag-n-drop it. Next, when the next ...
1
vote
2answers
171 views
which is better performance, using a disposable local variable or reusing a global one?
This is for an android game.
Suppose I have a function that is called several times for second and do some calculations involving an arraylist (or any other complex objects for what matter).
Which ...
3
votes
1answer
320 views
How to rotate a sprite using multi-touch with AndEngine?
I am new to Android game development. I am using AndEngine GLES-2. I have created a box with a sprite. This box is now draggable by using the code below. It works fine.
But I want multi-touch on ...
1
vote
2answers
1k views
Unity Android: Truecolor texture performance hit and alternatives for truecolor
After integrating the graphics assets to my application, I noticed that when the textures are compressed they look very bad compared to truecolor. This happens to all the textures and it did not seem ...
0
votes
0answers
832 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
1answer
153 views
Android, apply a pixelshader on a canvas
Can an opengl pixelshader be applied on a Canvas?
I want to render a bitmap on a canvas, then apply a pixelshader to get, for example, a blur effect. Is this possible?
I don't want to simulate the ...
1
vote
1answer
534 views
Creating Transparent Game Menu Items using AndEngine
I'm trying to create a Game Menu which contains some Menu Items like
New Game
Multiplayer
Options
Exit
I want to make this Menu Items Transparent. Only Text in White color should be visible.
So i ...

