Unanswered Questions
400 questions with no upvoted or accepted answers
7
votes
1
answer
609
views
On Android, How can I avoid FPS drops during sensor listener setup/tear down?
When I open my Android app after 5 or 10 seconds it sets up the sensor listener, during which I see clear stuttering and the FPS drops for a second to 40 instead of 60.
Is there a way to avoid this? ...
6
votes
1
answer
503
views
LibGdx animation sequence
In my game the character movement animations work fine
but now I'm trying to do a sequence of programmatic animations,
for an enemy character, and it's proving to be a pain.
I'm just doing it on ...
6
votes
1
answer
740
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 ...
6
votes
3
answers
2k
views
Counting multiple touches using Cocos2dx 3.2
I'm trying to count the number of active touches in screen in order to perform an an action in case that there are two touches:
...
5
votes
1
answer
2k
views
Unity Capture And Display Live Camera Feed
I want to display the video using the device camera on specific part of the screen on iOS, android and Editor. I was able to find the WebCamTexture which display the camera video on the Quad (3D ...
5
votes
1
answer
529
views
How to clip or mask entity in android/andengine?
I want to implement masking with sprite in Andengine. I want same functionality as in ios class called
SKCropNode
which works like an masking node!
Is there any workaround like this in andengine/...
5
votes
1
answer
2k
views
libGDX using Stage and Actor produces different camera angles on desktop and Android Phone
libGDX using Stage and Actor produces different camera angles on desktop and Android Phone.
Here are pictures demonstrating the problem: http://brandonyuh.minus.com/mFpdTSgN17VUq
On the desktop ...
5
votes
1
answer
230
views
Fixing the size?
My app isn't compatible with all screen sizes. When testing on a small size, my textview overlaps with my button. So, as suggested on the Android Documentation, and many stack overflow pages, I ...
4
votes
0
answers
94
views
Is the C or the Android code a problem?
Starting to write a game, it'll have a C server, and at the very least an Android client. However I have run into an issue where I can't seem to get them to connect. I have thrown debug logging into ...
4
votes
1
answer
239
views
android - How Do I Replace A Scene in Cocos2D
I am using Cocos2D for Android:
I have two scenes MainScene and LogoScene. I want to show a Splash screen on ...
4
votes
0
answers
813
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 ...
4
votes
0
answers
1k
views
Libgdx performance on old devices
I'm developing a game in Java for Android, using LibGDX.
I'm using Nexus 5 to test my game most of the time and it works great (Minimum FPS it gets is 57 out of 60).
Recently I ran my game in Galaxy ...
4
votes
1
answer
542
views
Scene2d Stage Actor setup issues
I am creating a game using libgdx.
In the same each level has a class. I have stage as a member variable of the class. To this stage, I add actors.
Inside the levels class, I have attaced the input ...
4
votes
1
answer
207
views
How to make expanding ring with constant thickness?
I need to generate this burst or (donut-shaped) pulse.
I'm having a difficult time how to generate such shape.
At first, I was thinking of scaling the image but that didnt work out because the line or ...
3
votes
0
answers
641
views
How to Invite Facebook Users to a Unity Game for Android
I am currently using the following code to let the player invite other players to my multiplayer game:
FB.AppRequest("Test Message", callback: this.HandleResult);
...