Android is an operating system for mobile devices. For non-developer questions, see http://android.stackexchange.com
0
votes
0answers
2 views
OpenGL ES 2.0 save data for next render cycle
I'm currently writing a simple game, that should be able to cope with moving and rendering a large number of ships (particles). I started benchmarking with a sprite system, but obviously it was to ...
0
votes
1answer
236 views
One Android app, dynamic load several Unity games
I'm a newbie in this unity world, exciting about everything in it.
Days ago I came up with this idea:
One day someone finds this android app, naming "Blahblah Game Engine" or anything else. This ...
-2
votes
0answers
5 views
Libgdx: remove transparency artefacts from CameraGroupStrategy when used with DecalBatch
Please could someone suggest a shader or a whole solution? Or bits. I am stuck. Thank you.
4
votes
3answers
777 views
How do I access a Unity class from an Android Activity?
I have made my own C# classes in Unity. How can I access them from the Android Activity that starts the UnityPlayer?
Example: I have a C# class called testClass in Unity:
class testClass {
...
2
votes
1answer
59 views
[Libgdx]Screen not rendering after restarting game
I have a strange problem while using the libgdx library
Game works fine on the initial launch on Android, but after that restarting game does not render the graphics on the screen properly.
It is a ...
0
votes
1answer
21 views
How to force Landscape Mode Unity3D Android Game?
I am developing a small side project on Unity that will ultimately be for Android but I cannot figure out how to force landscape on the device and when I have tried it out the game just goes all over ...
1
vote
1answer
568 views
Multiple enemy array in LibGDX
I am trying to make a multiple enemy array, where every 30 secods a new bullet comes from a random point. And if the bullet is clicked it should disapear and a pop like an explosion should appear. And ...
0
votes
1answer
134 views
Fixed background on a SurfaceView
I'm currently working on a top-down twin-stick shooter for Android. I've got my player moving around and shooting, but I'm looking to add a large Bitmap background which is larger than the device ...
-2
votes
0answers
44 views
Android App with copyrighted music! [on hold]
Ok I'm making in fact done with an app (my first app , it's a trivia quiz app of a boy band) and than I realized that using copyrighted images and music could be bad for the app! So I removed all the ...
3
votes
2answers
66 views
LIbgdx android app remove fullscreen and show titlebar
I am developing an app using libgdx and i dont want the app to go fullsceen and i also want to show the title bar but the app goes to full screen and hides title bar instead of all efforts.
here is ...
0
votes
1answer
176 views
Unity: why game app on Android takes up much more memory than Unity Profiler reports?
We are profiling a game app on Android 4.4.2 device via Unity’s ADB profiling.
We have set up ADB profiling following the official guide: http://docs.unity3d.com/Manual/Profiler.html
The ADB ...
0
votes
1answer
14 views
UNET start game with friend by finding their name, Android
There is a game at the google play store called Fun Run 2- Multiplayer Race. I loved its feature to find friends by writing their names, and then to play with them. Is it possible to achieve that with ...
-3
votes
0answers
27 views
best programming language to make android games [on hold]
I've decided to learn android game development, i have some knowledge in c++ and java, but i found out that its better to learn c# or javascript to use unity engine, so what language i should start ...
0
votes
2answers
53 views
How to calculate attacks
I am making a android game, and it is supposed to have attacks.(Note, this game is 2D). I have implemented things like movement to the base, but I am not too sure about the actual attack algorithm. ...
0
votes
1answer
275 views
Game sprite far too small
So I started writing an Android 2D game. I've come to the point where I want to display my character image on the screen. I read that most sprites have a resolution of 16*16, or more. So I created an ...
0
votes
2answers
9k 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 ...
2
votes
1answer
2k views
How do I set up Unity for Eclipse?
I want to use Unity on Android. How can I integrate Unity with Eclipse?
I searched this site and various forums, but found nothing useful.
1
vote
2answers
131 views
Easy method of obtaining texture coordinates for sprite sheet
In my (OpenGL ES 2.0 Android) game, I use 2 types of Sprite Sheets. In one type all sprites/frames are of equal size and in the other they are all different shapes and sizes.
It is the latter one to ...
3
votes
1answer
790 views
How do I find an optimal FPS for best user experience while preserving battery life?
I'm developing an Android game. The "graphics" I'm using need little CPU/GPU, so they run with high FPS. Because saving energy is important on Android devices, I want to limit frame-rate (if deltaTime ...
0
votes
2answers
340 views
Libgdx box2d crashing
im making a game in libgdx which i having a bunch of circle bodies floating around in space and when the player's body crashes into another body, that body deletes and creates two smaller bodies ...
2
votes
1answer
212 views
LibGDX Box2D TileGame Efficiency
I am trying to implement Box2D into my top down tile game in LibGDX. Each world consists of a set of chunks, and each chunk is 16 tiles wide/long. The maximum/minimum chunks loaded at one time is 9 (a ...
0
votes
1answer
2k views
Unity Android Unable to convert classes into dex format AdMob
I'm a beginner Unity programmer (school-age), so I don't know that much about the system. On its own my app compiles fine, but when I implement the AdMob SDK (Google) 2.1, I have the following error ...
0
votes
1answer
36 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, ...
0
votes
1answer
176 views
Cocos2dx - Trail
I'd like to implement a trail (like the white circles in Angry Birds) that chase my Sprite. I already used CCMotionStreak, but the trail texture is "stretched" instead.
Anyone has an idea how to make ...
0
votes
1answer
28 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) {
...
0
votes
1answer
197 views
Android OpenGL and non premultiplied textures
As I understand it; by default all bitmaps will will get the alpha channel premultiplied in Android if loaded using BitmapFactory.
My setup:
I have a 32bit bitmap(.bmp) where the alpha channel has a ...
-4
votes
0answers
33 views
A free “maker” engine to create and export commercial Android games? [closed]
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
31 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
196 views
libGDX new TextureAtlas(filename) and new Texture(filename) drawing stale image data
I'm trying to draw an image using libgdx but no matter what I do, libgdx seems to insist on drawing a portion of an image I had loaded and used in an earlier game screen.
In my current game screen ...
0
votes
1answer
5k views
'Resetting' Google Play Games Services so app forgets it previously connected (so it shows confirmation screen again)
When I first integrated Google Play Games Services into my app, it came up with a 'confirmation screen', something like:
App Name wants to connect to Google Play Game Services
I don't recall the ...
3
votes
1answer
1k views
Calling an android method from Unity3D with a JAR plugin
I am developing a game with Unity only for Android platform and I am requiring to share content of my game through an intent so I have implemented a JAR plugin according to several tutorials with this ...
1
vote
1answer
34 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:
...
-1
votes
2answers
2k 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 (Gameplay).
But we don't really know how to make the ...
10
votes
3answers
11k views
Unity Android versus android SDK
I am familiar with Unity and in the process of learning android SDK when the announcement about unity android basic came out.
What would be the advantages and disadvantages of using the android SDK ...
0
votes
1answer
107 views
How to make TMXTiledMap responsive?
I've been struggling with Cocos2d-x (C++) and finally I got to the point I feel more or less comfortable with that.
My game is a 2D car-based one, with a straight infinite map where I've finally been ...
0
votes
1answer
61 views
LibGdx Scalling sprites on Android
I have a sprite that is a few buttons but need them in the center of the screen for all android devices. I tried setting it's location to the center of the screen by dividing the orthogonal camera by ...
3
votes
1answer
46 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
1answer
572 views
AndEngine - Performance problems with many entities
I'm developing a rolling scene based game I'm loading all the entities from a XML file and create them in the Loading Scene recently I increase the game width , and by doing so , in the whole level I ...
0
votes
0answers
15 views
How to create a splash screen in open GL 2.0 for Android? [closed]
I am kind new to android and opengl. i am trying to create splash screen for my game using opengl.
0
votes
0answers
20 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
vote
1answer
39 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
22 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
1answer
34 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 ...
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
2answers
120 views
Game lags when my player collides with a specific object (solution known, unsure how to implement)
I'm developing a game in Android using LibGDX (although this is more of a JAVA problem than an engine problem). My aim is to have my player bounce off one spring onto another that will eventually take ...
1
vote
2answers
288 views
How do I refer to a native library with Unity 5 on Android?
I have a library called mylibandroid.a. This is given to me by another developer. I also have the iOS version of this lib, and have been able to access it from Unity.
It is supposedly built for ...
-1
votes
0answers
37 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
45 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 ...
3
votes
1answer
367 views
Word game - board implementation?
I'm working on a boggle type game for android, using libgdx. The user is presented with a 4x4 grid of letters and must find words by dragging their finger over the letters.
Unlike boggle I want used ...
0
votes
1answer
33 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()
{
...