- Joined
- Oct 11, 2015
- Messages
- 41
- Reaction score
- 3
- First Language
- Portuguese
The script is in error
RPG_Scenes.js
function Scene_Creditos() { this.initialize.apply(this, arguments);}Scene_Creditos.prototype = Object.create(Scene_MenuBase.prototype);Scene_Creditos.prototype.constructor = Scene_Creditos;Scene_Creditos.prototype.initialize = function() { //align center? var janela = window.new(0,0,100,100); janela.prototype.initialize.call(this, 0, 0, 0, 0); janela.draw_text(0,0,0,0,"Testando 1,2,3...");};I would like the window was closed by pressing the esc key
RPG_Scenes.js
function Scene_Creditos() { this.initialize.apply(this, arguments);}Scene_Creditos.prototype = Object.create(Scene_MenuBase.prototype);Scene_Creditos.prototype.constructor = Scene_Creditos;Scene_Creditos.prototype.initialize = function() { //align center? var janela = window.new(0,0,100,100); janela.prototype.initialize.call(this, 0, 0, 0, 0); janela.draw_text(0,0,0,0,"Testando 1,2,3...");};I would like the window was closed by pressing the esc key
Last edited by a moderator:
