How to add own images and sprites?

Hi everyone,
I’m trying to add an image (png) as a scene background and also some sprites.
How can I do this?

I think you only can draw it out sadly :neutral_face:

Well, go to this link: https://riknoll.github.io/pxt-arcade-asset-tool/
Paste your png image.
Copy the code shown on the right.
Paste it in your project in javascript ( if you’re using blocks, then go to javascript, paste the code, than convert it to blocks, and will defenetily work)
I don’t recommend pasting a big image because makecode can’t handle a very big sprite image ( 300 pixel height and width max, as I know )
When creating a sprite or a background in blocks, go to javascript, paste the code, than convert it to blocks, and drag the new image ( somewhere in your project ) to the background block or sprite create block.

3 Likes

Thank you so much!!

I tired this and I think it is limited to very small images. When I tried making it as a 140*160 background, Makecode died.