Skip to main content

All Questions

Tagged with
10 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
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
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
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