Anchovy

A Fish Called Amy
Veteran
Joined
Jan 9, 2019
Messages
40
Reaction score
26
First Language
English
Primarily Uses
RMMV
Thank you. This is the most understandable js has been for me so far.
 

Kazami

Villager
Member
Joined
Oct 24, 2015
Messages
13
Reaction score
5
First Language
German
Thanks KostasVS this really helped me alot, would be really nice when you could explain more.
 

KostasVs

Warper
Member
Joined
Jan 1, 2019
Messages
3
Reaction score
1
First Language
Greek
Primarily Uses
RMMV
Thanks KostasVS this really helped me alot, would be really nice when you could explain more.
Happy I helped! My post, combined with the original post, pretty much explains all the essentials.
Is there something I should elaborate on?
 

Bridgeman

Veteran
Veteran
Joined
Aug 10, 2014
Messages
121
Reaction score
18
First Language
Dutch
This is a very good template, however the parameter as of now does nothing. Down near the bottom you talk about calling parameters that the user can edit, do you have any plans to explain how that is done? I'd love to learn that.
 

KostasVs

Warper
Member
Joined
Jan 1, 2019
Messages
3
Reaction score
1
First Language
Greek
Primarily Uses
RMMV
This is a very good template, however the parameter as of now does nothing. Down near the bottom you talk about calling parameters that the user can edit, do you have any plans to explain how that is done? I'd love to learn that.


Here is an example for getting a number and a string parameter.


Save it as ParameterTestPlugin.js (or rename accordingly).

JavaScript:
/*:
 * @plugindesc Short description of plugin.
 * @author Your name
 *
 * @param My Number
 * @desc Description of this parameter.
 * @default 0
 *
 * @param My Text
 * @desc Description of this parameter.
 * @default hello
 *
 * @help Long description goes here,
 * can be several lines
 */
(function() {

    var parameters = PluginManager.parameters('ParameterTestPlugin');
    var myNumber = Number(parameters['My Number'] || 0);
    var myText = String(parameters['My Text'] || "hello");
    console.log ("A Number = " + myNumber + ", text = " + myText);

})();

Add this plugin and press F8 ingame to open the console and see the message.
 

Riazey

Master of None
Veteran
Joined
Feb 27, 2014
Messages
167
Reaction score
251
First Language
English
Primarily Uses
RMMV
This dropbox no longer works qvq
 

stainer111

Warper
Member
Joined
May 23, 2020
Messages
4
Reaction score
1
First Language
Filipino
Primarily Uses
RMVXA
the link doesn't work anymore. maybe someone could re upload it?

thanks!
 

ADMtn

Treasure Hunter
Veteran
Joined
May 23, 2020
Messages
144
Reaction score
94
First Language
English
Primarily Uses
RMMV
Edit: Never mind. Spent weeks learning JS and looking at other plugins as examples. That's the way to go.
 
Last edited:

ferallag

Veteran
Veteran
Joined
Aug 5, 2020
Messages
53
Reaction score
5
First Language
english
Primarily Uses
RMMV
guys ... where do you find all the classes and script calls for MZ Java script... i looked everywhere ... how do you know what calls which Param?
like if i want to edit the time progress system ... how would i know whats the calls for it?
where is the manual!!!!
 

kiriseo

Veteran
Veteran
Joined
Oct 27, 2015
Messages
245
Reaction score
84
First Language
German
guys ... where do you find all the classes and script calls for MZ Java script... i looked everywhere ... how do you know what calls which Param?
like if i want to edit the time progress system ... how would i know whats the calls for it?
where is the manual!!!!

When you're creating a new project you can find all javascript files like "rpg_objects.js" and "rpg_scenes.js" in your projects folder in the "js" directory.

@casper667 split the MZ files so that each class has it's own file and postet them here
 

EdenGenesisWs

Villager
Member
Joined
Apr 10, 2020
Messages
24
Reaction score
4
First Language
French
Primarily Uses
RMMZ
Can you re-upload the template? This is no longer available on Dropbox.

Thank you in advance.
 

studwb22

Veteran
Veteran
Joined
Dec 30, 2020
Messages
52
Reaction score
13
First Language
English
Primarily Uses
RMMV
Is this a dead thread, I saw that the template was removed from dropbox as well and it seems to have been down for quite some time. Anyone have it that could re upload?
 

RyanYe

RPG Game Lover
Veteran
Joined
Dec 31, 2020
Messages
77
Reaction score
12
First Language
English
Primarily Uses
RMMV
hi , your "Download my template" part link is now invalid, please update, thx!
 

Latest Threads

Latest Profile Posts

One thing those jp developer still get wrong about boob physic is that... men's muscly hard pecs can jiggle too.
Definitely glad I haven't released a few of my plugins that are technically done. As I learn more, I find ways to make my code more efficient, and in one case so far, discovered an existing function that did EXACTLY what I created my own function to do.
So I was kinda recommended a manga to learn a few drawing tips, I dunno if it will actually work, but I'm liking the story lol
M745veO.jpg
RPG Maker News #12 | Control Zooming, Customize Bush Effect, Causality & Happy Bones on Steam
Episode 16 let's go! We're making an RPG in RPG Maker MZ! This week... even more mapping, we're almost done with all the mapping for our first dungeon!

Forum statistics

Threads
110,448
Messages
1,053,400
Members
143,534
Latest member
erryopo
Top