# This is a backrooms game i need nhelp cause it lags and bugs when i play it

**URL:** <https://forum.makecode.com/t/this-is-a-backrooms-game-i-need-nhelp-cause-it-lags-and-bugs-when-i-play-it/43620>\
**Category:** Help\
**Tags:** game\
**Created:** [April 25, 2026, 4:51am UTC](https://forum.makecode.com/t/this-is-a-backrooms-game-i-need-nhelp-cause-it-lags-and-bugs-when-i-play-it/43620 "2026-04-25T04:51:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sir\_ockster\_3rd](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/sir_ockster_3rd/32/31681_2.png) [@sir\_ockster\_3rd](https://forum.makecode.com/u/sir_ockster_3rd)\
**Post date:** [April 25, 2026, 4:51am UTC](https://forum.makecode.com/t/this-is-a-backrooms-game-i-need-nhelp-cause-it-lags-and-bugs-when-i-play-it/43620/1 "2026-04-25T04:51:05Z")

</div>

Here it is:

> **[frontROOMS/chaos.exe](https://arcade.makecode.com/S36748-28518-00475-87754)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

**Author:** ![Vincent](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/vincent/32/31472_2.png) [@Vincent](https://forum.makecode.com/u/Vincent)\
**Post date:** [April 26, 2026, 1:27am UTC](https://forum.makecode.com/t/this-is-a-backrooms-game-i-need-nhelp-cause-it-lags-and-bugs-when-i-play-it/43620/2 "2026-04-26T01:27:04Z")

</div>

First of all, I can’t read the text at the start, so try redoing part of the design for it or change the writing’s color.  
Second of all, the repeat 1 time block serves literally no purpose, as it repeats AGAIN when you are on the sprite.  
Third of all, to answer your question, all I can possibly say is that all the “when sprite is created” has a number attached to it (ex "when sprite4 is created) , meaning that nothing will happen until one of those sprites spawn, none of which do. Some of these blocks of code can be transported to the start instead of when something happens, but for all the others, just replace the “sprite_number_” with the variable needed.

---

<div class="post-metadata">

**Author:** ![YamJam](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/yamjam/32/29681_2.png) [@YamJam](https://forum.makecode.com/u/YamJam)\
**Post date:** [April 26, 2026, 1:30am UTC](https://forum.makecode.com/t/this-is-a-backrooms-game-i-need-nhelp-cause-it-lags-and-bugs-when-i-play-it/43620/3 "2026-04-26T01:30:37Z")

</div>

I don’t know if I fixed anything, but I removed the if blocks and the repeat (1) blocks as well. I also changed the sound effects to play in the background so it wouldn’t pause the game.

> **[frontROOMS/chaos.exe](https://arcade.makecode.com/S74984-74892-22827-62873)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

**Author:** ![sharpWill](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/sharpwill/32/24467_2.png) [@sharpWill](https://forum.makecode.com/u/sharpWill)\
**Post date:** [April 26, 2026, 6:10pm UTC](https://forum.makecode.com/t/this-is-a-backrooms-game-i-need-nhelp-cause-it-lags-and-bugs-when-i-play-it/43620/4 "2026-04-26T18:10:44Z")

</div>

While trying to optimize what I found was while you definitely had a lot of useless if-statements, the bulk of your lag is coming from those overlapping sounds looping in the background. taking the sound out of your code seemed to make the simulator run at a more normal pace.

sprite overlap functions and tile map size taking exponentially more processing can also slow you down.

> **[frontROOMS/chaos.exe](https://arcade.makecode.com/S99179-60564-13167-85615)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

And again, your main culprit was the simultaneous looping sounds.
