It has an image in the background, but when I try to load my image
it won't work I get this error on the console window
Code: Select all
Cannot load file .../.../.../Pingy3,/gui/bkg.bmp
Code: Select all
guienv->addStaticText(L"Welcome to Pingy world!!!",
rect<int>(5,4,250,25), true);
//add the buttons
guienv->addButton(rect<s32>(25,210,150,240), 0, 101, L"Play.");
guienv->addButton(rect<s32>(25,250,150,280), 0, 102, L"How to play.");
guienv->addButton(rect<s32>(25,290,150,320), 0, 103, L"Quit...");
//add an image
guienv->addImage(driver->getTexture(".../.../.../.../pingy3,/gui/bkg.bmp"),
position2d<int>(10,10));
Code: Select all
driver->getTexture
directory thing different?.
Thanks.