Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

User Input

This should be a relatively simple request (I hope), so here goes.

What I would like is for a script that checks for user input (ie, pressing up, X, enter, etc) regularly, and if X amount of time (minutes preferred) goes by WITHOUT any input, I want the menu to open and to display a message OVER the menu saying "You have been idle for X amount of time.", where X can increase for every minute that goes by. Should be able to be turned off via a switch, for cut scenes and the like. Also, it should automatically turn off while in battle. This script should also be able to check for an over-press of the same key (ie, maybe 5000 key inputs in a row?), that would also bring up the menu and the message, only this time saying "You've pressed <key> too many times in a row." If it's not possible to show the message window with the menu up, then an alternative I can think of would be to 'pause' the game and display the message, both by time passing and button presses. Or, I think I've seen this in VX before, is to have a system message come up over the entire game window, ultimately pausing the game with the respective messages.

Basically, I want this system because I have a common event that works with passing game time, and I don't want for the player to be able to just sit there and let time continuously go by for days and bask in the glory of their spoils.

Any questions, feel free to ask. Thanks in advance.

-Psiclone
 

Zeriab

Sponsor

In that case you should be able to get away with using common events and the pause script I made a while ago: http://www.rmxp.org/forums/http://dev.r ... 97#p333997
You can also use one of the different dialogs in my dialog demo: http://zeriab.plesk3.freepgs.com/index. ... Dialog.rar
Only the dialog will be processed until closed. I.e. the timer and nothing else will run.

Just say if you want the dialog to look like something else. I can customize it for you ^^
Also say if you need help with creating the common events you need.

*hugs*
- Zeriab
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top