Changing the window size does absolutely nothing

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By SpicyIcy

Currently using the mobile port of godot, there’s a lot of issues with it but the one I am going to talk about is resizing the window, you see

I am creating a game which has pixel art and the tutorial i am currently following requires me to change the window viewport width, height, and then the width and height overide, the problem here is that, nothing happens when i change any of those variables

Need more info: what OS you are trying this on, what Display settings are in your project, what lines of code are you running to change that, etc

aidave | 2023-03-15 15:05

I’m on an android tablet
I havent inserted any scripts into the project just yet so that can’t be the reason
I probably should’ve mentioned that i need to change the window sizes so the pixel art doesnt look too tiny, and i’m afraid using transform might break soms things in the tutorial

SpicyIcy | 2023-03-16 07:27

:bust_in_silhouette: Reply From: aidave

Try setting Stretch Mode to Viewport, and Stretch Aspect to Keep in Project Settings.

It should work unless you are using tricks with Viewport Nodes