onyxbits / TextFiction

Z-Machine interpreter for Android
https://textfiction.onyxbits.de
Apache License 2.0
71 stars 28 forks source link

Icons that respect what is already written #8

Closed ghost closed 10 years ago

ghost commented 10 years ago

Steps to reproduce:

  1. Type "about"
  2. Assign "about" to an icon
  3. Type "ask (character name)"
  4. Tap the "About" icon

Instead of the word "about" being added to the end of the already written command, it replaces it.

It's not a bug, I understand the reason for icons replacing what is already written, but it means that it's impossible to have shortcuts for middle words in complex commands like "ask (character) about (subject)". That forces me to write, which is inconvenient in a tablet (the keyboard takes some time to appear, it displaces parts of the game screen, I play IF in English but my keyboard is configured for a different language, and it breaks the flow of simply tapping the screen and reading that makes Text Fiction so enjoyable for me).

What I would like is having an option when I configure an icon shortcut to either add that word to what is already written, or the current behaviour.

Thanks!

onyxbits commented 10 years ago

I think, i gave this a thought when I implemented the mechanismn. I originally wanted Verb, Subject and Objects, but I think, I dropped the idea because it turned out to be too difficult to setup for the average user and wouldn't work too well with subject-verb-order-doesn't-matter (you can either press the icon or a word in the bubble first) feature. I'm pretty insistant on being able to enter the subject/verb combo in whatever order pleases me.

A workaround to your problem would be to assign a phrase, containing all those filler words, to a button with immediate excecution. Whenever you need such a word, hit the button, then copy the required word back to your commandline from the right bubble.

ghost commented 10 years ago

The workaround is actually a very simple solution that I hadn't thought. Thanks!