Open jfo8000 opened 2 years ago
Yeah drawing a full-screen image is... tricky. I don't know if there's any precedent for it in PXT/Makecode. The IDE almost needs an image picker, but then conversion to the correct bit-depth and resolution would have to happen somewhere.
I don't know when I'll get the time to mode-switch into PXT/Makecode land... it's been so long that I'm hilariously ill equipped to even discuss changes, much less make some, but this is on my TODO.
@Gadgetoid - The arcade pxt seems to have support for drawing a background image - it might be the one to look at first?
I tried to integrate the background image stuff from Arcade, but I think it might be fundamentally incompatible... though to be fair I'm pretty rusty.
And:
Ended up with a fairly broken front-end. I think "Image" means something different in arcade versus regular micro:bit.
The drawImage block gives an error when you drag drop it![image](https://user-images.githubusercontent.com/16273166/147393921-d411c9a1-4b75-4417-b12f-9bc36fa9dc83.png)
What we found after searching was this "big image" block that is (supposed?) to drop in the hole. But it's not great because it only allows you to draw 10x5px which is very hard to see on the inky:bit
Its a little complicated but you can prefill those holes with shadow blocks so that people dont have to add in their own image. But also I am wondering how valuable this draw image block is and how it could be made to be useful. We're trying to draw an image across the screen - and while we have tiled the grid is too small to see any patterns on the inkybit.