Splash screen on program startup

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
grantkrieger
Posts: 25
Joined: Fri Jul 27, 2007 10:02 am

Splash screen on program startup

Post by grantkrieger »

Hello,

Is there anyway of displaying a splash screen or displaying like a message that says loading... whilst I startup my irrlicht program. I am loading like 6000 models which takes some time. I dont want my user/Player just seeing a dos startup LOADING screen.
deesine
Posts: 104
Joined: Fri May 12, 2006 9:19 am

Post by deesine »

belfegor
Posts: 383
Joined: Mon Sep 18, 2006 7:22 pm
Location: Serbia

Post by belfegor »

And youll need something like:

Code: Select all

gui = device->getGUIEnvironment();
text = gui->addStText(...);

IAnimMesh* mesh1 = smgr->getMesh("mesh1.3ds");

do
{
    driver->beginScene(...);
    text->setText(L"Loading meshes 1%");
    gui->drawAll();
    driver->endScene();
}while(false);



IAnimMesh* mesh2 = smgr->getMesh("mesh2.3ds");

do
{
    driver->beginScene(...);
    text->setText(L"Loading meshes 2%");
    gui->drawAll();
    driver->endScene();
}while(false);

...

IAnimMesh* mesh6000 = smgr->getMesh("mesh6000.3ds");

do
{
    driver->beginScene(...);
    text->setText(L"Loading meshes 100%");
    gui->drawAll();
    driver->endScene();
}while(false);
and at same time update progress bar

didnt try it but might work.
Small FPS demo made using Irrlicht&NewtonDEMO
InfoHERE
Its at very early stage but i think im crazy enough to finish it all alone.
Post Reply