[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Adonthell-devel] GUI question
From: |
James Nash |
Subject: |
Re: [Adonthell-devel] GUI question |
Date: |
Fri, 15 Oct 2010 22:55:56 +0100 |
Can we have multiple keys / buttons point to the same action? If so perhaps we
could reserve the arrow keys (and I suppose D-pad on a controller) to always do
directions and not be re-configurable. That way, even if players have also
assigned other buttons to duplicate the arrow keys (e.g. WSAD) we can override
that in special cases like a text field and use the letter keys for typing.
Since the arrow keys are reserved they're still able to navigate around the
text field then.
- James
On 15 Oct 2010, at 21:50, Kai Sterker wrote:
> On Fri, Oct 15, 2010 at 10:22 PM, Rian Shelley <address@hidden> wrote:
>
>> That was my intention when i wrote the code. I specifically designed
>> it so that you could feed the base object the keystrokes. I never
>> quite got to wondering what to do with the text fields because i
>> figured they would be rare in the actual game play.
>
> I guess so. The one that springs to mind is the character name, and
> that could be set to a default, as was the case with Waste's Edge.
> Other instances might be naming of save games, annotations on a map or
> in a log book. None of which are really critical for gameplay, so we
> may not have to worry much about people without keyboard.
>
>
>> It would probably be fairly easy to create a new gui object that has a
>> button for every letter in the alphabet, and then feeding those
>> characters to whatever child object you want. The only gotcha would be
>> generating it for an arbitrary charset.
>
> Might be enough to start with ASCII. But you'd need some way to
> trigger it only when needed, maybe a flag in the configuration / game
> options.
>
>
> But yeah, I guess the input for the GUI needs to stay the way it is
> right now. I can add gamepad support (and possibly use the control
> event configuration to properly map the directional buttons and the
> space and escape actions). But there's no point in allowing to remap
> the keyboard controls for controlling the GUI.
>
> Kai
>
> _______________________________________________
> Adonthell-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/adonthell-devel
- [Adonthell-devel] GUI question, Kai Sterker, 2010/10/15
- Re: [Adonthell-devel] GUI question, Rian Shelley, 2010/10/15
- Re: [Adonthell-devel] GUI question, Kai Sterker, 2010/10/15
- Re: [Adonthell-devel] GUI question,
James Nash <=
- Re: [Adonthell-devel] GUI question, Kai Sterker, 2010/10/16
- Re: [Adonthell-devel] GUI question, Josh Glover, 2010/10/17
- Re: [Adonthell-devel] GUI question, Kai Sterker, 2010/10/17
- Re: [Adonthell-devel] GUI question, Kai Sterker, 2010/10/17
- Re: [Adonthell-devel] GUI question, Kai Sterker, 2010/10/17
- Re: [Adonthell-devel] GUI question, Josh Glover, 2010/10/17
- Re: [Adonthell-devel] GUI question, Josh Glover, 2010/10/20
- Message not available
- Message not available
- Message not available
- Re: [Adonthell-devel] GUI question, Josh Glover, 2010/10/22
- Message not available
- Message not available
- Message not available
- Re: [Adonthell-devel] GUI question, Josh Glover, 2010/10/24
- Re: [Adonthell-devel] GUI question, Kai Sterker, 2010/10/24