Just happened today, the console isn't appearing anymore and I can't get it to appear. I'm kinda stuck if I don't have my console. Anyone knows what the cause might be?
EDIT: Ok, it can be called with F12 not F8, but before it would appear automatically when I playtested the game with a simple plugin:
EDIT: Ok, it can be called with F12 not F8, but before it would appear automatically when I playtested the game with a simple plugin:
Code:
(function() {
var substrBegin = document.currentScript.src.lastIndexOf('/');
var substrEnd = document.currentScript.src.indexOf('.js');
var scriptName = document.currentScript.src.substring(substrBegin+1, substrEnd);
var parameters = PluginManager.parameters(scriptName);
var devtool_width = Number(parameters['Console Width'] || 800);
var devtool_height = Number(parameters['Console Height'] || 300);
var devtool_x = Number(parameters['Console X-Position'] || 0);
var devtool_y = Number(parameters['Console Y-Position'] || 0);
var win_x_offset = Number(parameters['Game Window X-Offset'] || 150);
var win_y_offset = Number(parameters['Game Window Y-Offset'] || 0);
var autofocus = String(parameters['Autofocus']);
var _Scene_Boot_new_initialize_showconsole_24102015 = Scene_Boot.prototype.initialize;
Scene_Boot.prototype.initialize = function() {
_Scene_Boot_new_initialize_showconsole_24102015.call(this);
if (Utils.isNwjs() && Utils.isOptionValid('test')) {
require('nw.gui').Window.get().showDevTools().resizeTo(devtool_width,devtool_height);
require('nw.gui').Window.get().showDevTools().moveTo(devtool_x,devtool_y);
require('nw.gui').Window.get().moveBy(win_x_offset,win_y_offset);
if (autofocus === 'true') {
require('nw.gui').Window.get().focus();
};
};
};
}) ();

