ghreef
Member
|
Massacre font issue
I'm playing around with the BM code and can't seem to replace the font type. I copied a font over from the Windows font folder into the C: ... \Bloody Massacre\Data\Font folder and named it newfont.ttf.
Then I went into the main.cpp file and made the change:
static void InitGui()
{
FontDefault.load("font/newfont.ttf");
Text_ds.scale*=1.2;
Text_ds.color =Color(170,0,0)
why isn't this working? no fonts show up.
|
|
10-04-2010 08:08 PM |
|
Esenthel
Administrator
|
RE: Massacre font issue
EE fonts are not TTF, you need to create them using EE functions, there's tutorial for that
|
|
10-04-2010 08:36 PM |
|
ghreef
Member
|
RE: Massacre font issue
Thanks. I'll look into that. I was looking for it in the converter tool. I'll check out functions. Thank.
|
|
10-05-2010 03:05 AM |
|
ghreef
Member
|
RE: Massacre font issue
Can anyone point me to that tut? I've been looking for it all morning.
|
|
10-05-2010 12:23 PM |
|
Esenthel
Administrator
|
RE: Massacre font issue
find file in tutorials folder with name containing "font"
|
|
10-05-2010 01:23 PM |
|
Dynad
Member
|
RE: Massacre font issue
Well there is a tut in the source map.
i guess your looking for this: Source\Advanced\1 - Geometry, Graphics, Gui, Misc, Net, Sound\Graphics\font make.cpp?
~Dynad
There is always evil somewhere, you just have to look for it properly.
|
|
10-05-2010 01:25 PM |
|
ghreef
Member
|
RE: Massacre font issue
lol - I was looking online as if it was a tut tied to the tools. That would explain why I couldn't find it!
|
|
10-05-2010 07:07 PM |
|