A couple problems and solutions for beginners, modifying a script and debugging...

astracat111

Astra Cat
Veteran
Joined
Jun 16, 2015
Messages
207
Reaction score
117
First Language
English
Primarily Uses
Hey there, I'm sure I'm late to the party with these two problems.

I have just started scripting for RPG Maker MV and I've just noticed that, for some reason with me, after I've modified my script and saved it using Notepad++ or SublimeText, before running the game again in rmmv, I have to re-open the plugin manager, click on the script to check it's parameter values, then close the plugin manager and run the game. 

 

I am using the Steam version of RPG Maker MV. I'm not sure why it's this way.

On debugging javascript I couldn't find any resources on this but...You have to hit F8, then open up sources, click the + sign under Watch Variables on the right hand side and type in the variable, string or array name, then hit enter. You may then have to drag the panel out to the left if it's a long string. Arrays will drop down and have values that you can then grab in your script.

For debugging, you can also use 

console.log(variableNameGoesHere);Then just put in your variable, string, or array name in the paranthesis. Then, start your game up and hit F8. You may have to click the arrow next to the value to drop it down and examine it's contents.

As a noob figuring this out, I'm gonna post more problems and solutions so people starting out can see this topic.
 
Last edited by a moderator:

Iavra

Veteran
Veteran
Joined
Apr 9, 2015
Messages
1,797
Reaction score
863
First Language
German
Primarily Uses
Personally, i always playtest in Chrome and don't use the "official" Playtest function at all. For this you need to start Chrome like this:

chrome.exe --allow-file-access-from-filesAfterwards, open the index.html of the game in Chrome and open the console with F12. F5 to reload the game and all plugins.Regarding the plugin manager: You only need to do this, if you changed something about the parameters, since they are stored in the file "js/plugins.js" and only update after visiting the plugin manager.
 

astracat111

Astra Cat
Veteran
Joined
Jun 16, 2015
Messages
207
Reaction score
117
First Language
English
Primarily Uses
Now one thing I've been searching around for is a good guide that goes through and describes how RPG Maker sprite objects work. For me it's usually that I learn through Youtube tutorials...

Going to keep searching around or see if I can figure it out myself by looking through the code.
 

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

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,865
Messages
1,017,059
Members
137,575
Latest member
akekaphol101
Top