Disable keyboard press

jaypee

hobbyist
Veteran
Joined
Mar 13, 2012
Messages
160
Reaction score
28
First Language
english
Hi guys I have recently finished creating an Opening Introduction and I want to disable the keyboard press command while it is playing is there a way to do it within events or will it need a js script? thanks in advance.
 
Last edited by a moderator:

bgillisp

Global Moderators
Global Mod
Joined
Jul 2, 2014
Messages
13,522
Reaction score
14,255
First Language
English
Primarily Uses
RMVXA
Why would you want to disable the keyboard? Without it, how is the player to advance the text?


If the issue is the player can move, that is because you used a parallel process instead of an autorun. if the issue is you want the text to be advanced at x speed, use the message codes to make it wait for 1 second (repeat it as many seconds as you need), then the code to not wait for input.
 

jaypee

hobbyist
Veteran
Joined
Mar 13, 2012
Messages
160
Reaction score
28
First Language
english
Why would you want to disable the keyboard? Without it, how is the player to advance the text?


If the issue is the player can move, that is because you used a parallel process instead of an autorun. if the issue is you want the text to be advanced at x speed, use the message codes to make it wait for 1 second (repeat it as many seconds as you need), then the code to not wait for input.


I tried using the message code /^/^/| but I do notice once the player press hold the space bar or enter key it speeds up the process I just want to disable the spacebar or enter key temporarily.
 

bgillisp

Global Moderators
Global Mod
Joined
Jul 2, 2014
Messages
13,522
Reaction score
14,255
First Language
English
Primarily Uses
RMVXA
Hmmm...I thought that didn't happen except if you were waiting for text. See if you have a plug in that might be doing that. Maybe you can turn it off short term in that plug in?


Otherwise...I'm out of ideas and you'll need the plug in you requested.
 

EternalShadow

Veteran
Veteran
Joined
Sep 16, 2012
Messages
5,781
Reaction score
1,041
First Language
English
Primarily Uses
If he was using a specifically-timed event (like I did in Ace) he will want the keyboard disabler to prevent the user interrupting or speeding up something that is set to happen at a specific time/speed.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,867
Messages
1,017,061
Members
137,575
Latest member
akekaphol101
Top