Skip to main content

Questions tagged [android-studio]

Android Studio is the official integrated development environment for the Android operating system.

24 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
6 votes
1 answer
719 views

Spawning enemies in four different positions with a fixed trajectory in android game

This is my first android game, I appreciate all the help. I want to define 4 spawning zones starting from out of the screen (left, right, up and down). Enemies coming from this areas have a fixed ...
OrangeHat's user avatar
  • 123
4 votes
0 answers
806 views

Libgdx stops all sounds when there are lots of sounds

I'm making a 2D game for Android using Android Studio with Libgdx in Java. I have a class, called SoundPlayer, which holds an ArrayMap. The key is the name of the sound file and the value is the sound ...
Gad Wissberg's user avatar
3 votes
0 answers
482 views

Making use of the Android GPU debugging tools

I tried following the manual to install the Android GPU debugging tools for android Studio 2.0. Unfortunately it has not been very successful. I have been following the instructions of the official ...
Busti's user avatar
  • 131
3 votes
0 answers
608 views

Getting Image From Android to Unity3D

I am trying to get an image from the user gallery and import it in unity. I have written a native plugin in Android Studio and exported JAR as it’s needed for the native stuff to get working. I am ...
Adnan Nazir's user avatar
2 votes
2 answers
1k views

LibGDX with SoundPool

I'm developing a game for Android using LibGDX in Android Studio. I recently found out that some sounds in my game fail to play. I noticed that every time a sound fails to play, these are the logs: ...
Gad Wissberg's user avatar
1 vote
0 answers
28 views

Recognize L-Shape in a 4x4 Matrix

I'm trying to make a board game, there the player has to press four buttons to make the L. It can be mirrored or rotated, it just has to be an L. But if the player press four buttons and make another ...
Yan Oguino's user avatar
1 vote
0 answers
101 views

What happens to deleted or added assets in your app when updating to a new version in the Google Play Store and iOS App Store?

So let's say I used Unity and built an app and uploaded it to the android and iOS app store, it is 100 MB and lots of people downloaded it. So now I want to update it to the newer version, however ...
EmperiumIce's user avatar
1 vote
0 answers
973 views

Collision detection between image and drawables

I'm trying to collide my ball_1 to greengreen drawable. How can I determine the collision? ...
francis Escolar's user avatar
1 vote
0 answers
665 views

How do I setup Android SDK for GMS?

I am trying to set the path for the android SDK in GameMaker: Studio, but I am having an unexpected ammount of difficulty with this. Initialy, I installed Android Studio and tried setting it's ...
Mr. Mendelli's user avatar
1 vote
0 answers
709 views

How to fit a bitmap to a random size rect so it does not strech? (Android Studio)

I'm trying to fit a bitmap to a random size rect but I don't want the bitmap to be streched out. I've tried using BitmapShader and tile it but it become animated and not fixed. Here is my code ...
realNewbie's user avatar
1 vote
0 answers
613 views

Export UnityProject inside Android Studio's existing project

I am new to the Unity3D, but I have made a small Unity project with a humanoid gameobject. I can move this humanoid with the demo data but I want to move it with ...
Jai Aggarwal's user avatar
1 vote
0 answers
658 views

Image Buttons Have Low Resolution Quality

I'm using Synfig Animator to draw my animations for my android game I'm also using Android Studio to write the code for it, However. On testing, the images that i'm using looks very bad and unfocused ...
Zack Tombson's user avatar
1 vote
0 answers
255 views

OpenGL ES 2.0: Highly variable time spent in GLES20.glDrawArrays(). How to find the cause?

How can I debug why the time take to issue exactly the same GL commands to render a frame, especially the call to GLES20.glDrawArrays(), is highly variable even when there is no garbage collection and ...
Tobias's user avatar
  • 171
1 vote
0 answers
59 views

animation of an Actor in libgdx crashes on iphone

I am using a class found here on stackover for the animation of the actors , but I crash on the physical device class AnimatedImage.java: ...
Mr. Developer's user avatar
0 votes
1 answer
103 views

Comparison of 2 different quaternion axes

I am trying to compare the Z-axis and the X-axis of two different quaternions in a way that would give me the Euler angles about the X and Y axes to line up the two different axes. In my program, the ...
ACR115's user avatar
  • 1
0 votes
0 answers
183 views

How to shade the whole Google Map except for radii?

I am implementing line-of-sight into a strategy game I am developing, and I would like to shade the map darker outside of the LoS of the player and their structures (fog of war). The trick is, this is ...
TheBiscuit's user avatar
0 votes
0 answers
90 views

SurfaceView gameloop

Could you suggest an implementation of a game loop with interpolation for SurfaceView and thread? i have this, but it doesnt work. ...
Limpan's user avatar
  • 11
0 votes
0 answers
83 views

In my Online multiplayer quiz game how can i make players to join and compete at a time?

I am creating a multiplayer Online quiz game in Android Studio using Java. I am having players registered using Firebase in my app. Ok so the main thing is , I'm having different set of quiz ...
Kumar Harsh's user avatar
0 votes
1 answer
180 views

How can I add a button that opens a pop-up?

I have developed a game with a libGDX game engine. I want to create a button on the game screen and add a popup to this button. How can I do this? My current code: ...
Dou Software's user avatar
0 votes
0 answers
928 views

Listview With Custom Adapter, Checkbox Items And Select All option

I have an application that populate data from sqlite and put in a listview 1 of the holder in listview layout is a checkbox. I also have 1 checkbox in the forupload activity which named select all, ...
user avatar
0 votes
0 answers
15 views

Connecting android game with website to show user scores on logon

How do I make my android game users logon to my website to see their scores? I can create fb login in app and website, but I need to show the score of the particular user in the website. An example: A ...
shanganithi's user avatar
0 votes
0 answers
108 views

Graphics messed up when I try to reskin the game in Android Studio

I need a little help. I'm new in Android Studio, I have a game where I want to reskin the design. First of all when I install it on my phone with the original files the game run perfectly without ...
Aleksandar Mitrev's user avatar
0 votes
1 answer
321 views

How can I track two fingers?

Im trying to make make game which is intended to be played with the phone in landscape mode, and the player uses their thumbs to control the movement. The game controls look like this: On the left ...
tacofisher's user avatar
-1 votes
1 answer
656 views

Why does the Texture from AssetManager displays black rectangles only (LibGDX)?

I loaded and get a texture from assetmanager but whenever I test the app it only shows black rectangles instead of the texture. I tried finding some probable cause for this in my code but I can't ...
JAlmazan's user avatar