MV Help me scrip for UI Inventory

Hi everyone.
Pls help me make a scrip for Inventory 😢
Here is my UI of Inventory. But I don't know how to replace it with basic inventory UI.
The ideal is Change picture name show match with item ID.
ex: If it's only 3 type of item in inventory, then show only 3 first image. The image will change belong to what item is.
If it's more than 6 type of item, ex 10. Then I can use down button to scroll down and the picture will change to match with item ID.
Also picture will change (highlights) if it's selected.
I'll using PictureCallCommon make by triacontane for my UI (the button of catalog)
My game is making by RPG maker MV.

Pls help me. I can pay for it.
Pls DM me via discord.
Chiba#5591

😅

You would be better off commissioning someone for this. All though I see you're a new member and don't have access to the classifieds as of yet.

I would be willing to take this kind of commission actually, PM me if interested.

Alternatively, you could potentially event this as well.
I dont know the plugin on its own or how you currently draw the
itemID for the image.

pure eventing is possible, more as you can draw the pictureID alongside
with the item.name if you code it like that.

it's hard what you have and how to alter it, but the UI looks nice so far.
I dont know the plugin on its own or how you currently draw the
itemID for the image.

pure eventing is possible, more as you can draw the pictureID alongside
with the item.name if you code it like that.

it's hard what you have and how to alter it, but the UI looks nice so far.

I'm using this code to draw the picture.
with 80<n<100 is picture ID match with item ID, and i is and ID of showing picture (max 6).
Now I want link the picture with item ID and add use function. And scroll page if item more than 6.
Also I want to do it with all other function like Gallery, save-load, game option, etc.

Code:
$gameVariables.setValue(100, 0); var i = 1; $gameVariables.setValue(100, 0); for (var n = 81; n <= 90; n++) { if ([$gameVariables.value(n)] >= 1) {
if (i == 1) { $gameScreen.showPicture([i + 39], "Menu_Item_" + n, 0, 0, 0, 100, 100, 255, 0) };
if (i == 2) { $gameScreen.showPicture([i + 39], "Menu_Item_" + n, 0, 330, 0, 100, 100, 255, 0) };
if (i == 3) { $gameScreen.showPicture([i + 39], "Menu_Item_" + n, 0, 0, 180, 100, 100, 255, 0) };
if (i == 4) { $gameScreen.showPicture([i + 39], "Menu_Item_" + n, 0, 330, 180, 100, 100, 255, 0) };
if (i == 5) { $gameScreen.showPicture([i + 39], "Menu_Item_" + n, 0, 0, 360, 100, 100, 255, 0) };
if (i == 6) { $gameScreen.showPicture([i + 39], "Menu_Item_" + n, 0, 330, 360, 100, 100, 255, 0) };
i = i+1;
}}
Gallery.png



Setting.png
than you need to create the name bound by item.name for drawing out those picture,
so you need a variable tracking the item.name() and draw pictureId x.

I like the layout though, save/load on the eventing part can be a bit tricky though,
specially on an event title menu, but I have no idea really how to get the item name
and the amount of items you use for it.

do you use any other plugins? or just the "pictureCallCommon", but keep up the nice work though.
than you need to create the name bound by item.name for drawing out those picture,
so you need a variable tracking the item.name() and draw pictureId x.

I like the layout though, save/load on the eventing part can be a bit tricky though,
specially on an event title menu, but I have no idea really how to get the item name
and the amount of items you use for it.

do you use any other plugins? or just the "pictureCallCommon", but keep up the nice work though.

I use pictureCallCommon for mouse and YEP_ButtonCommonEvent for keyboard.
This is my first time making a game via RPGM, I don't know much about plugin and addon 😐
maybe it's best to learn how to use some without a plugin (sample of that is my evented main menu).
why it doesnt call a new map which is probably recommend in your way, as it doesn't "really" pause
the game as you do it the normal way.

if you really want to build your menu with images, I think is better to create a plugin out of it.
which I did with my main menu, because 1 it is way smoother than the ingame which doesn't
draw the images directly or flicker when changing the scene or new button, this because it needs
to load into the game the first time.

there is a workaround for that.
for mouse part, you can also use a conditional branch if mouseX >= 100 && mouseY <= 200
or in 2 conditions, for each button.

some plugins can make that shorter and still nice readable.
plugin for your menu is probably better, but you need a nice coder to do that by than.

as there are many approaches, you probably need to understand how variables works, and how
to use it effectively as the engine alone is powerfull enought if you do it right though.

the help with plugins can make things easier, like some create an entire inventory with SRD_HUDMaker,
some other an entire MainMenu (require basic to advance JS knowledge), which depends on the
complexity of the menu.

but it can make this easier, probably for images for the items as well and gallery.
I'd be interested in making an evented system for you. I'd just need the UI images you're using. DM me and we can discuss how much it would be.

Original thread: https://forums.rpgmakerweb.com/threads/help-me-scrip-for-ui-inventory.149819/