Text Modifiers

In Jazz Jackrabbit 2, the layout of in-game text can be modified in several ways, by using special characters. The known ones are listed here.

Text colours

Colour key

# All text after this character becomes coloured. The colour is alternated every other character, following the sequence shown under “colour key”. Note that this only works for text strings added to a level in JCS.
| The pipe character is used to change the colour of the text coming behind it. Usually, one pipe makes the text coming after it attain the colour that comes next in the sequence; for example, if the text before the pipe is red, the text after the pipe will be blue. In the level text strings only, the same effect can be gotten using any other character that does not exist in the JJ2 font.

Extension Factor

ยง The paragraph sign can be used to influence the spacing of text. The text spacing can be modified by putting the paragraph sign, followed by the spacing factor in front of the text that has to be modified. The spacing factor is indicated by the character with the same ASCII index number matching the desired value, for example the character “1” has ascii value 49. Valid values range from 1 to 255. The default spacing is 48; any number less than 48 will increase the text spacing, while any number greater than 48 will decrease it. At 59, text spacing is zero (all characters appear on top of each other), and setting it to a value greater than 59 will invert the text alignment and character sequence.

New Line

|A new line will be added to the text simply by inserting the at sign. This works the same way as does pressing the enter key in most typing environments, or the
or
@ tags in (X)HTML. You can put as many at signs in a text string as you like within existing character limits, and there do not have to be any other characters between one at sign and the next. The entire text display will be centered on the screen according to the width of the longest line (text between two at signs or ends of the string), and all the text will be left-justified.