RPG Maker Forums


Keyboard Input Dialog 1.1.16


by Biud436





Introduction


This plugin allows you to display text edit box on the screen.


Features


- Supports typing various languages.


Video







Screen Shots






- English-






- Korean -







- Japanese -







- Chinese -







- Russian -







- Arabic (Right to Left) -



How to Use

  • Adding the plugin to your project

Download the plugin and place it in the folder called your_project_directory/js/plugins.


and then in plugin manager, Select RS_InputDialog plugin and add it.

  • Event Example



Spoiler



◆Plugin Command:InputDialog backgroundColor rgba(255, 255, 255, 0.7)
◆Plugin Command:InputDialog variableID 4
◆Plugin Command:InputDialog text Please enter the web site
◆Plugin Command:InputDialog open
◆Text:None, Window, Bottom
: :You are entered the string called \c[3]\v[4]\c[0]
: :If you click the button called 'Yes',
: :It will execute that url to the native browsers.
: :Would you execute the website?
◆Show Choices:Yes, No (Window, Right, #1, #2)
:When Yes
◆Script:if(!Utils.isNwjs()) {
: : console.warn('This platform is not Nwjs');
: : this._index = this._list.length;
: :}
: :var os = navigator.platform;
: :var url = $gameVariables.value(4);
: :var child_process = require('child_process');
: :if(os.indexOf('Win') >= 0) {
: : child_process.exec('start ' + url);
: :} else if(os.indexOf('Mac') >= 0) {
: : child_process.exec('open ' + url);
: :}

:When No

:End

Plugin Commands

Opens Input Dialog.

InputDialog open


Changes the width of Input Dialog.

InputDialog width 488


Changes the text of Input Dialog for representing the description.

InputDialog text Please enter the string...


Changes an id of the variable for saving the value.

InputDialog variableID 3


Displays a alert window of the browser when you are pressing the enter

InputDialog debug true

Specifies the maximum number of character for an input field.

InputDialog maxLength 10
This plugin commands decide how to set the position of the input dialog.
In case of "InputDialog pos center", it will be set the position of the input dialog is to center.
In case of "InputDialog pos 0 0", it will be set the x and y values of the input dialog is to 0, 0

InputDialog pos center
InputDialog pos 0 0



Demo Download


This demo might not be included latest version of this plugin. The latest version of this plugin is you can find in my Github. So you should check the plugin version and update it.


Demo(Dropbox) - (RMMV v1.6.2)


Plugin Download


Github RAW


Change Log

2016.08.09 (v1.0.0) - First Release.
2016.08.09 (v1.0.1) - Added Background Color.
2016.08.10 (v1.0.1A) - Added ID Variables.
2016.08.10 (v1.1.0) - Fixed Window_DialogHelp class into the plugin.
2016.08.16 (v1.1.1) - Added the direction property setting the direction of content flow.
2016.08.16 (v1.1.1A) - Fixed a whitespace bug.
2016.10.14 (v1.1.2) - Fixed the issue that is not working in Battle.
2016.10.14 (v1.1.3) :
- Fixed the bug that does not change the background color.
- Fixed the bug that does not change the variable ID.
2016.10.17 (v1.1.4) - Fixed the frame works of input dialog in battle.
2016.10.18 (V1.1.5) - Fixed an issue that battler's movement is too fast.
2016.10.29 (v1.1.6) - Added the function that allows you to specify the maximum number of character for an input field.


2016.11.13 (v1.1.61) - Fixed the issue that is directly calling the requestUpdate function of SceneManager.


2016.12.02 (v1.1.65) :
- Added some style codes such as a text shadow and an outline into the text box.
- Fixed the way that can temporarily stop attack and skill actions with an enemy when the text box is activated in the battle.
- It will not process the text input when the text box is not shown in the battle.
- In the debug mode, It adds the result value to a log window after the text input is done.
2016.12.08 (v1.1.68) - Removed the text hint window.
2017.01.30 (v1.1.7) - Fixed an issue that is not working properly if the text dialog has a string to start with a number.
2017.02.16 (v1.1.8) :
- Fixed incorrect position and width, height values in the text box.
- Added new feature that indicates the input dialog at the top position of the screen when pressing any key on your own mobile device.
- Added new feature that automatically returns a result of the text box if you did not press anything.
2018.01.30 (v1.1.9) :
- Added the button called 'OK'.
- Added the button called 'Cancel'.
- Removed the feature that can change the background-color of the input dialog.
2018.02.03 (v1.1.10) :
- Fixed the issue that is not working in RMMV 1.5.1
- Fixed the default value of the plugin parameter called 'CSS'.
2018.02.06 (v1.1.11) :
- Fixed the issue that is not working in the battle scene.
2018.10.22 (v1.1.15) :
- Added a plugin command that sets the position of the input dialog.
- Added a feature that the keyboard layout is displayed again if you touch the text box from android devices.
- On the mobile device, the font size is now set to 1rem.
- Fixed the default UI-theme is to black.
- In the chromium 69+ more over, The input element is always displayed even though <canvas>'s z-index is large than <input> element's z-index. so I've fixed it (I've applied the property named display: none; )
2019.03.05 (v1.1.16) :
- Fixed the issue that can not create a background when using Irina_PerformanceUpgrade.



Credit and Thanks


- Biud436


Terms of Use


Free for commercial and non-commercial use.

Latest Threads

Latest Posts

Latest Profile Posts

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.
Can someone recommend some fun story-heavy RPGs to me? Coming up with good gameplay is a nightmare! I was thinking of making some gameplay platforming-based, but that doesn't work well in RPG form*. I also was thinking of removing battles, but that would be too much like OneShot. I don't even know how to make good puzzles!
one bad plugin combo later and one of my followers is moonwalking off the screen on his own... I didn't even more yet on the new map lol.
time for a new avatar :)

Forum statistics

Threads
106,015
Messages
1,018,351
Members
137,801
Latest member
topsan
Top