Ciph3rzer0 / BitBot

2 stars 0 forks source link

Landscape view in GameActivity #22

Open Ciph3rzer0 opened 13 years ago

Ciph3rzer0 commented 13 years ago

I think all you need to do is change this part here.

In GlRenderer.java:

@Override public void onSurfaceChanged(GL10 gl, int width, int height) { //Calculate Aspect Ratio aspectRatio = (float)height/(float)width; screenWidth = width; screenHeight = height; ....

I'm putting android:screenOrientation="landscape" in the manifest temporarily.