I'm working on a script for making Input Scenes, it's mostly done here
Terms of use: Free for Commercial and free use as long as I get some credit for the script.
Click to expand...
How to use:
SpoilerSpoiler
There's two methods of use, default, which means you set up the information in the plugin setup, or like this from Plugin Command in your event If you want to use an Image make sure you change Use Image in the setup to true.
Not using images:
enter_text <variable> <max characters> false <title> <default text>
if you're using images:
enter_text <variable> <max characters> true <image file> <title> <default text>
Example: enter_text 121
18
false I'm_a_computer_prompt Default
Image Example: enter_text 121
18 true
ClipComputer I'm_a_computer_prompt Default
xxx = Variable number
"String" is what I'm checking against.
Red = Variable
Purple = Maximum Characters they can input, in the Example that means you can only Input 18 Characters total. you can make it as large as you want I believe as well. All the way down to 1 Character Max I believe without crashing lol.
Lime Green = Text to display above the Inputted Text.
When you want it to check against Lowercase it's
example: $gameVariables.value(
121).toLowerCase() == "text to check"
or if you want it to check against all Caps, its $gameVariables.value(
121).toUpperCase() == "TEXT TO CHECK"
Blue = The name of the image file without .png
Screenshot
SpoilerSpoiler
This is the new Look so far:
Changelog:
SpoilerSpoiler
Version 0.0.1
Features:
Basics are in place
Version 0.0.1b
Fixed some variable mislabels.
Added some information to @help
Added a comment
Still unable to find the bug yet.. Hence why 0.0.1b not 0.0.2
Version 0.0.1c
Fixed the Input bug I had in 0.0.1 and 0,0.1b but now I have to get it to display the Text..
Version 0.0.1d
Removed all the code for Window_NameInput since the default works fine and all I need is the modified code I'm using now.
Not quiet ready for 0.0.2 need to find this one last crippling bug. and I'm going to skip to 0.5.0 once that's found.
Version 0.9.0
I skipped a ton of versions between 0.0.1d and now because of internal testing, also I said I would once I got it to display the Text Input as you type it, and I did
Still left to do is figure out why it cuts my text when I use the Plugin Command.. but not when you use Default.
Version 0.9.1
Fixed a bug I created in 0.9.0
Forgot to push changes to Github lol
Version 1.0.0
Fixed the bugs I was having with the script, it should work smoothly now.
Version 1.0.1
Added ArkDG's suggestion:
varImported=Imported||{};
Imported.CmdInp=true;
Thank you.
Version 1.0.2
Centered the Text
Added RegExp but for some reason it's not working Conditional Checking in Events.
Version 1.0.3
Till I find a solution to wrap the title text I removed it off of being centered.
Fixed a major breaking bug when using default settings. Found another bug while doing that and fixed it as well.
Code Cleanup probably will be an ongoing thing as I learn more and more.
Version 1.0.4
Fixed a bug I created in 1.0.3
Version 1.1.0
Added an Image system
Version 1.1.1
Updated it to work with latest RPG Maker MV.
Updated the Plugin Commands see the Examples or plugin help
Added Quasi_Input support thanks to Duce (If there's a better way to handle it let me know)
Download
SpoilerSpoiler
https://raw.githubusercontent.com/Darkkitten/MyRPGMakerMV/master/CommandInput/CmdInp.js
ClipComputer.png Right click and save in your games img/pictures folder.
Optional:
https://github.com/quasixi/RPG-Maker-MV/blob/master/Systems/QuasiInput.js
Bugs:
SpoilerSpoiler
Unable to Input Characters - If you click Ok, it allows you to exit and saves your default text at least so far.
Unable to see Text.
defaultPromptText is cut off when you use the plugin via the plugin Command
Long Text's have to use the Underscore _ otherwise it picks it up as the next Param. so basically If_I_want_long_text is what it would be instead of If I want long text.
ToDo:
SpoilerSpoiler
Ability to change Background Graphics. Wouldn't look right.
Fix the Default Header Text.
Fix the Display Editor Bug.
Fix the Bug that stops the script from being useful..
Clean up the Code. - Some Done. Some more Done.
Clean up the image code and change how it works to make it more efficient. What I want to do is add another command argument somewhere in there allowing you to enable or disable images via the Plugin Command..
You can still get an old version without image support
here v1.0.4
Special Thanks to
http://www.rpgmakervxace.net/topic/4238-simple-text-input/ by Himeworks, Thank you to him/her for inspiration from their Ace script.
The font in the Screenshot's is thanks to
Font Squirl ,
GoodDog-webfont.ttf they also provide free font's for commercial use.
Duce for posting how to add Quasi_Input support.
本贴来自国际rpgmaker官方论坛作者:darkkitten处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:
https://forums.rpgmakerweb.com/threads/text-input-window.52197/