use of com.badlogic.gdx.backends.android.surfaceview.RatioResolutionStrategy in project bdx by GoranM.
the class AndroidLauncher method onCreate.
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
AndroidApplicationConfiguration config = new AndroidApplicationConfiguration();
int width = 666;
int height = 444;
config.resolutionStrategy = new RatioResolutionStrategy(width, height);
initialize(new BdxApp(), config);
}
Aggregations