Just thinking a little bit ahead of here. Are OHRRPGCE Android-ported games capable of key support? Like, if you have a part of your game that has a numeric lock or combination, will Android users be able to use their phone's keyboard to complete that part of the game?
Cornbread Chemist
Meatballsub wrote:
Just thinking a little bit ahead of here. Are OHRRPGCE Android-ported games capable of key support? Like, if you have a part of your game that has a numeric lock or combination, will Android users be able to use their phone's keyboard to complete that part of the game?
The phone's keyboard? I haven't seen an android phone with a physical keyboard in years... I guess they might still exist, and the OHR's android port is compatible enough to be run on really old phones, but no, I would not count on number-pad support.
There is a special command that can bring up an on-screen keyboard. I just realized that I haven't documented it in the plotscripting dictionary yet, but it does already work in current nightly builds
Code:
input string with virtual keyboard(string id, max length)
However that doesn't sound like what you want.
I think the best thing for what you describe would be a plotscript that shows a big number-pad on the screen, and lets you click on the numbers with the mouse, while simultaneously checking for numbers from the keyboard. Let me know if that is what you want, and perhaps I can be helpful in creating it.
Actually keyboard support is making a come back. My droid 4 has a full keyboard that slides out from behind the screen. Seen here in this sample image:
There are also things like this, on sale in stores now, with more to come.
And to answer the question, android keyboards function just fine. I'm even able to play Tim-Tim on them. Even though, it is a bit hard to play with those tiny keys. Also, since each phone is set up differently I can't be sure that all phones would work the same. I don't know enough about phone standardization to really answer this definitively.
There are also things like this, on sale in stores now, with more to come.
And to answer the question, android keyboards function just fine. I'm even able to play Tim-Tim on them. Even though, it is a bit hard to play with those tiny keys. Also, since each phone is set up differently I can't be sure that all phones would work the same. I don't know enough about phone standardization to really answer this definitively.
Thanks for the info. I meant on-screen keyboard as opposed to a physical, built-in one though. Either way, I think I've decided to re-design the event that requires keyboard support. I only use the feature once in the entire game, so it doesn't make a whole lot of sense to code for an on-screen "keyboard" when I can just use a different method for now.
Cornbread Chemist
Cornbread Chemist



