Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

in android it does not fit the screen correctly, the rest excellent start

Hi.

Yeah I'm trying to find a good midel ground for how the app fits the screen. 

One big problem I have is that my own phone is large so its not idle as a refrens templat. 

What screen reselotion do you have? It could be a good ide for me to have some more refrenses.

(1 edit)

Of course 720x1440 , if you need anything else just let me know 

you've tried to add a variable black background and have the game window have a Max / min setting, I don't know if I explain it correctly

(+1)

I think I get what you mean. I hope atlest xD

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.