MV I'm trying to learn to make my own plugins for my own game, however, I can't seem to understand how to use javascript for making anything...

I'll explain. I'm a solo dev and RPG maker MV is really easy for me to use, however, when it comes to javascript, even a plugin, I can't understand anything, even with a tutorial. I should mention I use linux mint and so I have a built in javascript maker (a good old notepad?)

I tried looking up plugin templates and even reading the existing one I have, nothing.
I should mention that the reason I want to make my own plugins is because I don't want to rely on existing ones. There's nothing wrong with relying on existing ones, however, I want to know javascript properly for plugins of various kinds, such as a sketchpad (drawing app), games within games, using a cursor like a point and click game and even make pokemon like plugins for mv.

Please be patient with me, since I have a hard time understanding tutorials using text, I work best with videos but even videos which I tried to watch I didn't understand how they did it with javascript.

I also want to learn javascript because to be honest, programming for game development is really fun for me, even though it's hard sometimes.
creating a sketchpad does exist and can be quite complicated to understand
if your new.

if something does exist, I would rather either use it to save time from making it.
but you can study how its used, how its linked, what windows is used to make
things work (window base, window selectable, window command).

each window has its own property with a list of function you can use,
so don't make it harder than it needs too.

it isn't always easy as it can be small, or long, so start slow.

games inside games could be evented, depending what it is.
creating a sketchpad does exist and can be quite complicated to understand
if your new.

if something does exist, I would rather either use it to save time from making it.
but you can study how its used, how its linked, what windows is used to make
things work (window base, window selectable, window command).

each window has its own property with a list of function you can use,
so don't make it harder than it needs too.

it isn't always easy as it can be small, or long, so start slow.

games inside games could be evented, depending what it is.
Yeah, good idea, also I found a guide which explains what the windows do in relation to rpgmaker and Javascript.

I hope this helps.
Remember to use the help file with the F1 key in RPG Maker. There is also a link to the MV help here or MZ help here. There is also the MV API or MZ API here. There is a fantastic compiled list that Archeia compiled list here. It is much easier for finding specific calls in many instances. There are also many specifc threads.

Programming with RPG Maker MV or MZ is different. I had my MCSD in HTML5 from Microsoft. I already had a background, but this is a bit different. If you don't, there are many courses that can teach you the basics of Javascript: Coursera, FreeCodeCamp, Udacity, Udemy, or W3schools. Archeia and I have a thread here to teach people how to learn Javascript.

After you know the basics, you need to know how to attach it to RPG Maker. The Unpro has a series on how to make plugins. Quxios also has a tutorial to get started. The company did release a tutorial a while back that we can find in WaybackMachine.

My simple plan would be:
  • Read the help file
  • Read the API
  • Check Archeia's thread on learning Javascript
    • Check Unpro's playlist on plugin making
  • Pick a course from the list
  • Start simple with a Hello World, attribute modifier, or item creation in RPG Maker
Edited: updated for clarity
Remember to use the help file with the F1 key in RPG Maker. There is also a link to the MV help here or MZ help here. There is also the MV API or MZ API here. There is a fantastic compiled list that Archeia compiled list here. It is much easier for finding specific calls in many instances. There are also many specifc threads.

Programming with RPG Maker MV or MZ is different. I had my MCSD in HTML5 from Microsoft. I already had a background, but this is a bit different. If you don't, there are many courses that can teach you the basics of Javascript: Coursera, FreeCodeCamp, Udacity, Udemy, or W3schools. Archeia and I have a thread here to teach people how to learn Javascript.

After you know the basics, you need to know how to attach it to RPG Maker. The Unpro has a series on how to make plugins. Quxios also has a tutorial to get started. The company did release a tutorial a while back that we can find in WaybackMachine.

If you want simply, this would be my plan:
  • Read the help file
  • Read the API
  • Check Archeia's thread on learning Javascript
    • Check Unpro's playlist on plugin making
  • Pick a course from the list
  • Start simple with a Hello World, attribute modifier, or item creation
Thanks for the advice.
And keep in mind that learning to code is a journey, don't get frustrated with yourself if you don't understand it right away.
And keep in mind that learning to code is a journey, don't get frustrated with yourself if you don't understand it right away.
Thanks for the advice, I admit I have an issue with learning journeys if I don't understand the beginning right away.
Also, I learned most of what I know from w3schools.com. I would highly recommend completing at least some of the Javascript course.
Some masters have already answered you here. I don't have much to contribute, but I'd just say that if you have a little time, start with HTML and CSS. This will give you a familiar foundation with lines of code and some understanding of the elements you can manipulate with JavaScript. It's absolutely not mandatory, but the more you learn about languages, the easier it becomes to understand new concepts and applications.

Start slowly, start small, but don't ever appear shy. Never be shy about asking questions or showing your projects!
Some masters have already answered you here. I don't have much to contribute, but I'd just say that if you have a little time, start with HTML and CSS. This will give you a familiar foundation with lines of code and some understanding of the elements you can manipulate with JavaScript. It's absolutely not mandatory, but the more you learn about languages, the easier it becomes to understand new concepts and applications.

