Operating system for mobile devices. For non-developer questions, see http://android.stackexchange.com
1
vote
0answers
9 views
When increase size of tmx image then emulator shows black bar
I used AndEngine gles1.I used tmx image as my game background.Image width is not fit as my virtual device with so i increase tmx image size. In code for camera width and CameraHeight i used this code.
...
0
votes
1answer
24 views
AndEngine - 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 ...
-2
votes
0answers
40 views
My question about OpenGL [closed]
I am new android developer.just i want load .obj file to my application, i can't know opengl. please give some butter idea or how to understand opengl concept(give some book link).
3
votes
1answer
51 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
26 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
41 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
135 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 ...
-3
votes
0answers
74 views
Poker Game Development [closed]
Starting from zero is overwhelming. I want to build a poker application (multi-user, multi-table etc). I am an older (talented) programmer who has never done any phone or java programming, so what ...
2
votes
1answer
56 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
102 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
138 views
+50
Libgdx swipe detection left and right
I have displayed a image at the center of the screen with libgdx. If I swipe left the image should move left and if I swipe right image should move right.
Subsequent swipes to the left should move ...
2
votes
0answers
42 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
82 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
70 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 ...
3
votes
2answers
70 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
48 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
70 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
113 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
61 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
132 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
194 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
102 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 ...
-2
votes
0answers
63 views
Hidden objects game on Android [closed]
I want to write simple hidden object game on Android on java, so, Ill apreciate a little help(advice), about representing all game stuff(background is background, interactive objects, targets, etc).
I ...
0
votes
2answers
138 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 ...
-1
votes
0answers
40 views
Android Cocos2d - game crashes on device with different screen sizes
I have a game I'm building on android using cocos2d version 1-0. For most of the development I've been testing on my Galaxy Note 2 with a 5.5" screen. However when I tried testing on a smaller device ...
3
votes
1answer
74 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 ...
-2
votes
0answers
77 views
Setting Coordinates to spawn Enemies [closed]
i'm making a game for android with libgdx and I created a BloonFactory class (the enemies are bloons :P)
The problem is that i have a shooter in the middle of the screen and I don't want to spawn ...
1
vote
2answers
112 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
75 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 ...
-1
votes
2answers
102 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
0answers
72 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
101 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
240 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
54 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
51 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 ...
0
votes
1answer
80 views
JBox2D simple example for Android? [closed]
I'm starting to develop an Android game. I've already installed jBox2D but I can't find complete code to develop a simple application from scratch using this framework.
Thanks in advance!
2
votes
0answers
56 views
Camera - View matrix in Android + openGLES 2
I am trying to use the touch screen on the tablet to control my camera movements and generate the view matrix accordingly.
I get the x and y coordinates of the screen and after doing some sanity ...
0
votes
1answer
82 views
Game development for android using JQueryMobile or any OpenSource alternative for absolute beginners [closed]
I hope it doesn't really sound odd as this questions is for Game-development for Android Devices for absolute beginers. The reason for me asking is currently I am learning the Native App Development ...
0
votes
1answer
53 views
Devices or Smartphones That Can Run and Displayed Images Properly While Power of 2 Code is Disabled
Before making game apps, I want to have any certain smartphone device brands that runs on OpenGL. I have to make a code for images that doesn't need to required power of 2 images so that I can resize ...
0
votes
0answers
16 views
pygame android preplash image stays for ever [closed]
I am facing strange problem for my small game written in python I am pushing this to andorid using this doc http://pygame.renpy.org/index.html
But my android-presplash.jpg stays for ever in the ...
-1
votes
1answer
79 views
creating popup like window in android using libgdx [closed]
I am developing a game in which i want to open a popup window having some buttons and upon selection of the button i want to close the popup window and do some specific task in original screen.how do ...
4
votes
1answer
85 views
How do I debug two android devices simultaneously in Eclipse?
I have a multiplayer game which should be tested on two devices at the same time, if possible, with debugging.
Can eclipse do this? If so, how?
3
votes
3answers
364 views
Where and how to check if game was developed with bought Unity3D licence (not cracked app)?
We hired an external team from Eastern country. They built our mobile game app using Unity3d which we paid a lot of $K. We asked them to only use the software with bought license, not cracked one, and ...
-1
votes
0answers
30 views
How to start developing Sequence board game in two platforms effectively [closed]
I have a graduation project which is the Sequence board game. Me and my friends are going to develop it. We decided to develop it on iOS (iPad) and android tablets. Since the game is strategic then we ...
6
votes
6answers
396 views
+300
Converting a 2D curve into points for data storage
I’ve created an algorithm which converts any curve i.e. path into minimum number of points so that I can save it into a file or database.
The method is simple: it moves three points in equal steps ...
0
votes
1answer
161 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
0answers
64 views
Converting motionevent.getx and motionevent.gety to pixel or Object coordinates in the view
I am trying to draw buttons using OpenGL I have added a Gesture Listener for the GLSurface View now i have motionevent when ever the user touches. My question is how can i convert motionevent.getx and ...
0
votes
1answer
45 views
App Programming Question: Converting Code and Project Folders for the Smartphone's OS Compatibility [duplicate]
I was thinking about how does the Angry Bird game for the iOS successfully converted into an Android compatible version. Does it involve using Phonegap or something?
When making games for iOS, the ...
1
vote
1answer
95 views
My game works on the emulator and the PSVita, but crashes on Android
I made a game on PSM, ported from a previous iOS/Android game. I test it on the emulator and PSVita and runs fine. However, as I test it on a PlayStation Certified Android device, it crashes on load. ...
-1
votes
1answer
53 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.
...