Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Lt. Smash on Fri 01/08/2008 19:48:07

Title: HowTo: user input with special chars (é,ä,ß,...)
Post by: Lt. Smash on Fri 01/08/2008 19:48:07
hey everyone!

I have a simple question:
I want to make a userinput box where I can write in text with special characters (ascii  128-256).
The behavior of normal textboxes is that they don't allow me to write f.e. "Straße" (german for 'street').
So how can I code that?
Does AGS recognize key presses from ascii >128 at all? If not this would be a suggestion for a future version.

ty for helpful answers.
Title: Re: HowTo: user input with special chars (é,ä,ß,...)
Post by: JpSoft on Sat 02/08/2008 15:22:35
I had this same trouble in a game im working right now, and what i did was developed a little module to allow read the keyboard properly (I needed many spanish characters, like ñ,é,í...) The module works perfect and actually allows some things AGS do not support when using textboxes or text inputs.

I will make it public, but im still working in other games and modules and i dont know when it will be released. You can read some details here.

http://www.adventuregamestudio.co.uk/yabb/index.php?topic=35167.0

Jp