# How did i just now discover this!

**URL:** <https://forum.makecode.com/t/how-did-i-just-now-discover-this/28961>\
**Category:** Show & Tell\
**Created:** [May 26, 2024, 1:14am UTC](https://forum.makecode.com/t/how-did-i-just-now-discover-this/28961 "2024-05-26T01:14:45Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rune](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/rune/32/18951_2.png) [@Rune](https://forum.makecode.com/u/Rune)\
**Post date:** [May 26, 2024, 1:14am UTC](https://forum.makecode.com/t/how-did-i-just-now-discover-this/28961/1 "2024-05-26T01:14:45Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Harmanuary](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/harmanuary/32/21855_2.png) [@Harmanuary](https://forum.makecode.com/u/Harmanuary)\
**Post date:** [May 26, 2024, 3:17pm UTC](https://forum.makecode.com/t/how-did-i-just-now-discover-this/28961/2 "2024-05-26T15:17:12Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Brohann](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/brohann/32/17380_2.png) [@Brohann](https://forum.makecode.com/u/Brohann)\
**Post date:** [May 26, 2024, 3:18pm UTC](https://forum.makecode.com/t/how-did-i-just-now-discover-this/28961/3 "2024-05-26T15:18:48Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Sarge](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/sarge/32/19590_2.png) [@Sarge](https://forum.makecode.com/u/Sarge)\
**Post date:** [May 26, 2024, 3:20pm UTC](https://forum.makecode.com/t/how-did-i-just-now-discover-this/28961/4 "2024-05-26T15:20:46Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Rune](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/rune/32/18951_2.png) [@Rune](https://forum.makecode.com/u/Rune)\
**Post date:** [May 26, 2024, 3:22pm UTC](https://forum.makecode.com/t/how-did-i-just-now-discover-this/28961/5 "2024-05-26T15:22:03Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Rune](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/rune/32/18951_2.png) [@Rune](https://forum.makecode.com/u/Rune)\
**Post date:** [May 26, 2024, 3:22pm UTC](https://forum.makecode.com/t/how-did-i-just-now-discover-this/28961/6 "2024-05-26T15:22:14Z")

</div>

Oh, I never realized.

---

<div class="post-metadata">

**Author:** ![Harmanuary](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/harmanuary/32/21855_2.png) [@Harmanuary](https://forum.makecode.com/u/Harmanuary)\
**Post date:** [May 26, 2024, 9:03pm UTC](https://forum.makecode.com/t/how-did-i-just-now-discover-this/28961/7 "2024-05-26T21:03:02Z")

</div>

my game says project to big when converting back

---

<div class="post-metadata">

**Author:** ![technonux](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/technonux/32/7924_2.png) [@technonux](https://forum.makecode.com/u/technonux)\
**Post date:** [May 26, 2024, 9:04pm UTC](https://forum.makecode.com/t/how-did-i-just-now-discover-this/28961/8 "2024-05-26T21:04:06Z")

</div>

same for me

---

<div class="post-metadata">

**Author:** ![danger\_kitty](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/danger_kitty/32/32006_2.png) [@danger\_kitty](https://forum.makecode.com/u/danger_kitty)\
**Post date:** [May 26, 2024, 9:05pm UTC](https://forum.makecode.com/t/how-did-i-just-now-discover-this/28961/9 "2024-05-26T21:05:18Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![WoofWoof](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/woofwoof/32/32523_2.png) [@WoofWoof](https://forum.makecode.com/u/WoofWoof)\
**Post date:** [May 27, 2024, 1:22am UTC](https://forum.makecode.com/t/how-did-i-just-now-discover-this/28961/10 "2024-05-27T01:22:42Z")

</div>

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