Hi all I just wanted to ask about the code shared on the forums for changing MakeCode Arcade’s resolution:
namespace userconfig {
export const ARCADE_SCREEN_WIDTH = 320
export const ARCADE_SCREEN_HEIGHT = 240
}
This works at startup, but is there a way to make such a change mid-game? (Or are these values overwritten at the start and then used during a launch process which would be a faff to change at runtime) And if anyone could provide some clarity on how/why this code changes the resolution that would be super appreciated! (I did some digging and was unable to find mentions of ‘ARCADE_SCREEN_WIDTH + HEIGHT’ in pxt-arcade outside of
‘CFG_ARCADE_SCREEN_WIDTH = 2102
CFG_ARCADE_SCREEN_HEIGHT = 2103’