Operating system for mobile devices. For non-developer questions, see http://android.stackexchange.com

learn more… | top users | synonyms

-1
votes
0answers
7 views

Back to the West game - tribute to West Bank and Bank Panic - iPhone and Android

Like your opinion of our game, if you have time to check it. Guys, finally we have released this game for iPhone and Android devices. If you have time, please download it and comment. Thanks a lot! ...
0
votes
0answers
20 views

Android: OpenGL vs Native API [on hold]

I am making a game very similar to Final Fantasy (as far as RPG/Party system goes, and the free-roam aspect of the gameplay. The roaming will be like Pokemon-style). Should I go for OpenGL to ...
0
votes
1answer
44 views

my movement is working good on keyboard but on android its not

So basically here is what my movement is like for keys: key down if (keycode == Keys.LEFT) { mishi.getAcceleration().x = -13; } key up if (keycode == Keys.LEFT) { ...
2
votes
2answers
52 views

android game development using unity 3d [on hold]

I want to learn android game development. I dont have any programing knowledge. So should I learn JAVA and eclispe to develop games for android. Or should I learn Unity 3d. And is knowledge of java ...
0
votes
0answers
18 views

setScaleY() works strange on Android

I have an ImageView which I want it to enlarge once the app is launched So, firstly I did this: protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); ...
0
votes
0answers
36 views

How to trace a line following the user's touch in Unity3D?

I want to make a flow type game where the user connects two dots via a line. The line starts when the user puts his/her finger on the dot and moves it along a path. My question is how would I make ...
0
votes
0answers
22 views

Threading in Android OpenGL ES 2.0

Background I've encountered a strange issue when testing my level-select screen. I have 20 levels and display the 'select buttons' for them in 2 rows of 10 (I did this rather than display 4 rows of ...
0
votes
0answers
15 views

The right resolutuion and format for starting video for Android Game? [on hold]

I want after player pressing PLAY button for the first time - the video to be played (video with game story). The game will be vertical, and we want the video to be like this. What format and ...
0
votes
1answer
39 views

Two issues with testing LibGDX on Android

1) When I test my game on desktop it is 100% fine. When I test it on my Nexus 7 physical device, it is the same except the backgrounds have no color. For example my splash screen has a greenish ...
0
votes
0answers
24 views

Placing Banner Ads into letterbox area's

Background I'm developing my game (Android, OpenGL ES 2.0) on 2 devices - primarily on a Google Nexus 10 tablet and also on an old Galaxy Ace handset. I've designed my game to fit exactly to my ...
2
votes
1answer
38 views

How to get a Coordinates of a 3D Object in Android

How is it possible to click on an area of a 3D Model (.obj-File) for example a cube, where you can get different Events of the six sides. For Example the orange area of the picture gives me a value of ...
0
votes
0answers
25 views

setChaseEntity freezes or jitters the AnimatedSprite

I'm trying to implement setChaseEntity method in a physics based app. I wrote the below code which has an animated sprite ans as the player. The player is movable and it can jump. When i try to focus ...
0
votes
0answers
36 views

How to play music across several Android activities

to make it simple: I am creating an RPG/MonsterParty styled game, and I really could use the help of laying out the framework of it. I've looked into game-engines, but from scratch seems the best ...
0
votes
1answer
44 views

Player doesn't jumps in Box2D implementation [closed]

Well, i'm trying to learn andEngine. I was able to successfully implement the move functionality for the player. Now, i'm trying to make the player jump using Box2D. I referred few online tutorials to ...
0
votes
0answers
16 views

Gideros Repeating and Clipping Background

I want to have a background with a repeating x-axis, that can be moved horizontally. What I have so far: local background = Texture.new("parallax01.png", true, {wrap = Texture.REPEAT}) local shape = ...
0
votes
2answers
86 views

Publish android game only for 800 x 480 resolution in portrait mode

I have developed a game in libgdx. I worked for long and after finishing I found that the game runs perfectly on devices with resolution 800 x 480. I found this solution ...
0
votes
1answer
50 views

OpenGL ES 2 jittery camera movement

