あなたが数値を入力することを可能にするプラグイン – RS_Window_NumberInput.js

タイトル
This plugin allows you to type the number value
作者名
ヘルプ
=============================================================================
Usage
=============================================================================
You need to add the plugin command called StartNumberInput.

StartNumberInput varId:1 maxLength:8 isNumber:true

=============================================================================
Change Log
=============================================================================
2018.10.15 (v1.0.0) - First Release.
2019.11.02 (v1.0.1) - Added the password mode
パラメータ
param Font Size
desc Specify the font size in number input processing.
default 28

param Line Height
desc Specify the line height for window.
default 36

param Window Width
desc Calculate the window width.
(this parameter evaluates JavaScript code)
default 480

param Window Height
desc Calculate the window height.
(this parameter evaluates JavaScript code)
default this.fittingHeight(6);

param Window Background Type
type select
desc Specify the background type for window.
default 0
option Normal
value 0
option Dimness
value 1
option None
value 2

param Default Button Width
desc Specify the default button width.
(this parameter evaluates JavaScript code)
default Math.floor(this.width/this.maxCols());

param Number Map
desc Specify the number map.
(Each characters are separated with comma!)
default 7, 8, 9, 4, 5, 6, 1, 2, 3, -, 0, ., Backspace, Ok

param --- Image Name

param Background Image
parent --- Image Name
desc Specifies to import file that you want from img/titles1 folder.
default World
require 1
dir img/titles1
type file

param Password Mode
type boolean
desc Set the password mode.
default false
on true
off false

ライセンス表記
  • MIT License
The MIT License
Copyright (c) 2018 biud436
Free for commercial and non commercial use.

紹介ページ https://github.com/biud436/MV/blob/master/RS_Window_NumberInput.js