An open library of RPG Maker MV plugins, powered by the community.

PGMV - The Community-Driven Plugin Library for RPG Maker MV

MV plugins

TM Typing - TMTyping.js

Plugin desc : Adds commands that allow you to play a mini typing game.

License : MIT License

Author : tomoaky

Desc page : https://github.com/munokura/tomoaky-MV-plugins

Download Page : https://raw.githubusercontent.com/munokura/tomoaky-MV-plugins/refs/heads/master/TMTyping.js

File name : TMTyping.js

Help of plugin :

@plugindesc Adds commands that allow you to play a mini typing game.
@author tomoaky
@url https://github.com/munokura/tomoaky-MV-plugins
@license MIT

@help
English Help Translator: munokura
This is an unofficial English translation of the plugin help,
created to support global RPG Maker users.
Feedback is welcome to improve translation quality
(see: https://github.com/munokura/tomoaky-MV-plugins ).
Original plugin by tomoaky.
-----
How to Use:
Enter [Typing] in option 1 of the "Show Options" Event's Contents to launch the typing game. (The parentheses are half-width characters.)
Don't forget to enter the question in option 2 and the question in full-width katakana in option 3.

Characters other than full-width katakana that can be used are:
0 1 2 3 4 5 6 7 8 9 ! ? , . -
However, you will also need to press the Shift key to type ! and ? .

Once you have finished typing the question, option 1 will be executed.
If you cancel with Esc, Insert, or Num0, the cancellation process will be executed as with regular options.

You can set a time limit in option 4 using half-width numbers.
When the number of seconds you entered has elapsed, the typing game will be forced to quit, and option 4 will be executed.

Romanization Settings:
Installing this plugin will add romanization-related settings to the main menu options.
You can set which input method to use for characters with multiple input methods.

You can choose NN or N,NN for the character "n," but the latter option only applies if the next character is a consonant.

Plugin Commands:
typingTime 1 # Assigns the time required for the most recent typing game to variable 1.
typingMiss 2 # Assigns the number of mistakes made in the most recent typing game to variable 2.

The value returned by the typingTime command is in milliseconds.
To convert it to seconds, use the "Variable Operation" Event's Contents and divide this value by 1000.

The result returned by typingTime (typingMiss) is for the most recent typing game.
Also, if you save and load between the typing game and the execution of the plugin command, you will not be able to retrieve the result.

Note:
Since a keyboard is required, this command only works on PC.
There is no function to automatically check the operating environment, so if you launch a typing game with cancel prohibition on a device that only supports tapping, for example, you will be unable to proceed.

@param typingCommand
@desc Typing activation string used in the Show Choices command. Default: [Typing]
@default [Typing]

@param typingColor
@desc The character color number to use for the entered characters. Default: 2 (same as the character color number used in the text display command)
@default 2

@param typingSe
@desc File name of the sound effect to play when typing (without extension) Default: Switch1
@default Switch1
@type file
@require 1
@dir audio/se/

@param typingSeVolume
@desc Volume of the sound effect played when typing Default: 90
@default 90

@param typingSePitch
@desc Pitch of the sound effect played when typing. Default: 130
@default 130

@param typingSePan
@desc Phase of the sound effect played when typing. Default: 0
@default 0

スポンサードリンク

-MV plugins

Copyright© PGMV - The Community-Driven Plugin Library for RPG Maker MV , 2026 All Rights Reserved.