Project Organization

Kaelan

Veteran
Veteran
Joined
May 14, 2012
Messages
797
Reaction score
537
First Language
Portuguese
Primarily Uses
RMMV
In Ace, I used a plugin that would allow me to organize my code into a proper folder structure, so I didn't have to keep everything in one place. That would let me have my plugin folder looking something like this:



Is there an equivalent to this in MV? I'm a fan of having more smaller files instead of few large files to keep things organized, but it's a nightmare to dig through when everything has to be in the same folder. It would also be nice to be able to separate other people's plugins from my own.
 

Landazar

Veteran
Veteran
Joined
Feb 16, 2018
Messages
179
Reaction score
56
First Language
Polish
Primarily Uses
RMMV
As far I know there is not such a plugin, but you can manually edit file paths in js/rpg_manager.js (but this is for more advanced users)
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,430
Reaction score
7,711
First Language
German
Primarily Uses
RMMV
@Kaelan
I think you're mixing up a few things in your memory.
Ace never had plugins, it had scripts and the script editor - which worked a bit differently and you couldn't place different scripts into different files because everything was combined anyway.
The structure you're describing was for the resource manager because Tsukihime wrote a script that allowed redirecting the filepaths for the image and audiofiles.

Additionally there is the problem that both scripts in Ace and plugins in MV are dependent on their order, and organising them into different folders will increase the chance of complete engine failure due to wrong order, so I strongly suspect that you're misremembereing and this was never available for Ace and would be a big problem if someone tried to do it with plugins.

Making a plugin to allow organization of other resources could be a good idea, but for plugins and scripts it would be very bad.
If you didn't misremember and someone really did this for Ace, could you give a link to that script so that we can check what exactly was done?
 

Kaelan

Veteran
Veteran
Joined
May 14, 2012
Messages
797
Reaction score
537
First Language
Portuguese
Primarily Uses
RMMV
@Andar

I'm not misremembering, that's a screenshot of my project in Sublime Text. I remember how Ace worked, I used a script framework to have a different workflow. This isn't to do with MV, the framework I used itself termed .rb files as plugins, so I use the same terminology to be consistent with it.

Link: https://github.com/TorD/rgss3-plugin-script-framework

It leverages Tsukihime's external script loader, but the bulk of the work was done by Galenmereth. Loading order isn't a problem because it can be manually specified in a config file.

@Landazar

It's possible to do this in MV by just having a plugin that loads other .js files in some other folder(s) in your project, but that would prevent them showing up in (and being managed by) MV's plugin manager, because it doesn't search the folder recursively. I'm trying to find out if anyone's ever managed to get around that problem and have plugins in subfolders still be recognized by MV, or found some alternative solution.
 
Last edited:

LTN Games

Indie Studio
Veteran
Joined
Jun 25, 2015
Messages
704
Reaction score
631
First Language
English
Primarily Uses
RMMV
Not exactly sure if this is what you're looking for but I have created a CLI tool for the same type of workflow. I create plugins in multiple files, usually separated by class name and my CLI utilizes rollupjs to bundle all files into one. Feel free to have a look, it's open source and MIT and we'll documented, so you should be able to get started in a flash to try it out.. https://fenixenginemv.gitlab.io/fenix-cli/
 

Kaelan

Veteran
Veteran
Joined
May 14, 2012
Messages
797
Reaction score
537
First Language
Portuguese
Primarily Uses
RMMV
That sounds promising, I'll take a look!
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

He mad, but he cute :kaopride:

Our latest feature is an interview with... me?!

People4_2 (Capelet off and on) added!

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.
Can someone recommend some fun story-heavy RPGs to me? Coming up with good gameplay is a nightmare! I was thinking of making some gameplay platforming-based, but that doesn't work well in RPG form*. I also was thinking of removing battles, but that would be too much like OneShot. I don't even know how to make good puzzles!

Forum statistics

Threads
106,035
Messages
1,018,459
Members
137,821
Latest member
Capterson
Top