Hello everyone! I start with the warning: I am a noob at Javascript. I barely know what I'm doing.
I have been making a plugin to customize my menus (RPG Maker MV), and while my code is probably shoddy and does stupid things, it's working so far! I am only moving things around and sometimes hiding parts I don't need. So far so good. But how do I go about adding images to menus? I'm specifically thinking about a bust for each actor that you could see in their status window.
I tried to investigate other plugins that do this, like Galv's and SRD's bust plugins, but unlike other times I looked at their code, this time around I have no idea how adding pictures that aren't faces or icons remotely work T_T And it's been very frustrating. I also tried reading the seemingly related core scripts and I'm still very confused.
Could someone be so kind (and... patient) to explain how I should add an image that isn't used in the Database for anything else? Having in mind that my plugin process has been just copying and pasting whatever I could read in the core scripts, and tinkering with it until it looks good? Maybe I just need to come back next weekend with a clearer mind, but some help would be very appreciated @_@
It would also be awesome to learn how to implement plugin commands, with the idea of changing these busts corresponding to each character depending on the story (I'm also going to change their sprites and faces, so...). However, that's a question for later, and I should start with the images haha.
Thank you very much! Regardless of how much help I can get here, I think I shall try again next weekend x)
I have been making a plugin to customize my menus (RPG Maker MV), and while my code is probably shoddy and does stupid things, it's working so far! I am only moving things around and sometimes hiding parts I don't need. So far so good. But how do I go about adding images to menus? I'm specifically thinking about a bust for each actor that you could see in their status window.
I tried to investigate other plugins that do this, like Galv's and SRD's bust plugins, but unlike other times I looked at their code, this time around I have no idea how adding pictures that aren't faces or icons remotely work T_T And it's been very frustrating. I also tried reading the seemingly related core scripts and I'm still very confused.
Could someone be so kind (and... patient) to explain how I should add an image that isn't used in the Database for anything else? Having in mind that my plugin process has been just copying and pasting whatever I could read in the core scripts, and tinkering with it until it looks good? Maybe I just need to come back next weekend with a clearer mind, but some help would be very appreciated @_@
It would also be awesome to learn how to implement plugin commands, with the idea of changing these busts corresponding to each character depending on the story (I'm also going to change their sprites and faces, so...). However, that's a question for later, and I should start with the images haha.
Thank you very much! Regardless of how much help I can get here, I think I shall try again next weekend x)