Hi guys could you help me

i messed up wanting more colours and stuffed the settings.
could anyone help and fix my project. here is the code

2 Likes

Did you tinker with the simulator files themselves?
Even removing all of your code still causes the “PANIC! Code 911” Error :slightly_frowning_face:

While we wait for others to reply, I recommend you give more details on what you did / tried to do!

2 Likes

i just tried getting some more colours because. you know the situation with that. but that’s not the problem. i was just in the ptx. json files. but i don’t know what i touched. if anyone could just revert all the settings if that’s possible :man_shrugging:

1 Like

Hello! I’m not super familiar with the Makecode back end stuff, but I know that it’s built on Pygame, which means that the color limit is not hard coded. While I haven’t heard of people attempting to add more colors (that’s really cool actually), I would imagine that adding more colors would mess up some stuff, particularly the UI, as it probably wasn’t built with adding colors in mind, though I wouldn’t be surprised if they did account for this somewhat. Of course, one way they could account for it would just be to throw an error if someone tried to do that, which I would say is my current working theory. I would just copy your code in a new project without messing with internal files. You can probably copy/paste the Python code directly and it might work. Good luck!!

any help would be gladly appreciated.

I fixed it but i did change a few things https://arcade.makecode.com/S57907-53797-08495-18685

2 Likes

That’s awesome! :smiley:
Could you tell us what you changed / did to fix it? That way if someone runs into the problem they have an idea on what to do!

1 Like

I copied the code to a new game and changed the lv100 boss sprite and possibly the player sprite

1 Like

Very interesting :thinking: