I was wondering how to make more than 17 colors 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?
The colors thing is impossible, and the MP3 thing has been done (I think)
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.
this requires a full overhaul of makecode as a whole even on computer
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.
And here is some info about how to do it from the person who made it:
This is sombody who forked the orginial code to make this process easier:
Hope this helps!
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
could I make a game with 6-bit colors, by changing all the colors to red, green, blue, and darker variants?
yes you need to go to assets and click someting, then click colors and there youv go
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”]
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.
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.
Who has done this? Also, it might be possible to figure something out.
(post deleted by author)