I searched online and on this forum so if this was asked and answered I am clearly in need of an eye check up heheh.
I want to know if there is a way I can have my game check to see if an input is being quickly spammed.
For context, I use nearly all of Yanfly Engine Plugins, a few Hime Plugins, and a few Galv Plugins. For this mechanic, I am using Yanfly Picture Common Events and HIME Toggleable States Plugins.
I have a game mechanic where the player can swap gender presentations at will via a button on the hud. It flashes the screen, plays an animation and swaps the Sprites, Faces, and Battlers of the main character.
I was playtesting my game with a friend, and my friend jokingly wanted me to spam the button to have it swap over and over and over, which is hilarious because it felt like we were playing a game of gender roulette, which is totally fine, but I had the idea of having the game check to see if this was happening and drop an easter egg of the main character complaining about having to swap so quickly one after another.
Is there a way to do this? I specifically want to check for quick spamming of the button, not the action of it turning on and off.
Thanks so much!
~NyallWynn
Plugins:
HIME Toggleable State: https://himeworks.com/2015/11/toggle-able-states/
YEP: Picture Common Events: http://www.yanfly.moe/wiki/Picture_Common_Events_(YEP)
I want to know if there is a way I can have my game check to see if an input is being quickly spammed.
For context, I use nearly all of Yanfly Engine Plugins, a few Hime Plugins, and a few Galv Plugins. For this mechanic, I am using Yanfly Picture Common Events and HIME Toggleable States Plugins.
I have a game mechanic where the player can swap gender presentations at will via a button on the hud. It flashes the screen, plays an animation and swaps the Sprites, Faces, and Battlers of the main character.
I was playtesting my game with a friend, and my friend jokingly wanted me to spam the button to have it swap over and over and over, which is hilarious because it felt like we were playing a game of gender roulette, which is totally fine, but I had the idea of having the game check to see if this was happening and drop an easter egg of the main character complaining about having to swap so quickly one after another.
Is there a way to do this? I specifically want to check for quick spamming of the button, not the action of it turning on and off.
Thanks so much!
~NyallWynn
Plugins:
HIME Toggleable State: https://himeworks.com/2015/11/toggle-able-states/
YEP: Picture Common Events: http://www.yanfly.moe/wiki/Picture_Common_Events_(YEP)