i´m saving a value in a variable :
Code: Select all
s32 ponts = 15This value is increasing constantly.
I want to draw always the actual value on the screen (not in the console).
I use this to draw text:
Code: Select all
gui::IGUIFont* font = Device->getGUIEnvironment()->getBuiltInFont();
if(font)
{
font->draw(L"want to draw a value but dont know how",core::rect<s32>(130,10,300,200),
video::SColor(255,255,255,255));
I have two questions now:
How can i display the variable value?
How can i choose another size for the font?
Thanks for every help