Custom images on Makecode

Hi, I was just fiddling around MakeCode and yeah,
I was wondering how to create custom images on Makecode.

Just making a pixel or a square or a circle whenever I want to in the screen would help me.

After that, I can create anything I want to.

I’ve been looking and reading documentation but I can’t find a way to make it work, so…
Any suggestions?

On EV3?

Yeah, on EV3!

Something like this?

let im = image.create(screen.width, screen.height)
im.drawRect(0, 0, 20, 20, 1)
brick.showImage(im)
1 Like

Thanx a lot. I’m trying to make a radar with my 12 years old son and your reply has been like heaven for me!!! brilliant!!! we have no experience at all in JAVA and it’s like opening a whole universe that was taking too many hours for us with alarm messages and desperate faces after them!!! Thanx a lot for your support PELI.

1 Like