Yanfly Engine Plugins is a plugin library made for RPG Maker MV, a wonderful piece of software to help you make that role playing game of your dreams. You can find out more about RPG Maker MV here.
Debug mode, debug maps, debug menus, I’m sure you’ve all heard of them before. Perhaps even seen or played with some of them. They’re usually tools for the developers and testers, but some games opt to leave them in for the players to enjoy playing around with. Today’s video will explain how to create a Debug Mode option for your game!
This advice video uses the following plugins:
You can grab the copy/paste code here:
Debug Mode – Option Parameters
This section gives the exact plugin parameters used for the “Debug Mode” option found in the video above.
Help Description: Turns Debug Mode ON/OFF. Access the Debug Menu by pressing F9 on the map.
Show/Hide: show = true;
Enable: enabled = true;
Ext: ext = 0;
Make Option Code: this.addCommand(name, symbol, enabled, ext);
Draw Option Code: var rect = this.itemRectForText(index); var statusWidth = this.statusWidth(); var titleWidth = rect.width - statusWidth; this.resetTextColor(); this.changePaintOpacity(this.isCommandEnabled(index)); this.drawOptionsName(index); var halfStatusWidth = this.statusWidth() / 2; var symbol = this.commandSymbol(index); var value = $gameTemp.isPlaytest(); this.changePaintOpacity(!value); this.drawText('OFF', titleWidth, rect.y, halfStatusWidth, 'center'); this.changePaintOpacity(value); this.drawText('ON', titleWidth + halfStatusWidth, rect.y, halfStatusWidth, 'center');
Process OK Code: $gameTemp._isPlaytest = !$gameTemp._isPlaytest; this.redrawItem(this.index()); SoundManager.playCursor();
Cursor Right Code: $gameTemp._isPlaytest = true; this.redrawItem(this.index()); SoundManager.playCursor();
Cursor Left Code: $gameTemp._isPlaytest = false; this.redrawItem(this.index()); SoundManager.playCursor();
Default Config Code:
Save Config Code:
Load Config Code:
Happy RPG Making!