Rock, Paper, Scissors
Version 1.1.1
by Ciddy
​
Introduction
Since there aren't a whole lot of plugins right now I thought I port one of my old MV plugins to MZ. This plugin provides a fully playable (and manipulatable) "Rock, Paper, Scissors" minigame.
Features
- Fully customizable vocabulary
- Customizable icon index for every symbol
- Customizable Win/Lose ME
- Winner of the last game can be saved to a variable for further eventing (0: Draw, 1: Lose, 2: Win, -1: Canceled)
- Predetermine the result of a game via an additional call
- Change the frequency of the symbols via an additional call
How to use
Place it into your projects js/plugins folder​
Open your RPG Maker MZ Plugin Manager​
Select and enable to plugin​
- Go to any of your maps and click on an event and add the following as a Script:
Code:
SceneManager.push(Scene_Roshambo);
- Test Play the map that the event is on and fulfill it's trigger to play your first round of "Rock, Paper, Scissors"
Manipulate Games
- Open your previously created Script and add the following line at the end:
Code:
SceneManager.prepareNextScene('default',[0,0,0]);
- The new line has two parameters: 'default' and [0,0,0]
- NOTE: If the parameters 'default' and [0,0,0] would be used the functionality would be no different than having no parameters active
- To predetermine a result we have to the first parameter. Possible values are:
- 'default' - no manipulation of the result
- 'win' - the player always wins
- 'lose' - the player always loses
- 'draw' - the game is always a draw
- With the help of the second parameter we are able to fill a pool of symbols an Event can use. The syntax is as follows:
- [Freq. Scissors, Freq. Rock, Freq. Paper]
- Further Examples:
- [1,0,0] - the Event could only use Scissors
- [1,1,0] - the Event has a 50% probability to either use Scissors or Rock
- [0,2,1] - the Event has a 66% probability to use Rock and a 33% probability to use Paper
- Every frequency can be upped until 10
Screenshots
Terms of use
Free to use for commerical and non-commerical projects. If you do use this plugin in one of your projects please credit me (Ciddy).
Download
Ciddy_Roshambo.js
Terms of use Free to use for commerical and non-commerical projects. If you do use this plugin in one of your projects please credit me (Ciddy). Download Ciddy_Roshambo.js