public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

2 Followers
Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.

Original Source

  • Original title: Text Input Window
  • Original author: darkkitten
  • Original date: December 4, 2015
  • Source thread: https://forums.rpgmakerweb.com/threads/text-input-window.52197/
  • Source forum path: Game Development Engines > RPG Maker Javascript Plugins > JS Plugin Releases (RMMV)

Summary

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:

Archived First Post

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.



How to use:

Spoiler



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

Spoiler





Input_Scene.png



This is the new Look so far:


New_Input_Look.png



Working_Input_Screne.png




Changelog:

Spoiler





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:


var Imported = 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

Spoiler



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:

Spoiler





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:

Spoiler



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.

Features Mentioned

  • 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

Downloads / Referenced Files

Log in to download

Log in, then follow the RPG Maker Developers Group to see these download links.

Log in to download

License / Terms Note

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: Spoiler

Creator Claims / Removal

If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.

#039#rmmv#plugin-archive

Replies (0)

No replies yet.

0 replies 1 view

Log in to reply.

User Avatar