Android is an operating system for mobile devices. For non-developer questions, see http://android.stackexchange.com
0
votes
1answer
31 views
Google Leaderboards, Reducing the Score of a Player
I am making a strategy game similar to chess for Android.
I'll be using the Google Leaderboards for rankings.
I want to implement a sort of ranking system, that the player can actually lose score, ...
-4
votes
0answers
28 views
A free “maker” engine to create and export commercial Android games? [on hold]
I need a free "maker-like" engine that can easily export Android games. I mean ready-to-store and with no costs.
Unity and GM Studio Android exporting versions are paid, right? So, whats the best ...
0
votes
1answer
21 views
Reading map.txt from assets android
I'm a beginner android developer currently working on my second app which is a platformer game. I'm trying to read the level map (which I've stored in the assets folder) but I keep getting a ...
0
votes
1answer
26 views
Crash when setting a new screen
In my almost finished game I want to set a new screen on game over. I got my game over method:
private void gameOver(Label score) {
for (Body body : worldBodies) {
...
3
votes
1answer
39 views
Android TV game development
Anybody develop games for Android TV? Especially with libGDX?
I would like to know what game controllers Android TV uses? And whether we can use libGDX to control the game controllers?
0
votes
0answers
14 views
How to create a splash screen in open GL 2.0 for Android? [on hold]
I am kind new to android and opengl. i am trying to create splash screen for my game using opengl.
1
vote
1answer
32 views
Why is my Box2D Body only colliding with one type of Object after a new level has been built?
So developing for an android mobile game, using Android Studio and developing for the API 17, with Box2D implemented.
FIRST LEVEL
For some reason, one the first level everything is running okay:
...
0
votes
1answer
30 views
dynamic body jumping out of water object
In my game I have my main object, a jetski, which will dive down into water, when the screen is touched. I managed to code the jetski diving down, with Box2d and some buoyancy forces. But when the ...
1
vote
1answer
38 views
Using coroutines to instantiate larger GameObjects in Unity/C#
We are making a scroller type game for mobile platforms and we got pretty far (Beta is already out). Now we are adding some additional content and are starting to experience a noticable lag when ...
1
vote
2answers
19 views
applyForce as long as display is pressed
In my project I have my main character body. I want it to move down on the y-axis as long as the screen is pressed. I tried it with
public boolean touchUp(int screenX, int screenY, int pointer, int ...
0
votes
0answers
19 views
Cross-platform game to be wrapped into a native iOS/Android app
I need to build an app like Lumosity (https://play.google.com/store/apps/details?id=com.lumoslabs.lumosity) that is native app and have some game screens.
So the question is: Is there a way to build ...
-1
votes
0answers
34 views
What if I made a Pokemon Game? [duplicate]
I've seen bits and pieces all over the internet that pertain to my question, but none that actually come close to answering it. The basic rundown is that my older brother dared me to release a pokemon ...
0
votes
0answers
23 views
BOX2D games slow down after adding some bodies [closed]
My practice game is working fine. But when I add bodies in the game (multiple times using a loop) lets say 20 bodies at a single touch, game tends to slow down. As it gradually starts to see in slow ...
0
votes
0answers
16 views
A question about publishing mobile games [closed]
I'm pretty new to game development, the business side of it anyway, and I have a really basic/stupid question about publishing. I'm developing a game for android and iOS and I'm seeing that a lot of ...
0
votes
1answer
15 views
Black screen when launching on phone
I am coding a game in libgdx. While adding the background I used the html module to watch the results fast and easy on my computer. But when I try to see it on my phone I just get a black screen. My ...
0
votes
0answers
44 views
How to use Minim-Android library with an Android Studio game
I have a game project set in Android Studio in which I need to use a library called Minim. It is meant for using with Processing, so its constructor asks for an object that I couldn't find on Android ...
0
votes
1answer
28 views
Unity Application.LoadLevel freezes the game on Android device
I'm developing a game using Unity. The game has a single level and after the player wins/loses, I simply want to reload the same scene. Here's the code I'm using:
private void OnLevelFailed()
{
...
1
vote
1answer
24 views
How to implement constant acceleration and collisions without gravity
I am learning game development and i am trying to implement the AndEngineBox2D Extension such that my character is always moving at a constant velocity, when it collides with a body sprite, the ...
0
votes
0answers
15 views
What is dynamic branching in shader? And How to check which runs on android phone?
Is it simple "for" or "while" in loop with variable?
Is it standard term?
I have errors on some android devices with "for"-terms.
[0020.31] Log: Compiling Shader 0x8200000000_0x3000000000000000, ...
-3
votes
1answer
59 views
best way to creating card game on Android [closed]
I have a new idea for creating a new Uno like card game. I have Java programming experience but not in Android.
What is the best way creating card game on Android ? I mean handling cards easily as ...
0
votes
2answers
90 views
2D Coordinate Based Game [duplicate]
I want to make a game for Android that has a 10x10 Grid Plane as UI.In this game users going to touch on a grid and tihs grid will be painted.
My question is how do I understand which gird or tile ...
0
votes
0answers
21 views
How do I hide the navigation bar in Android using the NDK? C++
I can't seem to enable immersive mode in android using the NDK.
The only code that I've found relating is
AConfiguration *config = NULL //AConfiguration_new();
...
0
votes
0answers
7 views
In-app update, live update, hotfix for mobile game
I'm researching how to make an in app update on mobile game.
When there is a hotfix, or an update, users don't have to go to Playstore, or App store to update but update inside the game. (E.g. Clash ...
1
vote
0answers
36 views
Save game on Android keeps disappearing
my company has developed an Android game using Cocos2D-X. Game works quite well except that for some unknown reason, save games keep disappearing. Users report that they play the game for several ...
0
votes
0answers
14 views
DynamicBody diving into StaticBody
In my game I want a DynamicBody to dive down into a StaticBody. I set up both bodies. At the moment they are colliding. How can I get my DynamicBody to dive down? Is it going to work with this ...
1
vote
0answers
18 views
LibGDX: How to detect remote button press for Android TV?
On Android TV, I need to be able to detect the remote control centre button to start the game.
I tried:
if (Gdx.input.justTouched() || Gdx.input.isKeyJustPressed(Input.Keys.SPACE) || ...
1
vote
1answer
51 views
How to do offline notifications for Android in Unity3d
I am making a game for Android with Unity3d.
I've been looking for a solution to this on the web for a little, but I couldn't find anything suitable:
I want to make my game have offline ...
0
votes
0answers
17 views
Box2d Coordinate System
In the game I'm trying to code I got to have two bodies. One StaticBody and one DynamicBody. I want to have the DynamicBody on top of the StaticBody. Somehow all I get is this:
Is it possible that ...
0
votes
1answer
17 views
libgdx(android) touchup triggers more than once?
I have a function I run inside the touchUp method but when I click with the mouse during emulation, it triggers my function multiple times. I don't think its an error with the called method itself ...
0
votes
1answer
41 views
Libgdx Admob how to hide ad on specific screen?
I've recently started learning Java for android development.
My first game is almost ready to publish in Google Play, but I'm affraid that google might say that on the one screen, the ad may be ...
1
vote
0answers
25 views
LibGDX on Android TV
Anybody wrote games for Android TV using LibGDX?
What is the mapping of the remote control?
Can we use the game controller with LibGDX?
Thanks!
0
votes
1answer
27 views
accelerometer not working unity
why is the cube moving when I use a controller, but not with the accelerometer?
void Update () {
text.text = "X: " + Input.acceleration.x + "; Z: " + Input.acceleration.z;
...
1
vote
1answer
55 views
Box2d jetski on water
At the moment I am trying to code a 2d game in java, where a jetski is riding on water. If you press on the screen the jetski should dive down and jump back up on release. How do I have to do this in ...
2
votes
1answer
41 views
Viewport and Camera setting
For my first game in LibGDX and Android I got a Problem:
I have a background picture which is 2560px * 720px. The screen is 1280 * 720. How do I have to set the viewport and camera in order to get ...
0
votes
0answers
7 views
Consturcting a sprite bitmap from mutliple partial sprties across sheets
First of all, I am not using engine and this is for Android. Bear with me if I use incorrect lingo as I am not experienced in game dev (but I am trying)
I am being provided multiple sprite sheets. ...
-1
votes
1answer
45 views
Creating an Android port of old PC games [closed]
I have seen some decent ports to Android of old PC games.
The graphics and game engines are the same, and all that seems to have been changed was the key mapping, and adding touch-screen events.
I ...
1
vote
3answers
103 views
Avoid if else pattern everywhere depending on game settings
I am creating a sudoku game using the android sdk. I have a PreferenceActivity filled with different settings, such as "Highlight all digits" or "activate the visual helper".
The problem is that I am ...
0
votes
2answers
66 views
What will happen with PlayerPrefs data after updating the app?
I'm using PlayerPrefs (Unity3D, on Android).
If a user updates my application via the Google Play store, what happens to the data I've stored in PlayerPrefs?
3
votes
1answer
62 views
Vibration on Android
How to change duration of vibration on Android(Unity3D)?
For example:
public void Jump()
{
if (grounded)
{
rb2d.velocity = new Vector2(rb2d.velocity.x, jumpPower);
...
2
votes
1answer
49 views
Keeping Android device awake [closed]
I currently program a game in which the user don't need to interact with the screen. Is there any way to keep the screen awake?
0
votes
0answers
40 views
How to customize/disable Google Play service notifications
I'm using Google Play services to make a turn-based game. When a user invites friends or takes a turn while playing, Google will send a notification, but it can't directly open my game (instead, it ...
2
votes
1answer
44 views
Using USB sound input for an android game - is it possible?
We are brainstorming ideas for an app, for a major project using Android Studio, and writing in java. My major is game development, so I intend on trying to build a video game based off the use of an ...
0
votes
1answer
79 views
is there a formula to know how many enemies i can place before jumping character?
My game is very similar to the hidden game in chromes web browser. I have a character that needs to jump over incoming enemies. Is there any way i can know when to send an incoming enemy? Some of the ...
0
votes
0answers
24 views
Compiler error when building for Android after exporting Oculus assets
I have a Unity project which I'm planning to build both for PC and Android. The project is a VR game. For PC I'm using the Oculus SDK and for mobile I'm using ALPSVR SDK. I was working solely with ...
1
vote
1answer
43 views
libgdx - Check if body is touch
I have some bodies around the screen(Ball[] balls), and I would like to delete them when user touches them.
Also, I have an Image as userData of the bodies.
I dont want to make a function to all ...
1
vote
0answers
30 views
Google Play Games Signs Out Automatically without Internet Unity
I am using this in my game to implement games saving and loading.
I have also tried the basic sign in process by using the following start function :-
{
PlayGamesClientConfiguration config ...
0
votes
0answers
28 views
OpenGL- Render to texture- a specific area of screen
I implemented FBO on my OpenGL Game. and Im rendering what is rendered to screen to a texture, the problem is that rendering to texture starts from lower left corner. look:
what is rendered to ...
0
votes
0answers
10 views
AndEngine : Collision does not make line disappear
I have drawn the line between two sprites and there is a rectangle.
When the line collides with rectangle the line should be invisible else the line should be visible.
But i am having problem with ...
0
votes
1answer
22 views
simplest way to detect collision with two bitmpas on android surface view
as title said. I have looked all over and havent found standard way to detect collision between two bitmaps on surface view. I tried intersect method with two rectangles, but didnt work.
`practiseA ...
0
votes
0answers
24 views
Opengl Create FBO- fatal signal 11 error
in my android game, i want to render My scene in the FBO and a texture attached to it, and use that texture later, But When i use glGenFramebuffers i get this error:
07-30 06:17:27.839: A/libc(1338): ...