Tagged Questions
1
vote
1answer
267 views
GLES2.0 3D Android game performance and multi threading the update?
I have profiled my mixed Java\C++ Android game and I got the following result:
As you can see, the pink think is a C++ functions that updates the game. It does things like updating the logic but it ...
1
vote
1answer
96 views
Separate renderng thread in Android (OpenGL ES 2.0)
I'm used to mainly working with the Canvas SurfaceView API on Android and have recently been learning openGL ES 2.0
With canvas I know that surfaceView gives you the ability to start a new thread to ...
2
votes
2answers
116 views
How can I control the frame update rate of a thread?
I'm building a small game for a college project. It's quite a simple game. There are a number of dots on the screen and the player has to select them in a specific order. It's kind of a "join the ...
2
votes
1answer
358 views
Code structure in Android 2D game
Well I've finnaly decided to start Android game dev, and my first project will be simple 2d canvas based game.
I have some experience in game developing with C# and XNA, and I'm a bit confused now.
...
8
votes
2answers
948 views
Java code for client-server game on Android
I have developed a game on Android. Now I want to play it on wifi or 3G. I have game packets which I want to send form client (mobile) to server then to another client (mobile).
I don't know how to ...
14
votes
2answers
5k views
How many threads should an Android game use?
At minimum, an OpenGL Android game has a UI thread and a Renderer thread created by GLSurfaceView. Renderer.onDrawFrame() should be doing a minimum of work to get the higest FPS. The physics, AI, ...
7
votes
3answers
891 views
Android threads trouble wrapping my head around design
I am having trouble wrapping my head around game design. On the android platform, I have an activity and set its content view with a custom surface view. The custom surface view acts as my panel and I ...
8
votes
3answers
600 views
How should I structure my classes to allow for multithreaded simulation?
In my game, there are plots of land with buildings (houses, resource centers). Buildings like houses have tenants, rooms, add-ons, et cetera, and there are several values that have to be simulated ...
1
vote
2answers
659 views
Cocos 2D putting things on the cocos thread or not?
We are using Cocos 2D for Android and are unsure if it's a good thing to execute our non-ui tasks on the Cocos thread as a way to get the animations in our game to pause.
What is the recommended ...
3
votes
0answers
274 views
Android threads trouble wrapping my head around design [duplicate]
Possible Duplicate:
Android threads trouble wrapping my head around design
I am having trouble wrapping my head around game design. On the android platform, I have an activity and set its ...
4
votes
3answers
710 views
Is it necessary to wait for rendering thread to terminate in surfaceDestroyed(…)
I just wrote a simple Android app that uses SurfaceHolder.Callback interface to communicate the state of the SurfaceView. In the Callback.surfaceDestroyed() method i just informed the rendering thread ...