# Making Extension Help

**URL:** <https://forum.makecode.com/t/making-extension-help/39574>\
**Category:** Help\
**Tags:** graphics-and-math, extension, art\
**Created:** [October 1, 2025, 1:02am UTC](https://forum.makecode.com/t/making-extension-help/39574 "2025-10-01T01:02:59Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![VoxelMaster64](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/voxelmaster64/32/32075_2.png) [@VoxelMaster64](https://forum.makecode.com/u/VoxelMaster64)\
**Post date:** [October 1, 2025, 1:03am UTC](https://forum.makecode.com/t/making-extension-help/39574/1 "2025-10-01T01:03:00Z")

</div>

I was wondering how to make more than [17 colors](https://arcade.makecode.com/S38415-24049-57884-61595) and remembered that a few extensions (e.g. browser events) only work on a browser, and not a physical arcade. That got me thinking that it might be possible to make an extension to extend the palette to 32 or 64 colors (or anything else, as long as it makes more colors). I was also wondering if it could be possible to make an MP3 player using the built-in sound waves. @richard, could any of these be possible?

---

<div class="post-metadata">

**Author:** ![AtlasTG](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/atlastg/32/25690_2.png) [@AtlasTG](https://forum.makecode.com/u/AtlasTG)\
**Post date:** [October 1, 2025, 5:25pm UTC](https://forum.makecode.com/t/making-extension-help/39574/2 "2025-10-01T17:25:22Z")

</div>

The colors thing is impossible, and the MP3 thing has been done (I think)

---

<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:** [October 1, 2025, 5:25pm UTC](https://forum.makecode.com/t/making-extension-help/39574/3 "2025-10-01T17:25:26Z")

</div>

All of these would be possible yes, but they really don’t fit with the “spirit” of Makecode Arcade in my opinion, though I believe the MP3 player thing has been done. Like many before me have said, if you want more colors you can always move to a different game engine, and the limitations of 16 colors, etc, drive creativity.

---

<div class="post-metadata">

**Author:** ![TheEarth](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/theearth/32/34579_2.png) [@TheEarth](https://forum.makecode.com/u/TheEarth)\
**Post date:** [October 1, 2025, 5:25pm UTC](https://forum.makecode.com/t/making-extension-help/39574/4 "2025-10-01T17:25:46Z")

</div>

this requires a full overhaul of makecode as a whole even on computer

---

<div class="post-metadata">

**Author:** ![Bifrosty](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/bifrosty/32/24819_2.png) [@Bifrosty](https://forum.makecode.com/u/Bifrosty)\
**Post date:** [October 1, 2025, 5:26pm UTC](https://forum.makecode.com/t/making-extension-help/39574/5 "2025-10-01T17:26:04Z")

</div>

This is a frequently asked question, though I’m like 99% sure that there is no possible way to extend the color limit.

However, people have found a way to import .wav files. Here is an example.

> **[never gonna give you up (number arrays)](https://arcade.makecode.com/S01097-41260-88616-24657)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

And here is some info about how to do it from the person who made it:

> [@Help with custom audio clips...again](https://forum.makecode.com/t/help-with-custom-audio-clips-again/30384):
>
> For some reason, I decided to try to play custom audio clips in MakeCode Arcade, completely ripping off of @chembot’s [idea](https://forum.makecode.com/t/custom-audio-clips-possibly-using-queueplayinstructions/28168). Instead of using SPEAR / complicated audio analysis tools, I decided to use [scipy’s signal.spectrogram](https://docs.scipy.org/doc/scipy/reference/generated/scipy.signal.spectrogram.html#scipy.signal.spectrogram) function to decompose to sine waves and play, which is a more basic version. You can see the GitHub repo [here](https://github.com/UnsignedArduino/Audio-to-MakeCode-Arcade). The thing I need help with, or would like the input and ideas of others, is that I’ve tried two methods to play the sine waves and I want to improve the sound q…

This is sombody who forked the orginial code to make this process easier:

> [@It's Now Easier Than Ever to Import Audio to Makecode!](https://forum.makecode.com/t/its-now-easier-than-ever-to-import-audio-to-makecode/39554):
>
> First of all, all credit of this goes to @UnsignedArduino I forked his repo and made some changes so that you can import audio to makecode very easily. Just fork this repo: [HomeAssistantTycoon/Audio-to-MakeCode-Arcade: Converts audio to MakeCode Arcade code!](https://github.com/HomeAssistantTycoon/Audio-to-MakeCode-Arcade) and replace the file in the audio folder with your own file. The file must be a .wav and it must be mono not stereo. Then the action should run and wait a minute or two and check the outputs folder. Copy and paste that into makecode and boo…

Hope this helps!

---

<div class="post-metadata">

**Author:** ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)\
**Post date:** [October 1, 2025, 5:29pm UTC](https://forum.makecode.com/t/making-extension-help/39574/6 "2025-10-01T17:29:18Z")

</div>

echoing what other folks have said in this thread: there is indeed no way to do the “more colors” thing from an extension. it’s certainly possible to have more colors only in the browser, but it would require a lot of changes to the internals of makecode arcade itself

and yes, there have been some clever attempts to convert audio files into projects that can play in makecode arcade using our existing synth engine! as for official support for mp3s, we don’t have any plans to do that right now. it creates a lot of copyright issues

---

<div class="post-metadata">

**Author:** ![VoxelMaster64](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/voxelmaster64/32/32075_2.png) [@VoxelMaster64](https://forum.makecode.com/u/VoxelMaster64)\
**Post date:** [October 2, 2025, 11:24pm UTC](https://forum.makecode.com/t/making-extension-help/39574/7 "2025-10-02T23:24:04Z")

</div>

could I make a game with 6-bit colors, by changing all the colors to red, green, blue, and darker variants?

---

<div class="post-metadata">

**Author:** ![Reflectfr](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/reflectfr/32/32515_2.png) [@Reflectfr](https://forum.makecode.com/u/Reflectfr)\
**Post date:** [October 3, 2025, 5:17pm UTC](https://forum.makecode.com/t/making-extension-help/39574/8 "2025-10-03T17:17:14Z")

</div>

yes you need to go to assets and click someting, then click colors and there youv go

---

<div class="post-metadata">

**Author:** ![VoxelMaster64](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/voxelmaster64/32/32075_2.png) [@VoxelMaster64](https://forum.makecode.com/u/VoxelMaster64)\
**Post date:** [October 3, 2025, 9:29pm UTC](https://forum.makecode.com/t/making-extension-help/39574/9 "2025-10-03T21:29:51Z")

</div>

I think you actually go to javascript and to the file explorer. from there, you open pxt.json and add something. I think its:

palette: [“Hex code”, “Hex code”, … “Hex code”]

---

<div class="post-metadata">

**Author:** ![VoxelMaster64](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/voxelmaster64/32/32075_2.png) [@VoxelMaster64](https://forum.makecode.com/u/VoxelMaster64)\
**Post date:** [October 12, 2025, 11:43pm UTC](https://forum.makecode.com/t/making-extension-help/39574/10 "2025-10-12T23:43:27Z")

</div>

I am not able to collect my thoughts currently, but I’m trying to make a function with a single string input, which is the hex code of an image. The function will round each pixel to the nearest Hex6 color, while maintaining the image size. It then returns a string in my format.

---

<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:** [October 13, 2025, 2:18am UTC](https://forum.makecode.com/t/making-extension-help/39574/11 "2025-10-13T02:18:03Z")

</div>

The problem is that rgb graphics will just look wrong in the browser. Someone else has already done this, and even making the screen size like 2000 x 2000 you still only see red green and blue dots, you never see the colors blend together into actual separate colors.

---

<div class="post-metadata">

**Author:** ![VoxelMaster64](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/voxelmaster64/32/32075_2.png) [@VoxelMaster64](https://forum.makecode.com/u/VoxelMaster64)\
**Post date:** [October 13, 2025, 4:44pm UTC](https://forum.makecode.com/t/making-extension-help/39574/12 "2025-10-13T16:44:28Z")

</div>

Who has done this? Also, it might be possible to figure something out.

---

<div class="post-metadata">

**Author:** ![Iro](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/iro/32/34749_2.png) [@Iro](https://forum.makecode.com/u/Iro)\
**Post date:** [October 16, 2025, 4:15am UTC](https://forum.makecode.com/t/making-extension-help/39574/15 "2025-10-16T04:15:02Z")

</div>

OMG A COMPREHENSIVE VOICE! (something here cus the thing made me)

---

<div class="post-metadata">

**Author:** ![VoxelMaster64](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/voxelmaster64/32/32075_2.png) [@VoxelMaster64](https://forum.makecode.com/u/VoxelMaster64)\
**Post date:** [November 26, 2025, 4:40am UTC](https://forum.makecode.com/t/making-extension-help/39574/16 "2025-11-26T04:40:16Z")

</div>

how can I change the colors of the palette in-game (using a function or something, I don’t care if it’s in Javascript I know javascript)

---

<div class="post-metadata">

**Author:** ![VoxelMaster64](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/voxelmaster64/32/32075_2.png) [@VoxelMaster64](https://forum.makecode.com/u/VoxelMaster64)\
**Post date:** [February 1, 2026, 3:19pm UTC](https://forum.makecode.com/t/making-extension-help/39574/17 "2026-02-01T15:19:57Z")

</div>

@richard (or anybody else that knows anything) I have been researching on sound waves (trying to create better audio than [https://arcade.makecode.com/S01097-41260-88616-24657](https://arcade.makecode.com/S01097-41260-88616-24657)), and took an interest to [this](https://www.jezzamon.com/fourier/). i also thought that Buffer might be similar to the sound wave page i sent. because multiple sines make one wave, and Makecode only supports sine square saw triangle and noise (noise had some randomizing function found in a c++ file) so i imagine it would be possible to create whole new waves. I would be happy with the bare bones of how everything works but a way to easily use it (i don’t want pre-defined waves (actually you could but with variables to change the wave)) would be better.

---

<div class="post-metadata">

**Author:** ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)\
**Post date:** [February 2, 2026, 5:49pm UTC](https://forum.makecode.com/t/making-extension-help/39574/18 "2026-02-02T17:49:58Z")

</div>

we don’t currently have a way to use your own waveforms. maybe someday!

---

<div class="post-metadata">

**Author:** ![VoxelMaster64](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/voxelmaster64/32/32075_2.png) [@VoxelMaster64](https://forum.makecode.com/u/VoxelMaster64)\
**Post date:** [February 4, 2026, 2:19am UTC](https://forum.makecode.com/t/making-extension-help/39574/19 "2026-02-04T02:19:56Z")

</div>

there is no way for custom waveforms, but I do believe playing multiple since wave at one is very possible

---

<div class="post-metadata">

**Author:** ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)\
**Post date:** [February 4, 2026, 6:10pm UTC](https://forum.makecode.com/t/making-extension-help/39574/20 "2026-02-04T18:10:39Z")

</div>

yes, that’s what the example you sent is doing

---

<div class="post-metadata">

**Author:** ![VoxelMaster64](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/voxelmaster64/32/32075_2.png) [@VoxelMaster64](https://forum.makecode.com/u/VoxelMaster64)\
**Post date:** [February 6, 2026, 12:28am UTC](https://forum.makecode.com/t/making-extension-help/39574/21 "2026-02-06T00:28:22Z")

</div>

ahh i understand.

this is a Buffer wrighter that takes in an array of frequencies and amplitudes and times rather than 2 of each (and one time input):

> **[shared: sound Buffer thingy](https://arcade.makecode.com/S95383-05242-58297-82638)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

i asked copilot to make it becaus idk how Buffers work and im lazy

---

<div class="post-metadata">

**Author:** ![VoxelMaster64](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/voxelmaster64/32/32075_2.png) [@VoxelMaster64](https://forum.makecode.com/u/VoxelMaster64)\
**Post date:** [April 12, 2026, 3:00am UTC](https://forum.makecode.com/t/making-extension-help/39574/22 "2026-04-12T03:00:15Z")

</div>

surprissed I never said it here yet, but I made [1 MILLION+ COLORS WITHOUT PALETTE CHANGE (technically)](https://forum.makecode.com/t/1-million-colors-without-palette-change-technically/41304)
