UniqueName

Veteran
Veteran
Joined
Nov 12, 2018
Messages
83
Reaction score
13
First Language
Russian
Primarily Uses
Other
Can anyone make a guide on how to create command windows with options and handlers please?
I was able to create a window using this code
Code:
function MyWindow() {
  this.initialize.apply(this, arguments);
}


MyWindow.prototype = Object.create(Window_Base.prototype)
MyWindow.prototype.constructor = MyWindow;

MyWindow.prototype.initialize = function(x, y, width, height) {
  Window_Base.prototype.initialize.call(this, 0, 0, Graphics.boxWidth, lh);
  this.refresh();

}


MyWindow.prototype.refresh = function() {
  this.contents.clear();
  this.drawText(text, 0, 0);
}

var scene = Scene_Map.prototype.start;
Scene_Map.prototype.start = function(){
scene.apply(this, arguments);
this.myWindow = new MyWindow();
this.addChild(this.myWindow);
};
but thats about it. I cant do anyhthing more than that (I cant even close it lol)
I want to learn how to do my own command menu
I took a look at original rpg maker's scripts but I can't figure it out
 

Poryg

Dark Lord of the Castle of Javascreeps
Veteran
Joined
Mar 23, 2017
Messages
4,125
Reaction score
10,660
First Language
Czech
Primarily Uses
RMMV
I am making a tutorial series around scripting/plugin making. It might help you. Part 3 covers basic window types including handlers in command/selectable windows.
 

UniqueName

Veteran
Veteran
Joined
Nov 12, 2018
Messages
83
Reaction score
13
First Language
Russian
Primarily Uses
Other
I am making a tutorial series around scripting/plugin making. It might help you. Part 3 covers basic window types including handlers in command/selectable windows.
Thanks dude, just what I was looking for
tbh I searched "rpg maker mv javascript tutorial" on youtube but never saw your videos
you should try to change category to "videogames" and add "javascript" to the tags
 

Poryg

Dark Lord of the Castle of Javascreeps
Veteran
Joined
Mar 23, 2017
Messages
4,125
Reaction score
10,660
First Language
Czech
Primarily Uses
RMMV
Yeah, the search results are really mean. If I search for them, I find them, but that's because I own them :D

Edit: I set the category to gaming and I set the game to RPG Maker MV, hopefully it makes the videos more relevant. Currently one of the videos is sitting like at 2.5 pages of scrolling, since Driftwood has 13k subs, he's absolutely crashing smaller channels like me.
 
Last edited:

Latest Threads

Latest Profile Posts

The dolls are complete Shizukuandyuki.pngyunaandyuka.png what do you guys think of them i worked really hard on them
TFW you finally defeat an obnoxious bug in your project. B)
Made a showcase, guide, and tutorial to using GENE Scene Builder with RPG Maker MV :kaoslp:

For a long time I always consider XP soundtracks as the best one.
Just listened to some of MZ tracks from the free version.
It's... Quite mindblowing. xD
Only listened to the battles, towns, and fields.
But I'm sure the rest are equally good. :D
What do you guys want to see for the new Jump into Javascript? A continuation of the rpg_objects, or would you prefer a "lesson 0" where I go back to the absolute basics of Javascript and cover the fundamentals of the language and its construction?

Forum statistics

Threads
112,458
Messages
1,068,415
Members
146,116
Latest member
kulebyaka
Top