in android it does not fit the screen correctly, the rest excellent start
im not a coder but if your using java if this code works it will auto set resolution based on screen size
// Java code to display the screen size
import java.awt.*;
class GFG {
public static void main(String[] args)
{
// getScreenSize() returns the size
// of the screen in pixels
Dimension size
= Toolkit.getDefaultToolkit().getScreenSize();
// width will store the width of the screen
int width = (int)size.getWidth();
// height will store the height of the screen
int height = (int)size.getHeight();
System.out.println("Current Screen resolution : "
+ "width : " + width
+ " height : " + height);
}
}
Hi.
I'm using C++ for coding. I can see if writing a light code i can make it so you can set reselotion on the UI. I have been working on trying out a way to set reselotion to the game assest to try to get rid of the "black box" problem there is that the code I have so far dont do anything to the game only slowls it down for no reson so it effects preformenc in a bad way.