First of all, I am aware that there's no camera in OpenGL (ES 2), but from my understanding proper manipulation of the projection matrix can simulate the concept of a camera. What I'm trying to do ...
0
votes
1answer
84 views

How can I determine which square in my memory game was pressed?

I want to develop an simple memory game on Android. The memory game have squares like the picture below. How should I determine which of the square is pressed? Should I use image buttons? Personally ...
0
votes
0answers
30 views

Swing and LwjglAWTCanvas

I use LwjglAWTCanvas in my jFrame. I want to load textures on some swing event(I did it from postRunnable in order to get OpenGL contex). final LwjglAWTCanvas hexagonEditorCanvas = new ...
1
vote
0answers
39 views

Resize the Texture Region (parallax background) to fit my screen size in libgdx

I am using libgdx to make a running game. I am using vertical parallax background. I have successfully implemented parallax background many times. But for this game, I want my Texture region to fit my ...
0
votes
1answer
49 views

How to Integrate Unity with Google Play Game Services for iPhone and Android games

I want to integrate Google Play Game Services for Apple's iOS and for Android. How can I do this efficiently?
1
vote
1answer
75 views

Accelerometer based games smoothness

Take Doodle Jump and other games that rely on the accelerometer. The movement of the character is very smooth and I have no idea how they implemented it. I've seen a number of SO/GameDev/forum ...
0
votes
1answer
41 views

Libgdx. Converting Screen Click Coordinates into World Coordinates for 2D Game

I'm using the InputHandler's touchdown method. It gives me my screenX and screenY. Is there a simple way to convert screenX and screenY to world coordinates? By my understanding, InputHandler returns ...
-3
votes
1answer
76 views

Games with simple graphics like Dots or 2048? [closed]

I want to try making an Android game, but I'm bad at making graphics. I want to make a game with very simple graphics and I'm looking for inspiration. What are some games like Dots or 2048?
0
votes
0answers
35 views

Slowdown in sliding background with Libgdx

I´m new with libgx and i have a basic question. I want an background like an image that repeats indefinetely, and moves down. I did with 2 images and it worked, but the problem is that is very slow. I ...
1
vote
1answer
52 views

How to poll input for a gui in libgdx?

Ok, so my question is simple. How do you poll input with a GUI class without it affecting what's underneath the GUI? So suppose you have an RPG game with a gui for the d-pad and other controls: ...
0
votes
0answers
75 views

Moving objects smoothly, bad perfomance

I just finished developing my mini-game on Android and I got some questions about perfomance and generally "how to": If I have 25+ objects on the creeen (just a polygon with 7-8 angles) its starts to ...
4
votes
1answer
148 views

Why doesn't my android application rotate when I rotate my screen

I am building a game in LibGDX and the game screen orientation is in landscape. I want it to stay in landscape but I still want the user to be able to flip the device onto the other side and the ...
0
votes
0answers
22 views

Andengine how to change the onscreen control directions?

I am creating a game using andengine. I am using digital onscreen control to move a ball (sprite) in maze. I am able to move the ball but now I want the movement such that if I move the joystick knob ...
2
votes
1answer
199 views

Do I need a company name to publish on Google Play?

I'm going to upload my Android mobile game on Google Play. But it seems like all games are developed by companies(such as Zynga, and King) and I don't see individual's names as developers. Do I need ...
0
votes
0answers
149 views

cocos2d-x-3.0rc0b Build fails [on hold]

I have created a cpp Cross platform project with cocos2d-x-3.0rc0 on windows8 , but i can't build the android project. I have the following result: C:\home\MyGame\proj.android\proj.android>python ...
0
votes
1answer
78 views

LibGDX cannot save to internal file

I want to save the state of the game in a file, so I can read it at the next start. The Problem is, that I get a exception, if I try to save something internal. If I try to save it local all work ...
0
votes
0answers
23 views

Broken screen when running empty AndEngine project using LimitedFPSEngine

I am new to AndEngine and I am following the steps in this tutorial: http://android.kul.is/2013/10/android-game-development-tutorial-part-3.html. In summary, it is a simple getting-started project ...
0
votes
0answers
27 views

Apply impulse to ball to a fixed height Jbox2D android

