About Store Forum Documentation Contact



Post Reply 
Massacre font issue
Author Message
ghreef Offline
Member

Post: #1
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
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
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
Find all posts by this user Quote this message in a reply
ghreef Offline
Member

Post: #3
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
Find all posts by this user Quote this message in a reply
ghreef Offline
Member

Post: #4
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
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #5
RE: Massacre font issue
find file in tutorials folder with name containing "font"
10-05-2010 01:23 PM
Find all posts by this user Quote this message in a reply
Dynad Offline
Member

Post: #6
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
Visit this user's website Find all posts by this user Quote this message in a reply
ghreef Offline
Member

Post: #7
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
Find all posts by this user Quote this message in a reply
Post Reply