Android game loop, how to control speed and frame rate

Android game loop, how to control speed and frame rate

I've written a game for Android, and I've tested it on the Dev Phone 1. It works perfectly, the speed is just right. However, I'm sure phone CPU's are getting faster. They may already be faster tha…


Best way to separate game logic from rendering for a fast-paced game for Android with OpenGL?

I've been studying and making little games for a while, and I have decided lately that I would try to develop games for Android. For me, jumping from native C++ code to Android Java wasn't that hard,…


android game, canvas or opengl?

I am to write a game for android, i have to choose between canvas or opengl for drawing. I have read that canvas doesn´t have a good framerate, but what is good? Imagine you were going to write an an…



android - Meaning of Choreographer messages in Logcat

This question already has an answer here: The application may be doing too much work on its main thread 15 answers I installed the latest versions of SDK…


GLSurfaceView.queueEvent does not execute in the GL thread

I'm trying to execute some OpenGL commands for my GLSurfaceView from my main activity. As the OpenGL renderer works in its own thread, I have to use queueEvent, as far as I understand. I'm calling qu…




android tutorial opengl loop game main glsurfaceview example architecture work