Graphics, Characters, Text & Rooms: Difference between revisions

→‎Displaying the left bracket ("[") in speech/messages: the original info was NOT wrong, \[ is possible only with V2.7+
(→‎Displaying the left bracket ("[") in speech/messages: the original info was NOT wrong, \[ is possible only with V2.7+)
Line 150: Line 150:
''How do I display the left bracket ( [ )? Do I have to encapsulate this character or use some other special characters to show it?'''
''How do I display the left bracket ( [ )? Do I have to encapsulate this character or use some other special characters to show it?'''


Simply precede the [ with a backslash: \[. For more on "escaping" characters, see [[String formatting]]
If you're using AGS V2.62 or earlier, it's not possible, we're afraid. Since "[" is used to add a line break, you can't normally display the left bracket symbol. You must sacrifice one of your characters in that font to use as a left bracket.
 
If you're using AGS V2.7 and above, simply precede the [ with a backslash: \[. For more on "escaping" characters, see [[String formatting]]


==Having multiple characters in your game==
==Having multiple characters in your game==