Fair point, guess I'll suck it up and be patient
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...
Learning JavascriptI just started by editing existing plugins. There are already thousands of plugins. Most things have already been done 90%+ and what's missing can be accomplished with a few tweaks. Have the console open and type scripts in there to see what they do in game for testing.
But what about crediting post editing? I hate relying on others plugins.... how do you credit? I make a monetized R18 game after all
I leave the headers with all the existing credits and just add a line saying I edited it to add or change something.
Ok, thanks
I'd definitely recommend checking out my Jump into Javascript series; it's aimed at people who are new to understanding the code and writing plugins, so it always helps to know how someone who's completely new to this responds to it.
I'm not sure what you mean by "how do you credit?" but in the R18 game I work on, we have a CREDITS.json file in the root folder with all the names/things used and then when the game is completed there's a credits plugin we wrote that loads the file, parses the objects, and outputs a scrolling message with the contents.
Or if you mean just in terms of edits to plugin files themselves, as @AquaEcho said, leave the original intact and add a bit after saying that you changed things.
I'm not sure what you mean by "how do you credit?" but in the R18 game I work on, we have a CREDITS.json file in the root folder with all the names/things used and then when the game is completed there's a credits plugin we wrote that loads the file, parses the objects, and outputs a scrolling message with the contents.
Or if you mean just in terms of edits to plugin files themselves, as @AquaEcho said, leave the original intact and add a bit after saying that you changed things.
I'm currently reading the series using internet archive and the thread you posted.
@PoopsyTheDuck
perhaps the following will help you understand what causes at least some of your problems:
There is a difference between learning programming (the skill itself) and learning a programming language (like Javascript, C, Pascal or whatever).
A lot of the tutorials out there are trying to teach a (programming) language only, expecting you to already know how to program something. And those tutorials are difficult for people who have not yet learned how to program with another programming language.
Those tutorials are almost worthless to someone like you, you'll need to check each tutorial as to whether it expects knowledge of programming or not first.
The skill programming itself mostly consists of mathematics and logical operations. If you can handle that, learning programming and later multiple programming languages should be easy.
But if you had problems with math in school, then it will be more difficult to learn that for you.
perhaps the following will help you understand what causes at least some of your problems:
There is a difference between learning programming (the skill itself) and learning a programming language (like Javascript, C, Pascal or whatever).
A lot of the tutorials out there are trying to teach a (programming) language only, expecting you to already know how to program something. And those tutorials are difficult for people who have not yet learned how to program with another programming language.
Those tutorials are almost worthless to someone like you, you'll need to check each tutorial as to whether it expects knowledge of programming or not first.
The skill programming itself mostly consists of mathematics and logical operations. If you can handle that, learning programming and later multiple programming languages should be easy.
But if you had problems with math in school, then it will be more difficult to learn that for you.
Wow, first, yeah, I'm not the best at math, however, thanks for the clarification! So where do I learn programming itself? What to look up?
You learn about circuitry and logic gates and start with straight binary. If you're feeling extra fancy you can code in hexadecimal instead.
Seriously though if you bave a basic grasp of algebra you should be able to pick up (modern object oriented) programming fundamentals.
I technically know algebra, it's just I really struggle with the Javascript language. Something doesn't connect in my brain.
Like, how do you make games on that thing?
Or how to make interactive elements interactive? I have only a notepad and RPG maker MV to test things out so I need to know the plugin basics.
Thanks for all the advice and support in general. I want to know how to make it work specifically for RPG maker. I looked at the sketchpad plugin for inspiration, I felt lost, not because I don't know math, more like I don't see the logic in fhe madness.
You're trying to swim in the deep end of the pool too fast. Do some tutorials on w3schools or similar to learn how to declare variables holding the basic data types and the methods to manipulate the data.
Once you know and can recognize the types of data you can graduate to looking at plugin files and see how they're declaring and manipulating different types of game data.
Once you know and can recognize the types of data you can graduate to looking at plugin files and see how they're declaring and manipulating different types of game data.
Oh, makes sense.
It's basically the same place, just a different focus.
after all, you can't learn to read and write without knowing a language, and the same way you can't learn to program without a programming language.
As I already mentioned above, there are tutorials that are assuming you know how to program, and there are tutorials that do not assume that but teach programming at the same time they are teaching the programming language.
Those are the ones you have to look for, but both are listed as learning a programming language.
one way to see the difference is to look at the entire course. As said by others, you can't learn programming in a day or two - in a university, it's usually a full semester of three hours a week just for the basics.
Additionally, programming is a practical skill - you can't learn it by listening to tutorials, you need to use the skill for yourself by working and doing what the tutorials say.
so as a personal estimate any tutorial that is less than 20 hours long cannot really teach programming, but only a programming language.
Fair point, guess I'll take time and patience with that.
II've been recently playing around with MV and just wrote my first very simple plugin this week. Yes I probably just re-invented the wheel, because what I wanted to do was so simple, but hey! It's my wheel!
Seriously though. Obvious question - Do you know Javascript? It's a full scripting language so you probably won't get far even with a tutorial withought a basic knowledge of JavaScript. If you do it's mostly about knowing, or finding out, which existing systems to aliase.
Having come from a 'normal' programing environment the initial premis of RPG Maker plugins threw me a bit untill I got my head around it. You are basically making a stand alone .JS file with your code in a 'walled garden' function. Jirst you find out what existing internal routean you want to 'hijack' then you store that and write your add-on code, remember to go back to run the origonal function at the end. I did a very simple ammendment to the movement routean that let me move diagonally left or right and down when in a 'falling' movement. You can reference any in-game variables or switches etc through their ID number.
Appologies if that dosn't mean much.
I probably havent explained things properly with the corect words!
But it is doable, just don't try to climb everest before you can walk up a hill!
That is exactly what I did!
A long, long, time ago in a land far, far away!
I still ocasionally program games in 8Bit assembly for late 1970s to early 1980s systems for fun!
I know nothing about javascript, so yeah, I'll have to learn the very basics first lol.
I don't have much to add to the conversation, since the most I can do is edit existing plugins. I just wanted to encourage you to keep learning how to code and to keep trying. Learning anything from scratch is hard, even if you are used to getting things fast, you will eventually hit walls and stumps, what will set you up to becoming good at anything, is to keep trying and failling. Normalize not being good at things from day 1. It's okay to be terrible at it actually. Reflect on your mistakes and always try to think about/search what you could've done to avoid it next time.
Watch JS tutorials, look up guides, see how other plugin creators solve certain issues through their code, with time, you will get good if you keep trying.
And know you are more than welcome to ask questions here and in the discord.
Watch JS tutorials, look up guides, see how other plugin creators solve certain issues through their code, with time, you will get good if you keep trying.
And know you are more than welcome to ask questions here and in the discord.
thanks for the support