HELP! Code Disappears when I add Extension!

Please help!!! I was adding the extension jwunderl/arcade-sprite-utils and after it is finished installing half of the code disappears! Please help! I don’t know what to do next. I tried all the ways but nothing works. I need this extension for my game!
Here’s the game after I added the extension.

If you need, I also have the original game before the extension was added. It in this help topic.

1 Like

what from it do you want? depending on the block you may be able to add it to your code without adding the extension.

1 Like

Whoops.

I think the blocks from the extensions incompatible with Sprite Utils got deleted. You can just use version history to rewind back if i’m not mistaken.

1 Like

if the extension isn’t important, maybe stay away from using it… or, get a related extension that does the same thing from the og extension that deleted your code.

Wait…

Can people create extensions on Github that is secretly malware? Hopefully not, or else there would be pure chaos, I think github has moderators idk.

1 Like

you can’t make malware, I think the javascript is parsed by makecode arcade (@richard). it’s possible to make an exact replicate in like 3 seconds though

1 Like

we don’t allow extensions to run pure javascript, everything goes through our compiler and so it is all pretty tightly sandboxed. we have a lot of other security precautions around user code as well; i’d be pretty impressed if anyone made an extension that could do anything that was actually harmful to your computer.

but people can write extensions that are buggy. this specific issue is being caused by a change @jwunderl and i made to a few of our extensions recently which has led to makecode inadvertently flagging them as incompatible even though they totally are. i still need to sort it out

6 Likes

Im trying to use it for sprite bouncing

That didnt work…

1 Like

with the extension https://makecode.com/_bsc1DDgxuWuU

1 Like

Half of the code tho, it isn’t there…

1 Like

@Bilangus I did that but then now the extension’s gone