The best course to take for learning JS specifically for RPG Maker MV

So, I understand that learning Javascript as a whole from the ground up can only help and add to my knowledge base, however I was wondering what the most efficient way to learn Javascript is for someone that only needs it for RPG Maker (MV) right now. I'm actively in the middle of a game that I expect to take up a large chunk of the next year or more of my life, so I just want to limit "mistakes" such as approaching it wrong and possibly spending months on parts of the language that do very limit to contribute to the game making aspects of it.

Of course, I'm not sure if that's even possible- The response might be that the only way to learn it is from the ground up and the game making portion comes later, but that is why I am asking, as I simply don't know.

If you were to relearn Javascript from the ground up right now with the goal being to study as efficiently as possible for RPG Maker game development, what path would you take? Books, websites, courses, etc.

Thank you in advance for your help and advice.
Trihan has a MV guide on Javascript but to be honest I never read it and learned by just opening the console and typing in various scripts. For example, I can type in $gameActors and it will show all the actor data or $gamePlayer and it will show all the player data. You can also type in script commands the same way you would put in an event page
1741290605471.png

The console is your sandbox to experiment with scripts and also the go-to place for bug testing.

As far as learning Javascript goes, I would just know what the different data types are: integers, floats, booleans, strings, arrays, objects, etc. When you know what type of data you're looking at or dealing with you can then Google the javascript methods for that data type to manipulate the game data however you want.

For example control variables are integers by default (although you can set them to other data types through script), Control Switches are booleans, the game player and map events are objects, etc.
Trihan has a MV guide on Javascript but to be honest I never read it and learned by just opening the console and typing in various scripts. For example, I can type in $gameActors and it will show all the actor data or $gamePlayer and it will show all the player data. You can also type in script commands the same way you would put in an event page
View attachment 333486
The console is your sandbox to experiment with scripts and also the go-to place for bug testing.

As far as learning Javascript goes, I would just know what the different data types are: integers, floats, booleans, strings, arrays, objects, etc. When you know what type of data you're looking at or dealing with you can then Google the javascript methods for that data type to manipulate the game data however you want.

For example control variables are integers by default (although you can set them to other data types through script), Control Switches are booleans, the game player and map events are objects, etc.
Thank you for the response, Aqua!

Just curious, though, was is like a multi-year process of you learning that way slowly, bit by bit? Or did it come quick?

I can understand what you mean on a general level, as I have studied certain things in my game and used them to figure out how other similar things worked by matching what the other function did with common sense, basically.

I just want to take an efficient route and it seems like there's so much to know! Thanks for the suggestion.

EDIT: As a side note I just spent some time trying to figure out if _actionMovement meant the action of movement or a faster type of movement such as running but I couldn't find anything about it on google lol. Although it does bring up Chrono Engine when I look it up, which I have, and Altimit movement, which I don't have but you've mentioned to me before but I never looked into because I believe it allows 8 way movement but I don't have the sprites for the other 4 directions.

So, I didn't find out what it is, but it was fun researching and can see how you learned that way lol. Gonna look into that guide a bit, too.
Well I also have a CIS degree so I had some technical background but that was a decade ago and I only worked briefly in software on the business side, not as a programmer. I learned a lot more programming working on my game than I did in my degree or at work (where I never used it).

If you want to know where an unrecognized piece of data is from (like a property on an object, e.g. the player), open your js folder and type in that data in the search field
1741630274873.png


And yes, CrossEngine is basically Chrono Engine on steroids (Chrono Engine + Altimit and a bunch of new features/patches)

Original thread: https://forums.rpgmakerweb.com/threads/the-best-course-to-take-for-learning-js-specifically-for-rpg-maker-mv.176044/