- Joined
- Mar 4, 2015
- Messages
- 4
- Reaction score
- 2
- First Language
- portugues
- Primarily Uses
Hi guys. I'm new in RPG maker programming and I'm trying to create a name box.

But I'm having some problems:
I'm sorry if there are any grammatical errors (I'm still learning English).
Thanks in advance!
Game_Message.prototype.add = function(text) {
this._texts.push(text);
SceneManager._scene._messageWindow.width = 800
SceneManager._scene._messageWindow.position.x = 240
console.log(SceneManager._scene._messageWindow)
// Create new Window
var rect = new Rectangle(10, 20, 180, 40)
var myWindow = new Window_Base(rect);
myWindow.position = {x: 250, y: 395}
SceneManager._scene.addChild(myWindow);
};

But I'm having some problems:
- First - I can't close the name box when the text box closed. (I'm trying myWindow.close() but the name box close immediately )
- Second - I can't set text in the name box.
I'm sorry if there are any grammatical errors (I'm still learning English).
Thanks in advance!



