Tried to “share” this Arcade program showing the Inventory values but, for the first time, Arcade will not share a program which has no errors. I went into Menu mode to show the numerical values of each item and then attempted to publish but got the below fail to publish message. In fact my computer is online and I got 3 such messages on 3 attempts, any one have any idea why ?
Just set the tooltips to an empty string.
Hmmmm it should’nt…
help, im using it for making a game and i made it so that it selects the first item in the inventory when the a button is pressed, but it does not work for some reason,
here the link to the game (what i have done lol)
to open the inventory is menu button
Hopefully something like this will work:
So basically all I did was rebind the jump functions to the up key and then just do the “use” stuff in the A button handler.
oh ok thx
omg dis got instant
btw, that wasnt the problem,the problem was that when i pressed A the selected slot disapeared and didnt reapear in the inventory, (not hotbar lol) so, it didnt help, sadly
can you post the latest version pls
this is just the code
can you please add a function for adding an item to the inventory that would be usefull please and also a “change selected index” to go with the set selected index.altogether great extension
For adding items, look in the example I posted.
And issue for change index:
Is there a way to have the toolbar while in 3D Render Mode?
Sorry, I’m not sure as I have not tried using the 3D extension @AqeeAqee made. But if it can draw a sprite on screen like a GUI component, then it should work.
Actually its fine just make any sprite relative to screen and it works just fine.
Hi, Nice To Meet You
I added the blocks to change numbers, so you don’t need super long blocks for it!
I also updated the example: (works slightly better and uses more functions for cleaner code - you can use this for the Simulation Mini Jam possibly!)
I imported the extension, and makecode told me that the project could not be run because of errors. Before I added the inventory extension, there weren’t any.
Do you happen to be using sprite utils? Just wondering, as I’m unable to reproduce this myself. Can you open the console and look for the “TS” errors?
I added the sprite utils extension, but never used it. Is there a way to delete extensions?
Did you have the sprite until extension installed before you installed the inventory extension?
You can delete extensions, but sprite utils is used internally by Inventory. I can probably remove the dependency to it by just duplicating some code though, which I’ll do when I can…
I made the toolbar stay in screen but that doesn’t work