Start slowly, start small, but don't ever appear shy. Never be shy about asking questions or showing your projects!
Thanks for the advice. I remember back then I used to dabble in both, it had a learning curve for me.
Also, I learned most of what I know from w3schools.com. I would highly recommend completing at least some of the Javascript course.
Thanks
I should update ya'll that despite having a very hard time with javascript, I'm still not giving up.
I'm just trying to make a whole small app for drawing.
Some masters have already answered you here. I don't have much to contribute, but I'd just say that if you have a little time, start with HTML and CSS. This will give you a familiar foundation with lines of code and some understanding of the elements you can manipulate with JavaScript. It's absolutely not mandatory, but the more you learn about languages, the easier it becomes to understand new concepts and applications.

Start slowly, start small, but don't ever appear shy. Never be shy about asking questions or showing your projects!
Well, it depends; HTML and CSS have nothing to do with plugin development in RPG Maker (unless you are doing some really crazy stuff).

The best to learn is probably a mix of reading tutorials here in the forum (they are specialized on plugin development which is important) and reading some plugins from various (not just one) plugin creators, the more varied your sources are, the better you can see the standard code conventions and determine which are good and which are not so good progamming styles.

Maybe start with something easy, like
- adding a shutdown button to the title screen
- adding a credits page to the title screen (my solution for some inspiration: https://play.aerosys.blog/lisa/js/plugins/MK_Credits.js)
- making a debug menu that also changes party members, items, gold...
Well, it depends; HTML and CSS have nothing to do with plugin development in RPG Maker (unless you are doing some really crazy stuff).

The best to learn is probably a mix of reading tutorials here in the forum (they are specialized on plugin development which is important) and reading some plugins from various (not just one) plugin creators, the more varied your sources are, the better you can see the standard code conventions and determine which are good and which are not so good progamming styles.

Maybe start with something easy, like
- adding a shutdown button to the title screen
- adding a credits page to the title screen (my solution for some inspiration: https://play.aerosys.blog/lisa/js/plugins/MK_Credits.js)
- making a debug menu that also changes party members, items, gold...
Thanks for the clarification! Also yeah, maybe I should start simple before making a sketchpad plugin....
I'll explain, sorry if I'm spamming this, it's just I'm stressed and really struggling with this. I want to learn javascript but all I managed was to only make "change.log ("hello world")" one and nothing beyond.... Even then it's debatable.

Like, how long is it meant to be? How do you plan this? Where do I exactly begin with the simple plugins even?
I feel so stupid asking these banal questions, it's just I'm this terrible with coding languages....

Tutorials in general I found were with html and css, gone, or just not helpful for a dummy like me. Like, I know how to use rpg maker mv yet I can't seem to even comprehend the basics of javascript, even down to the terms...

I'm stuck in tutorial hell and I don't seem to find an escape. Sorry for spamming these posts. I'm this clueless.
Homie, didn't you just ask about learning JS yesterday? How fast are you expecting to learn it? I can assure you that anything you try to learn is going to take more than a day.

Follow the myriad of tutorials provided to you and... I don't know... Maybe give it more than just a day?
Homie, didn't you just ask about learning JS yesterday? How fast are you expecting to learn it? I can assure you that anything you try to learn is going to take more than a day.

Follow the myriad of tutorials provided to you and... I don't know... Maybe give it more than just a day?
I did, that's why I apologized for spamming...
It's just that I'm legit aimlessly going with this because it feels like I don't even know what to do, or how to do it for rpg plugins.
Well, this easily could have been rolled into your other post.
Instead of neurotically worrying about how quick you are learning, take some time with it.
Learning JS in general will help you understand structure and concepts that are applicable widely. Then you can begin learning specifics about RPG Maker. I do believe @Trihan has a whole tutorial series for JS in RM.

Regardless, instead of panicking about how quick you are learning, just follow the courses or tutorials for now, even repeating some lessons if necessary so you can grasp the basics. At least give it a month before deciding whether you are learning or not.
Well, this easily could have been rolled into your other post.
Instead of neurotically worrying about how quick you are learning, take some time with it.
Learning JS in general will help you understand structure and concepts that are applicable widely. Then you can begin learning specifics about RPG Maker. I do believe @Trihan has a whole tutorial series for JS in RM.

Regardless, instead of panicking about how quick you are learning, just follow the courses or tutorials for now, even repeating some lessons if necessary so you can grasp the basics. At least give it a month before deciding whether you are learning or not.
Thanks for the advice, I'm used to learn quickly
I don't want to sound gate-keeperish, but the truth is, programming is super-hard to learn.

I learned programming while I studied computer science, and during this time, I also worked part-time as a programmer - that means, I always had a mentor who supervised me and gave me tips. There are many things that the usual "learn Javascript" tutorials on YouTube will not show you but are essential to create plugins or programs that not only work, but also work when your game has plugins from other creators.

Writing plugins defensively is essential, but takes a long time to learn.

Even after years of developing plugins for RPG Maker, I learnt new things and conventions that exist only in RPG Maker world that were crafted by experience from the community.

Original thread: https://forums.rpgmakerweb.com/threads/im-trying-to-learn-to-make-my-own-plugins-for-my-own-game-however-i-cant-seem-to-understand-how-to-use-javascript-for-making-anything.180570/