New Scene Title Screen

FodasticoMan

Veteran
Veteran
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
 
Last edited by a moderator:

izyees

My Secret Santa
Veteran
Joined
Oct 24, 2015
Messages
248
Reaction score
67
First Language
english
um... can you show the error? and the full script?

and what do you want it to be?
 

FodasticoMan

Veteran
Veteran
Joined
Oct 11, 2015
Messages
41
Reaction score
3
First Language
Portuguese
rpg_window.js

Window_TitleCommand.prototype.makeCommandList = function() { var parameters = PluginManager.parameters('TitleShutdownCommand'); var credito = parameters['Name'] || "Creditos"; this.addCommand(TextManager.newGame, 'newGame'); this.addCommand(TextManager.continue_, 'continue', this.isContinueEnabled()); this.addCommand(TextManager.options, 'options'); this.addCommand(credito, 'Creditos');};


Créditos = Credits

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...");};
 

izyees

My Secret Santa
Veteran
Joined
Oct 24, 2015
Messages
248
Reaction score
67
First Language
english
the console is more helpful.

btw, have you add a command in here?

Code:
Scene_Title.prototype.createCommandWindow
 
Last edited by a moderator:

FodasticoMan

Veteran
Veteran
Joined
Oct 11, 2015
Messages
41
Reaction score
3
First Language
Portuguese
unfortunately the explanation is very superficial.
 

izyees

My Secret Santa
Veteran
Joined
Oct 24, 2015
Messages
248
Reaction score
67
First Language
english
show the error on console. click F8
 

FodasticoMan

Veteran
Veteran
Joined
Oct 11, 2015
Messages
41
Reaction score
3
First Language
Portuguese
 



same mistake, the same code



Would like you give an example of window?
 

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

Latest Threads

Latest Profile Posts

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD

Forum statistics

Threads
105,868
Messages
1,017,072
Members
137,578
Latest member
JamesLightning
Top