Welcome to PGMV! My goal is to make it easy for everyone to find and share great plugins for creating amazing games. As a plugin developer myself, I'm excited to grow this community with all of you.
MNKR Hz Timing Bar - MNKR_HzTimingBar.js
Plugin desc : Execute the timing bar by inputting buttons in time.
License : MIT License
Author : hiz,munokura
Website : https://github.com/munokura/MNKR-MV-plugins/blob/master/MNKR_HzTimingBar.js
Desc page : https://raw.githubusercontent.com/munokura/MNKR-MV-plugins/master/MNKR_HzTimingBar.js
Download Page : https://raw.githubusercontent.com/munokura/MNKR-MV-plugins/master/MNKR_HzTimingBar.js
File name : MNKR_HzTimingBar.js
Help of plugin :
@target MV @url https://raw.githubusercontent.com/munokura/MNKR-MV-plugins/master/MNKR_HzTimingBar.js @plugindesc Execute the timing bar by inputting buttons in time. @author hiz,munokura @license MIT License @help This plugin is a modified version of HzTimingBar. Please contact the modifier (munokura) with any inquiries. Please refrain from causing any inconvenience to the original author. Executes a timing bar by timing button presses. The timing bar is set and executed using plugin commands. The cursor moves toward the bar's end point. The plugin will end when an empty area is filled in and a value of 0 is assigned. The higher of the Hit (1) or Critical (2) points entered by the end of the bar will be assigned to the variable. However, if there is a required input range, 0 will be assigned if that range is not filled in. The variable will be assigned and the plugin will end when the bar's end point is reached or the clear condition (all required, hit, and critical hits have been met) is met. ■Plugin Command: HzTimingBar [var_no] [hit_area] [critical_area] [require_area] [x] [y] # Launch Command Input ▼[var_no] [Required] The variable number for which the result is returned. Returns 0 for a miss, 1 for a hit, and 2 for a critical. ▼[hit_area] [Required] Set the minimum and maximum values for the hit area between 0 and 100. min-max Example: 70-90 ▼[critical_area] [Optional] Set the minimum and maximum values for the critical area between 0 and 100. min-max Example: 90-95 ▼[require_area] [Optional] Set the minimum and maximum values for the required area(s) between 0 and 100. min-max,min-max,... If you do not enter all button presses within the required area, button presses within the hit or critical area will result in a miss. * Be sure to set the area before the hit or critical area. Example) [10-20] # Required range is 10-20 [20-30,50-60] # Required range is 20-30 or 50-60 [] # No required range ▼[x] [Optional] Specifies the display position of the command. (Leaving it unspecified will set it to the center of the screen) ▼[y] [Optional] Specifies the display position of the command. (Leaving it unspecified will set it to the center of the screen) Command Example) HzTimingBar 1 70-90 90-95 # Hit range is 70-90, critical range is 90-95. The result is set to variable number 1. HzTimingBar 1 70-90 90-95 [10-30,40-60] # Hit range is 70-90, critical range is 90-95. The result is set to variable number 1. # A miss occurs if the button press is not within both the 10-30 and 40-60 ranges. HzTimingBar 1 80-90 90-95 [10-20] 413 20 # The hit range is 80-90, and the critical range is 90-95. The result is set to variable number 1. # A miss occurs if the button press is not within the 10-20 range. # The command is displayed at the top center of the screen. Terms of Use: MIT License. http://opensource.org/licenses/mit-license.php You may modify and redistribute this without permission from the author, and there are no restrictions on its use (commercial, 18+, etc.). Ver. 0.0.1 by munokura (April 12, 2022) Fixed an issue where values were not assigned to variables. Fixed an issue where an infinite loop would occur if no text was displayed after a plugin command. Fixed an issue where a required area would always result in a miss if it was placed after another area. Ver. 0.0.2 by munokura (May 7, 2023) Fixed an issue where the hit value was acquired when scoring a critical hit. Fixed an issue where the previous score would affect subsequent attempts. Changed the game so that clearing conditions are met when a hit is made without waiting until the end of the game. @param bar width @text Bar Width @desc Bar Width @type number @default 500 @param required SE @text Required area hit sound effect @desc Sound effects when hitting a required area @type file @default Decision2 @require 1 @dir audio/se/ @param hit SE @text Hit area hit sound effect @desc Sound effect when hitting the hit area @type file @default Attack2 @require 1 @dir audio/se/ @param critical SE @text Critical area hit sound effect @desc Sound effect when hitting a critical area @type file @default Attack3 @require 1 @dir audio/se/ @param miss SE @text Input (failure) SE @desc SE when inputting (failed) @type file @default Buzzer1 @require 1 @dir audio/se/