RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
Separated MV .js Functions

0 Members and 1 Guest are viewing this topic.

*
Rep:
Level 82
Those who might be looking to scripting for MV might realise that the javascript files like rpg_object.js or rpg_manager.js are sometimes just 1000s of lines of functions and that they can be a little annoying to have sift through to find whatever functions it is that you want to work with.

I've taken the liberty to separate these out into smaller .js files. You won't use these in MV itself, but if you wanted to look up the relevant prototypes and whatnot for the Game_Enemy function you can just open up game_enemy.js in the objects folder and get to looking at only that function. Same thing for other functions like bitmap, window_options and such.

I haven't split the libs scripts (pixi, lz_string or fpsmeter).

This can be found in the attachment. If I seem to have missed anything, just let me know.

I find that these are quite useful in a text editor like Notepad++ (free and handles JS just fine) or Sublime Text (not free unless you like constant purchase reminders) as you can build up a project or workspace and have all of the .js files available quite handily, and split windows are a great bonus.

If any tips are needed for setting those up are wanted, I can add in a couple of tutorials for doing this (for npp or Sublime; other editors you are on your own).
(Why do I always feel like it's the end of the world and I'm the last man standing?)

*
A-pow 2015
Rep:
Level 81
2014 Best RPG Maker User - GraphicsFor frequently finding and reporting spam and spam bots2013 Most Unsung MemberSecret Santa 2013 ParticipantFor taking arms in the name of your breakfast.How can I help you? :Da^2 + b^2 = c^2Secret Santa 2012 ParticipantSilver - GIAW 10Silver - GIAW 9Bronze - GIAW HalloweenGold - Game In A Week VII
Pinned for usefulness. Great work as always, Logan. :D

*
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
Rep:
Level 96
&&&&&&&&&&&&&&&&&&&&&&&&&&&
GIAW 14: 2nd Place (Hard Mode)2013 Zero to Hero2013 Biggest Drama WhoreParticipant - GIAW 11Secret Santa 2013 ParticipantFor taking arms in the name of your breakfast.
I appreciate you. You're doing beautiful, and you are beautiful.
I love you.
&&&&&&&&&&&&&&&&