A downloadable plugin

Buy Now$5.00 USD or more

Hi all,

This plugin allows you to define a set amount of frames before the player is considered idle. Frames are counted from the last frame the player made any type of input. After entering Idle state, the plugin will automatically turn a switch ON and begin incrementing a variable by 1 every frame. Once the player resumes playing and sends inputs to the game, the idle status will be cleared and the switch/variable will be reset to OFF or 0.

This will allow you to event what occurs when the player is idle, such as causing the player's sprite to slowly change to a sleeping sprite or doing some other action after turning idle. 

One example is how this could be used is to show a balloon icon over the player's head when idle:

Should you not want to use the automatic switch or variable, there also exist plugin commands to turn a switch ON/OFF by idle status and set a variable to how many frames the player has been idle.

You can also have a common event run when entering/leaving the idle state.

Want additional features not already present? Leave your suggestions below or in my discord under the #suggestions channel!

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.

Please see terms of use here: Terms of Use

Requires CGMZ Core plugin: CGMZ Core

Happy RPG Making!

Purchase

Buy Now$5.00 USD or more

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:

CGMZ_Idle.zip 3 kB

Development log

Comments

Log in with itch.io to leave a comment.

Does this acknowledge the player being in dialogue or will it play the idle animation as well if the player is not moving and is in dialogue?

(2 edits)

Hi, currently it does not matter what is happening on screen, the plugin only checks if the player hasn't moved the mouse, touched the screen, pressed the mouse buttons, pressed a key, pressed a controller button, moved the controller joystick, etc. for however long you set up in the plugin parameters, and then triggers the idle state.

I could add a plugin command to enable/disable the idle state from being entered in a future update, for things like cutscenes, thanks for the idea.

Hi, just replying again to let you know that you can now disable/enable idle by a plugin command.