I have to hit a ball to a fixed height repeatedly as shown in the following image. This game is similar to 1983 Hitit The difference is the hitting y axis will be variable. I wanted to hit the ...
0
votes
1answer
150 views

How do I handle collision response between many different types of game objects?

I am looking for a way to avoid the dreaded switch or if/else scenarios between numerous game object types when a collision takes place in a game. For example: You have a list of game objects which ...
0
votes
1answer
101 views

Why is mesh baking causing huge performance spikes?

A couple of seconds into the gameplay on my Android device, I see huge performance spikes caused by "Mesh.Bake Scaled Mesh PhysX CollisionData" In my game, a whole level is a parent object containing ...
0
votes
0answers
105 views

Cross-platform ad-hoc local mobile multiplayer

I want to implement ad-hoc cross-platform (iOS, Android, and PC) device discovery for local multiplayer, like this scenario: http://www.youtube.com/watch?v=csXYZf2vGdE Multiple players, each with ...
1
vote
0answers
28 views

How do you calculate the rate of rotation using the accelerometer values in Android for a particular axis?

I am developing a simple game which involves a character moving up and down only along the Y axis. Currently I am using the accelerometer readings to change the Y velocity of the character. The game ...
0
votes
0answers
50 views

How can I use a Seekbar as a brightness slider?

I am using the GLSurfaceView Renderer. I want changes to a seek bar's progress to increase the brightness of a GLSurfaceView proportionally. How do I apply a color matrix to a GLSurface view? Is ...
0
votes
1answer
80 views

Android AndEngine creating a body behind the sprite exactly

I am using AndEngine for Android. I created a body, but it is not behind the sprite as I wanted. Body.setTransform(Sprite.getX()/32, Sprite.getY()/32, 0); This is ...
1
vote
0answers
85 views

Android and OpenGL, single thread vs double thread

I'm trying to optimize my Android OpenGL ES 2.0 application, and I find myself being CPU bound. After googling, I've found this, which suggest to use a thread for updating objects, and a thread for ...
1
vote
2answers
65 views

How do I inline images between text in a Table?

I have a Table and a Label with wrapped text. I want to display some images in-line with the text. For example: This is an image -IMAGE_HERE-, and now some more text showing, yet, another image ...
2
votes
0answers
52 views

Adding touch/click event to a bitmap in android

In my android game, there is a surfaceview which has 36 bitmaps drawn on it. I want to change the bitmaps when they are touched. Is there a way implement touch or click event to the bitmaps ? Adding ...
1
vote
0answers
57 views

How can I transform a group of objects in libGDX?

I'm new in LibGDX. I created group with actors in show method and add listener (where i calculate rotation matrix) and want to rotate all actors from group with ...
7
votes
3answers
1k views

Is a separate thread for game loop compulsory for simple games?

I am new to game development. In order to learn I am recreating this game on android platform. You can observe the game-play video at the above link. It is a simple game. I have read a lot of ...
11
votes
2answers
1k views

How do some mobile games scale graphics so beautifully? [duplicate]

I'm working on my first Android game and have been struggling a bit with scaling. I've got 3 test devices 800x480, 1920x1080 and a 2560x1600 tablet. Some games look near perfect on all of them - many ...
1
vote
1answer
98 views

Pixel Perfect collision detection on rotated bitmaps [duplicate]

I have two bitmaps which are being drawn onto a canvas using a matrix canvas.drawBitmap(bitmap, matrix, paint); first to work out if I need to check for a collision i am using eucilidean vectors ...
10
votes
5answers
1k views

2D collision detection

Let's assume I'm using this character. How would you implement collision detection for it? Using a bounding box doesn't seem to be a good approximation, because the bird's shape is nowhere near a ...
0
votes
1answer
100 views

How to accurately count 1 second within my logic update?

I have the following method: long time = system.nanoTime(); public void count(){ if (System.nanoTime() > (time+1000000000)){ //Output something or perform action here ...
0
votes
1answer
99 views

Is this the correct way to detect ray-sphere intersection?

I have this java function that should return a true or false for any sphere passed to it if they intersect. However it seems to end being true a lot of the time when it shouldn't and false sometimes ...