Thanks, that did the job. I moved the code from the end of the "onDrawFrame" method to the line before the "framebuffer.display()" call. Now the controls are visible (though it's better to play the game with a gamepad
).

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu
// Flight state, user controls a plane. m_Width and m_Height are the framebuffer width and height values.
// m_Ctrl is a texture for the control stick, m_Fire is a firebutton
case 3:
m_FrameBuffer.blit(m_Fire, 0, 0, m_Width - 143, m_Height - 143, 128, 128, true);
m_FrameBuffer.blit(m_Ctrl, 0, 0, 15 , m_Height - 271, 256, 256, true);
break;
Page created in 0.053 seconds with 11 queries.