Wouldn't MZ be Far Better with A More Modern Programming Workflow?

MZ has been missing a lot of programmer workflow features, if not being very lacking in it (unit-testing, IDE support, and most basic of all, multi-file scripting support) that other engines have had for decades. Said multi-file scripting support has been around since before the mid-2000s, yet even RMXP practically forced coders to code monolithically.



As a programmer, I've been pretty unhappy with this iteration of the engine due to said missing or badly supported features; as one who already has MV, I don't think the current asking price is reasonable.



Coding-wise, what else do you think MZ could use to be more modern and practical?
Yes to all of the above.

If the next iteration of RM isn't a radical step in the right direction in the backend, I'll probably be bowing out of RPG Maker.

My JABS plugin is a living and breathing demonstration of why RM should natively support basically all the stuff you've listed, most especially multi-file (a subfolder for each plugin?) support. I'm also pretty surprised that when MZ came out in the late summer of 2020(!!!) it was still using basically the same underlying core code that MV uses- with the exception of their borked implementation of the particle engine for animations.

Why didn't they at least rewrite it into TypeScript?
The object language and architecture of Rpg maker is pretty obtuse and unintuitive. I've started using a window text prompt + eval() in-game to investigate object keys, properties, and methods.

Like, to get the coordinate of a snowflake generated by the Weather Effect, it's like:
Graphics._app.stage._spriteset._effectsContainer.children[1].x
I spent a whole afternoon trying to figure that out. But doing anything with the Effekseer's Particles? That's a completely different monster I've yet to tackle.
Yes, the MV API does indeed leave a lot to be desired in terms of design... One way I'd improve it would be to have more events plugins can listen in on, so they can respond to certain things happening. For example, damage being dealt or an enemy taking a critical hit.

It's not good to make your users have to alias your funcs just so they can set up responses.

Original thread: https://forums.rpgmakerweb.com/threads/wouldnt-mz-be-far-better-with-a-more-modern-programming-workflow.136199/