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.
TM Mine Sweeper - TMMineSweeper.js
Plugin desc : I'll add something similar to the famous mine clearance 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/TMMineSweeper.js
File name : TMMineSweeper.js
Help of plugin :
@plugindesc I'll add something similar to the famous mine clearance game. @author tomoaky @url https://github.com/munokura/tomoaky-MV-plugins @license MIT License @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. ----- Preparation: Save the Minesweeper icon image distributed with the plugin in the img/system folder. The file name is MineSweeper.png. If you need to change the file name, please also change the iconImage plugin parameter. https://github.com/munokura/tomoaky-MV-plugins/tree/master/img/system How to Use: To launch Minesweeper, enter [MineSweeper] in option 1 of the "Show Options" Event's Contents. (The brackets are half-width characters.) In option 2, enter the following five numbers, separated by spaces: - Number of squares in a row - Number of squares in a row - Width of a square (number of dots) - Height of a square (number of dots) - Number of mines Example: 14 8 32 32 20 In this example, 14 squares are arranged horizontally and 8 vertically, totaling 112 squares, each 32x32 pixels in size. 20 of these squares contain hidden mines. Option 1 will be executed if all squares without mines are investigated. If a square containing a mine is investigated during the investigation, option 2 will be executed. Option 3 allows you to set a time limit using half-width numbers. After the entered number of seconds has elapsed, Minesweeper will be forced to quit, and option 3 will be executed. This plugin has been tested with RPG Maker MV Version 1.3.0. Plugin Command: mineTime 1 Assigns the time required for the most recent Minesweeper run to game variable 1. The value returned by the mineTime command is in milliseconds. To convert it to seconds, use the "Operate Variable" Event's Contents and divide this value by 1000. The result returned by mineTime is for the most recent run of Minesweeper. Also, if you save and load between running Minesweeper and executing the plugin command, you will not be able to obtain the result. Note: If you launch Minesweeper immediately after the "Show Text" command, the message window will not close and Minesweeper will launch without closing. If you want to launch Minesweeper after closing the message window, add a "Wait" of at least one frame between "Show Text" and "Show Choices." Additionally, the vertical position of the Minesweeper window is affected by the vertical position of the message window, so you can change the vertical position of the Minesweeper window by using a message window with a transparent background and empty content. @param command @desc Minesweeper launch string used for the "Show options" command. Default: [Minesweeper] @default [Minesweeper] @param iconImage @desc The image file name to use as the mine icon. Default: MineSweeper @default MineSweeper @type file @require 1 @dir img/system/ @param bombSe @desc The file name of the sound effect that plays when a mine explodes. Default: Explosion2 @default Explosion2 @type file @require 1 @dir audio/se/ @param bombSeParameters @desc Volume, pitch, and pan of the sound effect that plays when a mine explodes. Default: 90 100 0 @default 90 100 0 @param clearSe @desc The file name of the sound effect to be played when the mine clearance is completed. Default: Applause1 @default Applause1 @type file @require 1 @dir audio/se/ @param clearSeParameters @desc Volume, pitch, and pan of the sound effect that plays when the mine is cleared. Default: 90 100 0 @default 90 100 0