How did i just now discover this!

If you type

namespace userconfig {
export const ARCADE_SCREEN_WIDTH = 320
export const ARCADE_SCREEN_HEIGHT = 240
}

Into the java script editor, you just changed the screen size. You can input ANY SIZE! Why does nobody use this! I can make a game in 4k! (with low FPS but thats besides the point) There has been MANY times where I wished this was possible and now I find it IS?!??!?!

Anyways I just wanted to share this so no one suffers as I did.

7 Likes

where do i input it? could you provide a ss because im a bit slow/i use blocks. Speaking of blocks does this make it incompatible with blocks?

1 Like

I personally don’t use it very often because it feels like cheating. It takes away one of the limitations that makes makecode arcade what it is. It also isn’t hardware compatible, or multiplayer compatible

7 Likes

If you paste this into the search bar you’ll find at least 10 other posts about it.

4 Likes

You put this into the main.ts of the javascript editor. then you can swich back to blocks and it will appear in the on start as a grey cube.

2 Likes

Oh, I never realized.

1 Like

my game says project to big when converting back

1 Like

same for me

Yeah fair but sometimes it can be good for a game fit around 2x screen size like blast and slash

2 Likes

Maybe a game making challenge where we use a 4x5 screen, or some other small size, could be fun!

1 Like