I am thinking of creating a game in Hebrew and for this I need the Dialog window to display the text in a right to left direction. Is that possible?
How can I change the way the Dialog Window displays the text?
In the "Game Editor" (left side of the screen) go to "General Settings" then "Text Output" and select "Write game text backwards(hebrew style)".
I've never used it but it should be what you're looking for. ;)
Well, id does seem to reverse all the text, meaning the text "Mishel" would turn up "leshiM" in both the dialog window and speech, but the text is still aligned to the left in the dialog window.
Any more clues?
Is it possible to make a gui element for the dialog window and control how the text is shown there?
So it's just the alignment of the text that's the problem?
Hidden away (http://www.adventuregamestudio.co.uk/manual/Globalvariables.htm) in the manual:
Quote
game.text_align
Sets how text in message boxes and Sierra-style speech is aligned:
eAlignLeft: text aligned to left within message box (default)
eAlignCentre: text is centred within the message box
eAlignRight: text is right-aligned within the message box
These options do not affect Lucasarts-style speech, which is always centred.
Perhaps setting
game.text_align = eAlignRight; in
game_start would do the trick?
Otherwise I'm not sure - you CAN set the GUI dialogues use (the 'Dialog options on GUI' setting), but I don't think you can control it's alignment, only the offset (
game.dialog_options_x/y, on the page I linked).
I tried it and it did't quite work.
But I am probably missing something since I still don't quite know what the different Speech Modes do and how to work with them.
They all end up exactly the same when I try them.
But this global variable does seem to be the thing I am looking for, if I could only make it work :-)
Thanks,
Mishel.