# How to make arcade run faster?

**URL:** https://forum.makecode.com/t/how-to-make-arcade-run-faster/20897
**Category:** Help
**Created:** [June 26, 2023, 7:36pm UTC](https://forum.makecode.com/t/how-to-make-arcade-run-faster/20897 "2023-06-26T19:36:04Z")
**Posts on this page:** 14
**Page:** 1

<div class="post-metadata">

### Author: ![CoolSwords4](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/coolswords4/32/9222_2.png) [@CoolSwords4](https://forum.makecode.com/u/CoolSwords4)
#### Post date: [June 26, 2023, 7:36pm UTC](https://forum.makecode.com/t/how-to-make-arcade-run-faster/20897/1 "2023-06-26T19:36:04Z")

</div>

I have noticed that when I make a larger project, it lags. Like, ALOT. The game itself runs fine, but the actual workspace is extremely laggy, like it actually looks like a slideshow. I can only guess that this is because the sheer amount of blocks, but is there a way I can make this run better? My computer is perfectly capable of running this, but the website is very laggy. It’s very hard to make progress when it’s running this terrible. Is there a way to get around this, or is makecode only practically capable for making small projects?

---

<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: [June 26, 2023, 8:59pm UTC](https://forum.makecode.com/t/how-to-make-arcade-run-faster/20897/2 "2023-06-26T20:59:38Z")

</div>

This is happens a lot on lower end computers and chromebooks. I recommend using a mac because it seems to lag a lot less

---

<div class="post-metadata">

### Author: ![Luke](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/luke/32/32519_2.png) [@Luke](https://forum.makecode.com/u/Luke)
#### Post date: [June 26, 2023, 9:49pm UTC](https://forum.makecode.com/t/how-to-make-arcade-run-faster/20897/3 "2023-06-26T21:49:09Z")

</div>

I’m pretty sure block coding was ever intended for such large projects. One thing I do is to use the scroll wheel when moving up which helps with movement. Zooming out also reduced movement distance.  
Some actually useful solutions:  
-Blocks of code can be minimised by right clicking on it which helps lag (I always do this with  
arrays and character animations). Making and organising code with functions helps to do this.  
-Cleaning up unused blocks lying around (tidying your workspace!)  
-If you have lots of repeated code try cleaning them up with one function to reduce the amount of  
blocks.  
-You could switch to javascript or python but that takes learning a whole new language which even I  
don’t want to do.  
-Close the simulator when doing stuff as that is very laggy in itself.  
-General optimisations to code (like using arrays instead of a gigantic if else line)  
Sorry for the text wall lol

---

<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: [June 27, 2023, 4:46pm UTC](https://forum.makecode.com/t/how-to-make-arcade-run-faster/20897/4 "2023-06-27T16:46:36Z")

</div>

One word: JavaScript

---

<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: [June 27, 2023, 4:58pm UTC](https://forum.makecode.com/t/how-to-make-arcade-run-faster/20897/5 "2023-06-27T16:58:21Z")

</div>

Bro has all the pro tips

---

<div class="post-metadata">

### Author: ![Luke](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/luke/32/32519_2.png) [@Luke](https://forum.makecode.com/u/Luke)
#### Post date: [June 27, 2023, 6:38pm UTC](https://forum.makecode.com/t/how-to-make-arcade-run-faster/20897/6 "2023-06-27T18:38:12Z")

</div>

Robot Survival runs like powerpoint 2001 on a toaster in the editor I’ve got all the strats.

---

<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: [June 27, 2023, 10:16pm UTC](https://forum.makecode.com/t/how-to-make-arcade-run-faster/20897/7 "2023-06-27T22:16:07Z")

</div>

I’ve imported @UnsignedArduino’s arcade chess once. It ran like Crysis on a Windows 98 computer

---

<div class="post-metadata">

### Author: ![CoolSwords4](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/coolswords4/32/9222_2.png) [@CoolSwords4](https://forum.makecode.com/u/CoolSwords4)
#### Post date: [June 27, 2023, 10:16pm UTC](https://forum.makecode.com/t/how-to-make-arcade-run-faster/20897/8 "2023-06-27T22:16:56Z")

</div>

Easier said than done buddy.

---

<div class="post-metadata">

### Author: ![MakeCode](https://avatars.discourse-cdn.com/v4/letter/m/f475e1/32.png) [@MakeCode](https://forum.makecode.com/u/MakeCode)
#### Post date: [June 27, 2023, 11:21pm UTC](https://forum.makecode.com/t/how-to-make-arcade-run-faster/20897/9 "2023-06-27T23:21:35Z")

</div>

Can you please share your project?

---

<div class="post-metadata">

### Author: ![YuHayate](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/yuhayate/32/8275_2.png) [@YuHayate](https://forum.makecode.com/u/YuHayate)
#### Post date: [June 28, 2023, 5:22pm UTC](https://forum.makecode.com/t/how-to-make-arcade-run-faster/20897/10 "2023-06-28T17:22:45Z")

</div>

right click and click “Format Code” you all the code will be sorted  
just the fact of having less block in vision helps  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/b/bb7169a9e24ed00e5bfdbccfc07e5186c28ee5af.png)

---

<div class="post-metadata">

### Author: ![AqeeAqee](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/aqeeaqee/32/5424_2.png) [@AqeeAqee](https://forum.makecode.com/u/AqeeAqee)
#### Post date: [June 28, 2023, 9:17pm UTC](https://forum.makecode.com/t/how-to-make-arcade-run-faster/20897/11 "2023-06-28T21:17:03Z")

</div>

> [@YuHayate](#):
>
> ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/b/bb7169a9e24ed00e5bfdbccfc07e5186c28ee5af.png)

And the “Collapse Blocks”

---

<div class="post-metadata">

### Author: ![YuHayate](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/yuhayate/32/8275_2.png) [@YuHayate](https://forum.makecode.com/u/YuHayate)
#### Post date: [June 29, 2023, 4:35pm UTC](https://forum.makecode.com/t/how-to-make-arcade-run-faster/20897/12 "2023-06-29T16:35:58Z")

</div>

the “Collapse Blocks” just makes the block smaller like a function  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/b/b2b19f0c698299a3028642c02274444ade7ff5f4.png)  
like so  
and now you dont have to look at you logic monster

 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/7/7ff72a6b78ab30bf22159f8850fb6701e3186043.png)

---

<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: [June 29, 2023, 4:41pm UTC](https://forum.makecode.com/t/how-to-make-arcade-run-faster/20897/13 "2023-06-29T16:41:37Z")

</div>

Yeah, these are also good options, collapsing the blocks will reduce the amount of blocks displayed in the workspace (and make the site run faster)

One thing to note though, is that this is a compromise between usability and performance. When you collapse blocks, it can get harder to get around and find what you are looking for

* * *

Just something to keep in mind

---

<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: [June 30, 2023, 9:38pm UTC](https://forum.makecode.com/t/how-to-make-arcade-run-faster/20897/14 "2023-06-30T21:38:34Z")

</div>

I remembered another method, which is to hide the simulator (collapse it using the arrow on the side). That way your browser won’t allocate resources to rendering the sim and it should make the workspace run faster. The tradeoff though, is that you can’t preview your changes in real time
