# How do I optimize games on MakeCode Arcade?

**URL:** https://forum.makecode.com/t/how-do-i-optimize-games-on-makecode-arcade/42179
**Category:** Arcade
**Tags:** graphics-and-math, game
**Created:** [February 16, 2026, 12:23am UTC](https://forum.makecode.com/t/how-do-i-optimize-games-on-makecode-arcade/42179 "2026-02-16T00:23:24Z")
**Posts on this page:** 1
**Showing post:** 4

<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: [February 16, 2026, 4:34pm UTC](https://forum.makecode.com/t/how-do-i-optimize-games-on-makecode-arcade/42179/4 "2026-02-16T16:34:23Z")

</div>

The status bar idea is a good one, and the number of colors a sprite uses has no effect on how laggy it is, as each pixel is handled individually and which color that pixel is has no effect on the time it takes to render. Luke is right that sprite overlaps are laggy. You could implement your own overlaps that are based on a square around the sprite, which would cause a lot less lag. This is technically a built in feature, as there is a Sprite flag called something like “use rectangle hitboxes”, but it is not exposed in blocks. I have put it into a block in my [JavaScript Extras](https://forum.makecode.com/t/making-an-extension-for-every-javascript-exclusive-feature-i-can-think-of/36766) extension. You could try that, but I think the extension adds a kinda insane amount of other stuff so just be prepared.

---

_[View the full topic](https://forum.makecode.com/t/how-do-i-optimize-games-on-makecode-arcade/42179)._
