So i created a string like so:
Code: Select all
stringw objectiveText("Press 'Left Click' To fire.\n"
"Kill 5 enemy's to proceed.\n"
"Press 'E' to activate the teleportation sphere.\n"
"Press 'Escape' to quit.");
Code: Select all
const wchar_t * wide = objectiveText.c_str();
if(drawObjective == true)
{
font->draw(wide,
core::rect<s32>(125,10,200, 200),
SColor(255,1,1,255));
}
Also, how would i go about display a int in a wchar_t? as im assuing "%d" wont work with this either.. This is so i can display something like "score: 5"
Thanks