So I'm using both SRD's FullscreenToggleOption & Yanfly's OptionsCore plugins and just noticed that SRD's plugin doesn't show up in the Options menu. I'm assuming I need to put the correct stuff in the OptionsCore plugin settings. My question is: What do I put?
MV Intregrating SRD_FullscreenToggleOption -> YEP_OptionsCore
Javascript/Plugin Support👋 Correct, you'd need to specify the option in Yanfly's plugin. Fullscreen stuff is built into the engine, though, so you don't need SRD's Full Screen Option plugin if you're using Yanfly's Options Core.
You can copy+paste this into the Text tab of the relevant parameter structure:
...or you can edit each field, in which case here are some examples:
Source:
forums.rpgmakerweb.com
You can copy+paste this into the Text tab of the relevant parameter structure:
Code:
{"Name":"\\i[0]Fullscreen","---Settings---":"","HelpDesc":"\"Toggle between fullscreen or windowed mode.\"","Symbol":"fullscreen","ShowHide":"\"show = true;\"","Enable":"\"enabled = true;\"","Ext":"\"ext = 0;\"","---Functions---":"","MakeCommandCode":"\"this.addCommand(name, symbol, enabled, ext);\"","DrawItemCode":"\"var rect = this.itemRectForText(index);\\nvar statusWidth = this.statusWidth();\\nvar titleWidth = rect.width - statusWidth;\\nthis.resetTextColor();\\nthis.changePaintOpacity(this.isCommandEnabled(index));\\nthis.drawOptionsName(index);\\nthis.drawOptionsOnOff(index);\"","ProcessOkCode":"\"var index = this.index();\\nvar symbol = this.commandSymbol(index);\\nvar value = this.getConfigValue(symbol);\\nthis.changeValue(symbol, !value);\\nif (value) Graphics._cancelFullScreen();\\nelse Graphics._requestFullScreen();\"","CursorRightCode":"\"var index = this.index();\\nvar symbol = this.commandSymbol(index);\\nvar value = this.getConfigValue(symbol);\\nthis.changeValue(symbol, true);\\nGraphics._requestFullScreen();\"","CursorLeftCode":"\"var index = this.index();\\nvar symbol = this.commandSymbol(index);\\nvar value = this.getConfigValue(symbol);\\nthis.changeValue(symbol, false);\\nGraphics._cancelFullScreen();\"","DefaultConfigCode":"\"ConfigManager[symbol] = false;\"","SaveConfigCode":"\"config[symbol] = ConfigManager[symbol];\"","LoadConfigCode":"\"if (config[symbol] !== undefined) {\\n ConfigManager[symbol] = !!config[symbol];\\n}\\nif (ConfigManager[symbol]) Graphics._requestFullScreen();\\nelse Graphics._cancelFullScreen();\""}
- Cursor right:
JavaScript:var index = this.index(); var symbol = this.commandSymbol(index); var value = this.getConfigValue(symbol); this.changeValue(symbol, true); Graphics._requestFullScreen(); - Cursor left:
JavaScript:var index = this.index(); var symbol = this.commandSymbol(index); var value = this.getConfigValue(symbol); this.changeValue(symbol, false); Graphics._cancelFullScreen(); - Process OK:
JavaScript:var index = this.index(); var symbol = this.commandSymbol(index); var value = this.getConfigValue(symbol); this.changeValue(symbol, !value); if (value) Graphics._cancelFullScreen(); else Graphics._requestFullScreen(); - Load Config:
JavaScript:if (config[symbol] !== undefined) { ConfigManager[symbol] = !!config[symbol]; } if (ConfigManager[symbol]) Graphics._requestFullScreen(); else Graphics._cancelFullScreen();
How to add fullscreen in the Yep_Options Cores?
Hello guys! I don't know how to work this :( Anyone can help this solve? because i want to this fullscreen in the Yep_Options Cores T_T i have SRD_FullscreenToggleOption for added in Yep_Options Cores I'm sorry because my english is bad if you understand this as well... :)
forums.rpgmakerweb.com
This helped me big time.
Many thanks!
Original thread: https://forums.rpgmakerweb.com/threads/intregrating-srd_fullscreentoggleoption-yep_optionscore.129267/