Hi all, introducing [CGMZ] Idle!

Idle mechanics

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. 

Example

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

Manual Idle Control

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.

User Suggestions

Casper Gaming plugins are able to cover things everyone wants because of user suggestions from people like you. This plugin already has quite a few features, but if you have any ideas to keep improving it I would love to hear your ideas. You can leave your suggestions below or in my discord under the #suggestions channel. I add all suggestions to my to-do list.

Quick Facts

✅ RPG Maker MZ
✅ No obfuscation
✅ All future updates included
✅ No AI used at any point in the creation of this plugin

Support

Casper Gaming provides quick support to any user who needs it. You can leave a comment below with your question or issue, I try to check my itch.io at least once a day. For even quicker support, you can come into the Casper Gaming Discord and ask for help in the #support channel.

Credit & Requirements

Please see terms of use here: Terms of Use

Requires CGMZ Core plugin: CGMZ Core

Happy RPG Making!


Updated 21 hours ago
StatusReleased
CategoryTool
PlatformsHTML5, Windows, macOS, Android
Rating
Rated 5.0 out of 5 stars
(2 total ratings)
AuthorCasper Gaming
Made withRPG Maker
Tagscasper-gaming, cgmz, mz, No AI, RPG Maker, RPG Maker MZ
Average sessionA few minutes
LanguagesEnglish
InputsKeyboard, Mouse, Xbox controller, Gamepad (any), Touchscreen, Playstation controller
LinksHomepage, Community, Patreon, YouTube

Download

Download NowName your own price

Click download now to get access to the following files:

IdleDemo.zip 5.5 MB
CGMZ-Idle.zip 3.5 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.