Tuesday, February 28, 2012

Black bars on the Kindle Fire

The Kindle Fire is a little different from all other Android devices. 1.30 Big Mountain Snowboarding was just released on the Amazon app store so we could support those users. It has a bug where there is a black bar at the top of the screen and all the button presses are off unless the game is launched from landscape with the power cord facing right.

This is because Kindle Fire is the only device I've heard of which calls onSurfaceChanged twice.

public void onSurfaceChanged(GL10 gl, int w, int h) {

if (!mWasInitialized){

// game init

mWasInitialized = true;

}

else {

// resize the game window

}

}

1.30.1 has been uploaded and fixes this issue. I would update the game description if Amazon allowed developers to write their own promo text. Instead the best I can do is add a discussion at the bottom of the page with the workaround and wait for patch approval.

No comments:

Post a Comment