Where to find documentation/tutorial on RMMV javascript engine?

I am a newbie getting started with RMMV and would like to do some javascript work. I've been looking at various plugins and learning how things work, but it would be great if there was some detailed documentation on how the engine works. Is there a book or some other documentation explaining things?

For example, it would be neat to understand things like:

1. How do I override the movement for events?
2. Where do I put my own function if I want some javascript code executed every frame?
3. How does the battle engine work and what are useful javascript hooks I can use to modify it?

Thanks in advance
none exists that I'm aware of.

I learned the MV structure by studying the MV structure. The easiest way was to look at the event commands and the code behind them, which reaches back into the database structure and the game objects that are built from them.
I'm just going to be straight-up about it:
  • There is no documentation from the MV devs about the game code in any regard whatsoever.

How to use the editor itself (i.e. how to place events, how to modify passability in a tileset, etc.) is all documented in the Help section of the editor, but as far as how the game code actually runs, there is nothing.

A community member has documented the classes, methods, variables, etc. of the base code here.

For your specific questions:
  1. That's a bit general, there would be several answers but if you could explain more your goal that would help
  2. While the game is running there is always a current Scene. The Scene inherits from PIXI.Container, if you know PIXI at all. Each Scene_Something (like Scene_Battle, Scene_Menu) has an "update" function that runs every frame (60 fps)
  3. Understanding the battle flow
    • Basic battle flow
    • How damage is calculated
    • There aren't any "hooks" in the way that you're probably thinking of it. You just have to find the relevant function and modify it. For example if I wanted to change how much damage a critical hit was, I would look for the function that calculated the critical hit damage
The people that have made plugins have mostly done it by reading the code itself to understand what it is doing
Your best bet is to define a particular goal (for example build a completely custom menu), search for tutorial online, and if you still have trouble ask for help here on this forum.

Original thread: https://forums.rpgmakerweb.com/threads/where-to-find-documentation-tutorial-on-rmmv-javascript-engine.106287/