Page 1 of 1

Stupid question about the font from a newbie.

Posted: Fri Feb 12, 2010 11:51 am
by IxIoN
Well now, stupid question XP. I have followed some tutorials in main website but I still can't get my game to show another font. Well now maybe the tutorial I used was a wrong one, so I need to know exactly what to do. Thx in advance.

Re: Stupid question about the font from a newbie.

Posted: Fri Feb 12, 2010 11:53 am
by PyTom
You need to place the font (a .ttf file, usually) into the game directory. Then you'd write:

Code: Select all

init python:
    style.default.font = "myfont.ttf"
where myfont.ttf is your font's filename.

Re: Stupid question about the font from a newbie.

Posted: Fri Feb 12, 2010 12:23 pm
by IxIoN
Well now i have another question but im not going to make another topic so here it is. is there some way to remove in options menu the voice volume option? because my game will not have voices.

edit: forget i got to do it.