MZ Comparison of API Doc with js folder

Greetings, it's me again. I am in process of learning JavaScript and the RMMZ engine.
I would like to inquire. When I compared this doc API page with the rmmz_sprites.js in the js folder of the engine,
I found out the codes aren't the same. I used Visual Studio Code to open that doc API..
Why is that? Does that mean anything crucial with game programming with MZ engine?
How much not the same? The core scripts get some degree of changes with almost every version update, who created that page and has it been updated at all?

I would just read out of the actual files your game is using.
I don't actually know how much, I read until line 20+ all the way it isn't the same.
Is this a way codes also work in software? they don't have to be accurately precise?
Is this a way codes also work in software? they don't have to be accurately precise?
I...really don't understand the question. Of course code has to be precise and accurate. If that API doesn't match the code in your js folder, you can't use it as a reference.

Did someone tell you to use this Web site? Why don't you just use the code that your game is using? I'm kind of confused by the entire situation.
Ohh, lemme rephrase.. I'm asking why the code in the sprite tab in the RMMZ API doc site, and the code in rmmz_sprite.js in the js folder of the engine, isn't matching with one another.
Functionally, an API is designed to only list functions that are externally accessible to programmers who are making extensions to the software. So, like I said in my very first post, "who created that page?" - the front page says it was automatically generated by a piece of software.

So that software (or someone configuring it) made decisions about which functions in the engine an external programmer should have access to, which is a bit silly because someone writing a plugin for MZ might need the entire information available in the source code.

Which brings me back to not caring - you have the files in your project directory, what use is there for a Web site that just displays the same thing (except pared down).
I'm asking why the code in the sprite tab in the RMMZ API doc site, and the code in rmmz_sprite.js in the js folder of the engine, isn't matching with one another.
because they are for different versions of the code, and the developer site has not been updated in a while. And that last one is because that developer site (and this entire website) are NOT maintained by the official developers of the program.

Especially the latest update to 1.6.x (the last update where the people of this site even made a news post about the update was 1.5.0) was not done with the people of this website (Degica/Komodo), who were the distributors but not programmers.

So simply ignore the developer site you found whenever it is different from the current code.

Additionally,
I am in process of learning JavaScript
You cannot learn Javascript programming by following the MZ engine - that engine is too specialised to do that without already having a good understanding of what programming is.

If this is the first time you try to learn any programming language, then you need to start with a general tutorial going over the basics (of programming (which have nothing to do with RMMZ), before you have even a chance of understanding MZ code.
So simply ignore the developer site you found whenever it is different from the current code.

Additionally,

You cannot learn Javascript programming by following the MZ engine - that engine is too specialised to do that without already having a good understanding of what programming is.

If this is the first time you try to learn any programming language, then you need to start with a general tutorial going over the basics (of programming (which have nothing to do with RMMZ), before you have even a chance of understanding MZ
code.
Splendidly strict spoken, these are what required of me to hear. It's very rare to see someone teaching not beating around the bush, but go straight forward right off the bat. I won't ask how to learn JavaScript for RMMZ usage as I've known the location of JavaScript tutorials in this forum. But I would like some other directions
But I would like some other directions
and what kind of directions?

we neither know how much you already know of programming, nor how much time you want to invest and where you want to end up/what you want to use the programming knowledge for.

There is a reason why programming is available as a multi-year university course as well as tiny youtube courses for a week to watch through. Of course the quality of one week youtube is neglectable to four years university, but not everyone can afford going to university.

and you got vague answers before because you don't even know what to ask for.

I strongly suggest you take a few hours to just think about your final goal and how much time (and money) you can invest to get there. If you can then explain that to us, then we can tell you where to start going toward that goal.

But there are no shortcuts in programming. If you take too many shortcuts, you'll end up as a cargo-cult-type programmer. Read the excerpt in the linked post:
I'm zero in programming.
Yes there's no shortcut to programming. Just like every other endeavours towards success.
Thank you, I needed that link.
My final goal, eh?
Well. To be a polymath game designer in video game industry.
I'm already on course towards going to university to take a degree in game development, or computer engineering. I'm currently studying for a pre-u exam as a private candidate, before I can take on a degree. I bought more than a dozen of books for my study for the exam. I've got myself a brand new laptop, so that I can learn preemptively. I downloaded resources online for programming, and save YouTube videos.

Besides housechores, exercise and gardening with my mom and doing errands for my father and mom, that's literally all I do - study and RPG Maker.

About skills. As you already know I am zero in programming. I'm average in writing. I'm okay with drawing. I'm acquainted with music. All these I mentioned as RPG Maker after study session.

In the video game industry, I would like to kickstart and nurture a great RPG franchise that rivals Final Fantasy, Pokemon, Dragon Quest, and Warcraft.

And in the RPG Maker scene?

To be expert in RPG Makers, from 2k to MZ, to contribute to support sections of this site, and I would like to program my own roleplaying game creation engine.

🙂
In that case, I suggest you start with pure eventing - ignore all plugins and the script command in the event section, never even trying to learn javascript.

That has several reasons:

First, logic and logic sequences are the same no matter where, and the events have enough of a basic programming structure that you can learn how to handle computer logic without anything else interfering.

Second, the most important part of professional game develpment is the ability to limit yourself.
A hobby programmer can decide to waste years on optimizing their dream game - because they have a different job or source for their food.
But in professional game development, you have a limited budget or time before you are fired if you don't complete the project part in that time.
Limiting yourself to eventing first gives you the option to learn how to do things without wasting time for nothing.

Third, for a professional developer you need to learn how to finish a project. Bughunting and balancing will take a lot more time than most hobbyist can even guess. The sooner you learn to budget your time correctly into the project phases of design - development - bughunting - balancing, the better it will be for your future career.

My suggestion is the following roadmap:
1) take a month to really analyse the RPG-Maker engine and eventing (assuming you haven't done that yet) and test the various parts in a scrap game that gets deleted after that month.
2) set your target as a small game of one or two hour maximum playing time without any script or plugin use, just basic engine. Just for your info: on average you'll need 100 working hours for one playing hour at minimum, especially if you are a beginner.
3) finish that game, without adding anything you haven't thought of at the beginning. This includes bughunting and balancing (looking for playtesters etc.)

That will help you a lot - even your future professors at university will know from experience that the bughunting and balancing part is the most time consuming, and having a finished game will show them a lot more than claims of "I have already 3 hours playtime in my planned 20 hour game."

Especially as starting a project is much easier than finishing the (boring and repeating) balancing playtests at the end. Because you won't understand what that means until you have played your own finished game twenty or thirty times from start to finish just to test the balance of a change.


EDIT: And I suggest you follow the links to the tutorials in my signature - they are old, but will still teach you a lot even if some details for VXA are no longer the same in MV/MZ. Just ignore the last one about scripts for VXA.
Saved and Bookmarked this thread!
I'm taking heed and follow your guidance!

Original thread: https://forums.rpgmakerweb.com/threads/comparison-of-api-doc-with-js-folder.154252/