Display a string on the screen

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Evil Mr Sock
Posts: 37
Joined: Fri Jul 02, 2004 5:36 pm
Location: Albany, NY
Contact:

Display a string on the screen

Post by Evil Mr Sock »

How do I draw a string?

I've got
char Test_Buffer [255],
and it holds
"I am a test."

font->draw ()
takes a const unsigned short * as its first parameter. How do I get it to draw my string?
------------------------------------------
A monkey poured coffee in my boots.
------------------------------------------
grunt
Posts: 96
Joined: Tue Aug 17, 2004 9:14 pm
Contact:

Post by grunt »

char test[255]
grunt
Posts: 96
Joined: Tue Aug 17, 2004 9:14 pm
Contact:

Post by grunt »

oops

sorry for the previous post

i think it would be something like:

font->test.draw()

i am a noob as well, so.
Post Reply