Well, that is a very specific one...
I'm studying a way to separate my plugin files into specific files inside my development folder structure.
For example, let's say I have a plugin EliMZ_BitmapFont.js. I want to divide it into some files and then bundle it together, creating the plugin file to be used on the RPG Maker plugin manager.
Something like that structure, if that matters:
I made a test after I gather all that files into a single one, and already know it works. The engine recognize everything.
But my question is, this somehow can make the engine work more to read that plugin information?
Meaning, before there is just a giant block of comment, with the @ help, @params, and @command.
Now will be a comment block (/* ... */) for each one.
I don't know how the engine/editor reads that. If it read all the file content once and parses everything into the plugin manager or if it reads some other way that, if I do it this way, it will slowdown or the engine can make unecessary additional reading to the file to parses the plugin information to the plugin manager.
Just make myself clear, I'm not talking about parsing plugin parameters into the code. i'm talking about how the engine/editor get the information on the plugin file to show it on the plugin manager window (on the editor).
I'm studying a way to separate my plugin files into specific files inside my development folder structure.
For example, let's say I have a plugin EliMZ_BitmapFont.js. I want to divide it into some files and then bundle it together, creating the plugin file to be used on the RPG Maker plugin manager.
Something like that structure, if that matters:
1 - Main plugin info
2 - Plugin parameters
3 - Plugin Commands
4 - Structs
5 - Code
JavaScript:
/*:
@target MZ
@base EliMZ_Book
[...]
@help
....
*/
2 - Plugin parameters
JavaScript:
/*
@param
@text
@type
@descont
@default
[other params...]
*/
3 - Plugin Commands
JavaScript:
/*
@command
@text
@desc
[other cmds...]
*/
4 - Structs
5 - Code
But my question is, this somehow can make the engine work more to read that plugin information?
Meaning, before there is just a giant block of comment, with the @ help, @params, and @command.
Now will be a comment block (/* ... */) for each one.
I don't know how the engine/editor reads that. If it read all the file content once and parses everything into the plugin manager or if it reads some other way that, if I do it this way, it will slowdown or the engine can make unecessary additional reading to the file to parses the plugin information to the plugin manager.
Just make myself clear, I'm not talking about parsing plugin parameters into the code. i'm talking about how the engine/editor get the information on the plugin file to show it on the plugin manager window (on the editor).