RMMV Plugin development

Charles2020

Veteran
Veteran
Joined
Feb 24, 2020
Messages
81
Reaction score
2
First Language
English
Primarily Uses
RMMV
Hi guys

I am new to RMMV plugin dev. I am trying open the developer consule to start writing and testing my code. see picture below
dev.PNG
How can I do that ? Could you please navigate from the beginning step

Thanks
 

caethyril

^_^
Veteran
Joined
Feb 21, 2018
Messages
2,113
Reaction score
1,524
First Language
EN
Primarily Uses
RMMZ
The console is for executing quick single-line snippets of code there and then. Use an external text-editor for writing plugins. There exist free text-editors aimed at programming, e.g. Visual Studio Code; apps like this often have helpful features like syntax highlighting, auto-indenting, etc...makes coding much easier than if you just use Notepad! :kaothx:

You can investigate existing objects via the console's autocomplete feature, e.g. if you type in $gamePlayer., the autocomplete list will appear, showing the various properties and methods available on the $gamePlayer object. This is only really helpful if you know the name of an object worth investigating, though. :kaoswt:

I feel the basic stuff to get familiar with before developing a plugin includes:
  1. Object-oriented programming (OOP) - objects, properties, methods, inheritance, etc.
  2. JavaScript (JS) - object types, grammar, syntax, other defining features like the prototype model, etc.
  3. RPG Maker MV's core scripts - how they're structured, how the code handles game flow, etc.
Not sure if you're already familiar with OOP or JS, but points 1 & 2 can be learned via a decent JavaScript beginner's tutorial if necessary. There are tutorials on MDN but they understandably focus on integrating JavaScript with HTML (unnecessary for most RPG Maker MV code). Others may have better suggestions for tutorials if needed. :kaoslp:

Point 3 is necessary to the extent that you can't modify an existing system without understanding what you're working with! You can learn by reading the core scripts or existing plugins yourself (find them in your project's js folder, try starting with rpg_objects.js) and/or by finding a tutorial on the subject, e.g. Trihan's Jump into JavaScript thread. :kaojoy:
 

ShadowDragon

Veteran
Veteran
Joined
Oct 8, 2018
Messages
2,940
Reaction score
1,047
First Language
Dutch
Primarily Uses
RMMV
you can learn alot from those video's to learn about JS. and also how to use the consol log as well.
while i try to learn from it as well =)
 

MushroomCake28

KAMO Studio
Global Mod
Joined
Nov 18, 2015
Messages
3,729
Reaction score
4,685
First Language
English
Primarily Uses
RMMZ

I've moved this thread to Learning Javascript. Please be sure to post your threads in the correct forum next time. Thank you.

 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.
Can someone recommend some fun story-heavy RPGs to me? Coming up with good gameplay is a nightmare! I was thinking of making some gameplay platforming-based, but that doesn't work well in RPG form*. I also was thinking of removing battles, but that would be too much like OneShot. I don't even know how to make good puzzles!
one bad plugin combo later and one of my followers is moonwalking off the screen on his own... I didn't even more yet on the new map lol.
time for a new avatar :)

Forum statistics

Threads
106,017
Messages
1,018,356
Members
137,802
Latest member
rencarbali
Top