i want to write with the font function a variable on the screen....but it doesnt work at all cause the formats dont fit...how can i do this?
Code: Select all
comicfont->draw(player->m_health, rect<s32>(5,675,128,768),SColor(0,0,0,0));
Code: Select all
comicfont->draw(player->m_health, rect<s32>(5,675,128,768),SColor(0,0,0,0));
Code: Select all
hudmgr->addTextSceneNode(font2,leben,SColor(0,0,0,0),0);
Code: Select all
comicfont->draw(stringw(player->m_health).c_str(), rect<s32>(5,675,128,768),SColor(0,0,0,0));