pwisaguacate wrote:
You
could disable the keymapping, but then clicking without the mouse will be removed, so I don't recommend this way:
Code: Select all
init:
$ config.keymap['dismiss'].remove('K_RETURN')
$ config.keymap['dismiss'].remove('K_SPACE')
Hi! For my "learn Ren'py" game The Reckoning, I have disabled the keymap so that the only way to move forward is to click either a continue button or an interrupt button. But here you are saying that that may not be so good of a strategy because people without a mouse would have problems. Are there lots of people without mice?
If it really is a problem not to have a keyboard option...this leads to a question. How do I selectively turn on or off the keymap during the course of the game?
The way my game works is that sometimes you can click continue.
But other times, when the barber is talking slowly...the continue button is disabled...and an Interrupt button is enabled. If you want to skip forward without reading what he has to say in order to save time (the game has a time pressure) you can only click the interrupt button (which has game consequences). *After* the barber has finished speaking, the interrupt button is disabled and the continue button is enabled again.
Right now, this game mechanic works perfectly--I'm really happy with it and proud of myself for getting the callback coding to work...but again, no keyboard control options.
So...if it is really important to add keyboard control back into the game, how do I selectively turn it on and off? I also imagine I should make the "I" key the interrupt key...so how do I make sure that is only a valid thing to press while the barber is talking?
Because the main thing is, that while the barber is slow talking and the clock gets closer to the deadline...I don't want the player to be able to skip the barber's text without having to trigger the interrupt consequences.
A Close Shave:
*Last Thing Done (Aug 17): Finished coding emotions and camera for 4/10 main labels.
*Currently Doing: Coding of emotions and camera for the labels--On 5/10
*First Next thing to do: Code in all CG and special animation stuff
*Next Next thing to do: Set up film animation
*Other Thing to Do: Do SFX and Score (maybe think about eye blinks?)
Check out My Clock Cookbook Recipe:
http://lemmasoft.renai.us/forums/viewto ... 51&t=21978