Hi everyone...I'm changing my tune now since I just can't seem to do node interpolation, but I have some know-how in that now, and anything related to that will just be general code questions. I have a few methods to experiment with.
Here is my new problem: I want to build a GUI for my game, but Fonts won't show. I even tried copying and pasting the code from the example given by Niko. Code below:
int main()
{
*Include files, classes, sceneManager/mesh stuff*
gui::IGUIFont* font = device->getGUIEnvironment()->getFont("Font_Arial16.bmp");
driver->setTextureCreationFlag(video::ETCF_ALWAYS_32_BIT, true);
*more game code*
while(device->run())
{
if (device->isWindowActive())
{
driver->beginScene(true, true, 0);
//draw some text
if (font)
font->draw(L"This is some text.",
core::rect<s32>(130, 10, 400,50), video::SColor(255,255,255,255));
*end int main()*
The program compiles perfectly, the console window says 'Font_Arial16.bmp loaded', but I have no idea why it's not appearing onscreen. I can get pictures to appear very easily, but no letters. Any tips?