![[CGMZ] Button Mash for RPG Maker MZ](https://img.itch.zone/aW1nLzE5ODQwNDM1LnBuZw==/original/cCrIIA.png)
[CGMZ] Button Mash for RPG Maker MZ
A downloadable plugin
Hi all, introducing: [CGMZ] Button Mash!
The Basics
Create a button mash event in the plugin parameters, then call it via id whenever you want in your events via the Start plugin command. The result of the mash will be stored in a game variable for easy access during post-button-mash event commands. It stores the progress the player made, so you can also event what happens if the player filled over 75%, over 50%, etc. of the bar instead of just being pass/fail.
Below is a gif of how the plugin can look, showing both a failure and success:
Easy Setup
Set up your button mash events in the Events parameter, and note down the id you assign to your button mash event. Then, use the Plugin Command "Start" to start a button mash. Provide the id to your plugin command, and it will start that id's button mash event.
After the button mash ends, the result will be stored in the result variable for use in eventing. The event commands will pick up after the plugin command.
Customization
Customize the button mash event by choosing the color of the bar, any text that appears on it with options for left/right/center text, a flashing icon for the key/button to press, difficulty of the button mash, different settings for gamepad vs keyboard users, and more. Future updates will continue to expand how flexible the button mash is.
Prefill
You can provide the player with a bit of a boost through your events so they are more likely to complete the button mash event by setting a portion of it to start filled. You could reward your player with an item that makes a button mash easier to complete, for example.
Sound Effect
You can play a sound effect when the player presses a button, and you can make it increase/decrease in pitch/pan/volume as the player fills the progress bar. This can be used to play a sound effect that progressively gets higher in pitch as the player gets closer to completing the button mash event, for example.
Roadmap
Below is a list of things planned to be added via future updates, in no particular order.
- Make the button mash work in battle
- Allow infinite time with a cancel button if too hard for player
- Touch UI support
- Statistics tracking for things like events passed / attempted, etc.
- Variances for button mash settings
Do you have any ideas you'd like to see added to the plugin not already listed above? Let me know in the comments or in my Discord's #suggestion channel! I appreciate all suggestions I get and add them all to my to-do list.
PLEASE READ BEFORE PURCHASING:
Please be aware that you can access this as well as all of my other Alpha plugins for $5 on my Patreon: https://www.patreon.com/CasperGamingRPGM
This is posted to Itch.io since some people only use Itch and are not aware my Patreon and all of my beta/alpha plugins exist, or want to have everything in one convenient location (itch.io), or do not want to do a monthly subscription.
Casper Gaming's Beta/Alpha plugins are treated as an "early access" and will eventually be free for everyone once they are fully released, though this process can take months/years. By purchasing in beta/alpha, you are able to provide early feedback/suggestions which are more likely to make it into the final fully released plugin.
Requirements and Terms
This plugin is for RPG Maker MZ only. The code is not obfuscated.
Please see terms of use here: Terms of Use
Requires CGMZ Core plugin: CGMZ Core
Happy RPG Making!
Updated | 23 days ago |
Status | In development |
Category | Tool |
Author | Casper Gaming |
Made with | RPG Maker |
Tags | RPG Maker |
Average session | A few minutes |
Languages | English |
Inputs | Keyboard, Mouse, Xbox controller, Gamepad (any), Touchscreen, Playstation controller |
Links | Homepage, Discord, Patreon, YouTube |
Purchase
In order to download this plugin you must purchase it at or above the minimum price of $5 USD. You will get access to the following files:
Development log
- Version Alpha R2 Release Notes23 days ago
Comments
Log in with itch.io to leave a comment.
OMG! Just what I was looking for !! Two questions..
-Can we change the color of the green bar? Or maybe have it as 2 different gradients.. ?
-Can we use a picture as the background instead of the Window?
The two questions above would make this perfect for anyone for making their button mashing look unique to their game.
Hi,
1) Yes the color (actually 2 colors because it is a gradient) is an option when setting up each button mash event. So you can have different colors for different button mash events.
2) You cannot use a picture as the background with the plugin, but you could set the window to be transparent type and show a picture where the button mash window would be. It might be a bit difficult to line up, I can look to add a picture as an option in a future update. You can also change the window's windowskin, back opacity, tone, and padding but those settings currently affect all button mash events.
Also while testing this I noticed that I forgot to hook the background type parameter up 😅you can add this code into the js file to get the background type parameter to work:
Cool, thanks! i've bought the add-on, but not used it yet but have plans for it for various things.
I'll wait for now any hows to download and use so no doubt you'll update the script and add in the extra code below 'cos it seems it's meant to be there any way. Thanks for the answers too. :)
Fantastic.
I am glad you like it 😁