Unanswered Questions
762 questions with no upvoted or accepted answers
9
votes
1
answer
1k
views
Using PhysX, how can I predict where I will need to generate procedural terrain collision shapes?
In this situation, I have terrain height values I generate procedurally. For rendering, I use the camera's position to generate an appropriate sized height map. For collision, however, I need to have ...
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
0
answers
213
views
How can I create a set of collision points for an arbitrary mesh?
In my project I am working on automatically deforming an arbitrary mesh with respect to another arbitrary mesh, within the context of user generated content, similar to this deformer being developed ...
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
0
answers
967
views
OpenGL transparent framebuffer texture
I'm trying to implement atmospheric glow like this. It was a huge pain to get it done, since I'm new to FBO and OpenGL, but I managed to do something similar to what the OP wanted.
I followed his ...
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 ...
5
votes
1
answer
184
views
How can I determine "exact moment" of collision with ray casting?
I'm currently brainstorming how the physics for my game engine is going to be handled.
It's top down and I'm thinking of using ray casting for collision detection.
I've reached two potential problems (...
4
votes
0
answers
173
views
Support function of Minkowski Difference
I am watching this and if you stop at 7:25, you will find an implementation of the support function. The goal of the function is to give you the farthest point in a given direction. My question is how ...
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
0
answers
314
views
Determine user mouse selection of 3D Object for multiple viewports
I am currently working on setting up some world objects for my level editor and am running into a bit of a snag. When I get the hit location from the mouse raycast, I would like to determine what part ...