Font help

Post your questions, suggestions and experiences regarding to Image manipulation, 3d modeling and level editing for the Irrlicht engine here.
Post Reply
peeves91
Posts: 8
Joined: Wed Jul 24, 2013 2:39 pm

Font help

Post by peeves91 »

I am trying to display a timer in a corner of my screen and i need a descent sized font, but the game's default font is way too small. Can someone please point me to a bigger font? Thanks!
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: Font help

Post by CuteAlien »

There's a font-tool (either in bin or in tools) which can be used to convert any font to a bitmap font.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
peeves91
Posts: 8
Joined: Wed Jul 24, 2013 2:39 pm

Re: Font help

Post by peeves91 »

I created a font, made a font variable in my program, but when I try to display the font, it throws an unhandled exception error.
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: Font help

Post by CuteAlien »

Needs more information - as first check look at the console output if it mentions any errors. Maybe it doesn't find the font for example.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
peeves91
Posts: 8
Joined: Wed Jul 24, 2013 2:39 pm

Re: Font help

Post by peeves91 »

Thanks! I checked the console, and it was saying it couldn't open the .bmp file, and if it was made with the font tool, to try to open the .xml. Once I did this, the fonts are opening and displaying perfectly! Thanks again! :D :D :D
Post Reply