Blimey, there is something really strange going on! It crashes in the beta version unless I put a showIcon() earlier in the code. If I remove all the showIcon() commands from the code everything works fine.
In the non-beta version it works, so far.
I’m afraid something odd has happened to the icon display codes and something somehow is causing a problem. Unless I insert an extra showIcon() in a certain loop in my game.
Also, a .simstate.json file containing just “{}” has appeared in the Explorer just below main.ts and custom.ts
You don’t want to start mixing /beta and non-beta as we have new files that the older editor won’t handle. I recommend using two different browser or user profiles for now./
The only thing I can try is to tweak the game so that the “worm collision” can happen without the LED display attached and without human intervention, and see if the same crash occurs. If that happens I can send you the entire game.
I did close Firefox before changing between beta/stable but I see the point. If I remove the beta shim for the createimage bit then the code should not be at all platform-dependent?
But do you know if there are any resources available to help me understand how to make a custom field editor? There is nothing visible that I can extract from the core, that I can see, that is vaguely intelligible.
I came across this and thought it could be a useful block for some of the neopixel array products used with micro:bit. How complex would adding a colour picker to each clickable square be? I was thinking something like the colour picker field editor (https://makecode.com/playground#field-editors-color)