Changing the fonts

Started by , Wed 21/01/2004 09:25:24

Previous topic - Next topic

Whatever

Ah, how do you change what font the game uses? I've got heaps of fonts but I don't know how to change the default.

Darth Mandarb

:: FROM THE HELP FILE ::

Fonts

Adventure Game Studio allows you to replace the default font and to add your own. You can use both TrueType (TTF) and SCI fonts (Sierra's font format). SCI fonts can be created in two ways:

* Extract the font from a Sierra game, using the SCI Decoder program available on the internet.
* Create your own font and save it in SCI Font format, using the SCI Graphic Studio program.

There are also some fonts available on the AGS website.

Note that SCI fonts are faster to render than TTF fonts, and so may give your game a speed advantage. It's preferable to use a SCI font if you can.

Go to the "Fonts" pane. Here you can see all the current fonts by using the list on the left. You can create a new font slot by clicking the "New font" button. To import your font into the current slot, click the "Import font" button.

Fonts can have outlines. For lucasarts-style speech, outlines are really a necessity since they stop the text blending into the background and becoming un-readable. To outline a font, either click the "Automatic outline" radio button to have AGS do it for you, or you can use a specific font slot as the outline font (it will be drawn in black behind the main font when the main font is used).

NOTE: If you go to your Windows Fonts folder, you will not be able to select any fonts to import, since double-clicking them will open them up in the Windows Font Viewer. Unfortunately there is nothing I can do about this, you must either type the filename in manually, or copy the font to another folder and import it from there.

NOTE: Font 0 is used as the normal text font, and font 1 is used as the speech font. To use any additional fonts, the text script functions SetNormalFont and SetSpeechFont can be used at runtime.

-------------------------------------------------------

Pretty much says it all.  I recommend using SCI Studio, it's easy to make your own fonts with that program!

Good luck.

])]V[

Ishmael

Go to the fonts pane, select the font 0 and click "Import". Then go to the font you wish to use, select it, and - if it is  TTF font - import it's font size.
I used to make games but then I took an IRC in the knee.

<Calin> Ishmael looks awesome all the time
\( Ö)/ ¬(Ö ) | Ja minähän en keskellä kirkasta päivää lähden minnekään juoksentelemaan ilman housuja.

SMF spam blocked by CleanTalk